{{ progressPercent }}%
  • {{ q.id }}. {{ q.text }}
{{ resultText.title }}
{{ resultText.badgePrefix }} {{ totalScore }} – {{ severityName }}

{{ resultText.answersHeading }}
# {{ resultText.questionCol }} {{ resultText.answerCol }}
{{ a.id }} {{ a.text }} {{ a.answer }}

Introduction:

Depression symptoms are summarized with a nine item patient questionnaire that reflects how often common experiences have occurred over the past two weeks. Many people look for a PHQ 9 score calculator to turn those answers into an easy result that supports a clearer conversation about next steps.

You mark how often each item applied to you and then read a single number with a plain language band that describes overall severity. A short profile also highlights where symptoms cluster so changes over time are easier to notice and discuss.

As one example, a total of 12 usually sits in the middle range, so planning a talk with a clinician and considering a brief course of therapy may be useful. Repeating the check after a steady routine can show whether things are easing or building.

Item nine asks about thoughts of being better off dead or self harm. If you feel unsafe or at risk, seek urgent help in your area now.

For consistent results answer every item, use the same two week window each time, and try to complete the check at a similar time of day. Most people finish in under two minutes, and your responses stay on this device. This tool provides informational estimates and does not substitute professional advice.

Technical Details:

The Patient Health Questionnaire with nine items (PHQ‑9) measures perceived frequency of depressive symptoms over a recent two week period. Each item is scored on four ordered choices from “Not at all” to “Nearly every day”, represented numerically as integers 0 to 3.

The primary result is the total score, the sum of all nine item scores. To add interpretive context, three subscores are derived: a Core pair that focuses on interest and mood, a Somatic cluster covering sleep, energy, appetite, and psychomotor change, and a Cognitive or affective pair addressing self‑evaluation and concentration. Item nine is also surfaced as a safety indicator using its plain‑language frequency.

Results are grouped into bands that run from “Minimal” through “Severe”. Crossing a boundary signals a meaningful shift in symptom burden; values close to an edge should be read with caution and compared to what is typical for the same person.

Comparisons are most valid when the same person answers against the same two week window with similar conditions. Scores are a screen rather than a diagnosis and should be interpreted alongside clinical judgment and context.

S = i=1 9 si C_core = s1+s2 S_somatic = s3+ s4+ s5+ s8 C_cognitive = s6+s7
Symbols and units used in the calculation
Symbol Meaning Unit/Datatype Source
s1..9 Item scores 1 to 9 integer 0–3 Input
S Total score integer 0–27 Derived
Ccore Core subscore (interest + mood) integer 0–6 Derived
Ssomatic Somatic subscore (sleep, energy, appetite, psychomotor) integer 0–12 Derived
Ccognitive Cognitive/affective subscore (self‑view, concentration) integer 0–6 Derived
I9 Item nine safety indicator integer 0–3 Input
Worked example. Suppose the nine item scores are 2, 1, 3, 2, 1, 0, 1, 2, 0.
S=12 C_core=3 S_somatic=8 C_cognitive=1 I_9=0
A total of 12 falls in the “Moderate” band; the somatic cluster is the most pronounced in this example while item nine indicates no current self‑harm frequency.
PHQ‑9 interpretation bands
Threshold Band Lower Bound Upper Bound Interpretation Action Cue
Minimal 0 4 Few or no symptoms reported Maintain healthy routines
Mild 5 9 Light burden with some impact Self‑help and monitor
Moderate 10 14 Clear burden affecting function Discuss treatment options
Moderately Severe 15 19 Marked burden and impairment Active treatment recommended
Severe 20 27 Very high burden Seek urgent professional help

Units, precision, and rounding

Integer scoring only with a fixed scale of 0–3 per item and 0–27 total. No rounding occurs. Decimal separators are not used. Identical inputs always yield identical outputs.

Validation and bounds extracted from code

Field validation and bounds
Field Type Min Max Step/Pattern Error Text Placeholder/Default
Item response integer (radio) 0 3 four fixed choices n/a (must answer all)
Encoded answers r string 9 chars 9 chars ^[0-3\-]{9}$ invalid codes ignored ---------

I/O formats

Input and output formats
Input Accepted Families Output Encoding/Precision Rounding
Nine frequency selections Not at all, Several days, More than half the days, Nearly every day Total score, band label, subscores, safety indicator Integers; optional URL param r with 9 chars (0–3 or ‘-’) None

Networking & storage behavior

Processing is browser‑based; responses are kept on the device and not uploaded. An optional query parameter encodes answers for the current session view only.

Assumptions & limitations

  • Screening instrument; not a diagnosis.
  • Two week recall window influences answers.
  • Self‑report may be biased by context or mood.
  • Subscore groupings aid interpretation but are not clinical scales.
  • All items contribute equally to the total.
  • Band edges do not represent strict clinical thresholds.
  • Profile labels require a two‑point gap between clusters.
  • Results require complete responses to all nine items.
  • Chart display is optional; the numeric result is authoritative.
  • Safety indicator mirrors the exact item nine choice.

Edge cases & error sources

  • Invalid r strings are ignored and not applied.
  • Non‑digit characters in r are rejected by pattern checks.
  • Wrong length r values are ignored.
  • Partial answers do not produce a result view.
  • Decimals are not accepted; only integers 0–3 per item.
  • Whitespace or URL‑encoded artifacts may invalidate r.
  • Disabling JavaScript prevents visual gauges from rendering.
  • Very old browsers may render math or tables with reduced polish.
  • Accidental double‑clicks can change a selection; verify before finishing.
  • Reading conditions (fatigue, time of day) can shift responses.
  • Near a band boundary, small input changes may switch labels.
  • Copying r between people breaks comparability.

Step‑by‑Step Guide:

PHQ‑9 scoring converts nine frequency choices into a total with a clear band and subscores.

  1. Read each statement for the past two weeks.
  2. Select one choice per item 0–3.
  3. Review the total score and band label.
  4. Scan the Core, Somatic, and Cognitive subscores.
  5. Note the item nine safety indicator important.
  6. Save your notes and plan a next step if needed.

Example: Choices 2,1,3,2,1,0,1,2,0 produce total 12 with a moderate band and a somatic‑leaning profile.

Use the result to inform a thoughtful discussion about support and treatment options.

FAQ:

Is my data stored?

No. Processing happens on your device and answers are not uploaded or retained on a server.

Keep your device secure if you choose to leave the page open.
What does my score mean?

It is a summary of symptom frequency. The band label translates the number into a plain range from minimal to severe burden.

How accurate is this assessment?

It reflects your own report and is sensitive to context. Use it as a screen and discuss results with a qualified professional.

Which units or scale are used?

Each item is scored 0 to 3 and totals range from 0 to 27. Three subscores highlight symptom clusters.

Can I complete it without an internet connection?

Yes. Once loaded, scoring runs on the device. No network calls are needed to compute results.

Do I need to answer every item?

Yes. A valid result requires one selection for each of the nine items.

How do I calculate PHQ‑9 from item scores?

Add the nine integer scores to get the total, then use the threshold table to read the band.

What does a “borderline” result mean?

Scores near a band edge should be read with context and repeated later to confirm direction before major decisions.

Troubleshooting:

  • No result shown: make sure all nine items have a selection.
  • Band looks wrong: recheck each choice for 0–3 values.
  • Gauge missing: enable JavaScript or use a modern browser.
  • Numbers jump on edit: confirm only one radio is selected per item.
  • Shared code does nothing: the encoded string may be invalid.
  • Result changed after a nap: try completing at the same time of day.

Glossary:

PHQ‑9
Nine item patient questionnaire summarizing depressive symptom frequency.
Total score
Sum of all nine item scores, range 0–27.
Core subscore
Interest and mood items combined, range 0–6.
Somatic subscore
Sleep, energy, appetite, psychomotor items, range 0–12.
Cognitive/affective subscore
Self‑evaluation and concentration items, range 0–6.
Safety indicator
Item nine frequency label shown for awareness of risk.
Band
Category describing total severity from minimal to severe.