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

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

Introduction:

Insomnia is characterised by persistent difficulty initiating or maintaining sleep despite adequate opportunity, leading to day-time impairment in concentration, mood, or performance. Clinicians quantify its severity to guide treatment and monitor progress. The Insomnia Severity Index distils subjective sleep complaints into a concise numerical score reflecting frequency, intensity, and functional impact.

This interactive assessment adapts the Insomnia Severity Index into a seven-item digital form. Each item is rated from none to very severe, yielding a total score between zero and twenty-eight. A colour-coded gauge and plain-language feedback place your result within established clinical bands, making it easier to understand what the number means for your sleep health.

Complete the questionnaire in under two minutes, review your personalised result, and optionally download or discuss it with a professional. Always answer based on the last two weeks and typical sleep opportunities. This screen does not diagnose or treat medical conditions; consult a qualified clinician if sleep difficulties persist or worsen.

Technical Details:

Foundational Principles

The Insomnia Severity Index (ISI) is a psychometric instrument validated across diverse populations for screening and outcome tracking. Each of the seven items aligns with the diagnostic criteria for insomnia—sleep initiation, maintenance, early awakening, satisfaction, functional impact, external noticeability, and distress. Summative scoring transforms ordinal responses into an interval-level measure that correlates strongly with clinical interviews and polysomnographic indices, enabling rapid triage and progress monitoring.

A lightweight reactive engine updates scores in real time as answers change. A charting layer renders a semicircular gauge whose coloured segments mirror published severity bands, reinforcing comprehension through dual coding. All computation executes client-side, preserving privacy and eliminating network latency.

Formula Overview

Variables & Parameters

SymbolMeaningUnitTypical RangeSensitivity
riResponse to item iscore0 – 4linear
STotal ISI scorescore0 – 28high

Scoring & Categorisation

  • 0 – 7 → No clinically significant insomnia
  • 8 – 14 → Subthreshold insomnia
  • 15 – 21 → Clinical moderate insomnia
  • 22 – 28 → Clinical severe insomnia

Representative Calculations

Example
S=3+2+1+2+1+0+2=11

The summed score of 11 places the respondent within the subthreshold band, suggesting mild concern and benefit from behavioural adjustments.

Edge Cases & Assumptions

  • Missing answers default to 0 when encoded as “–”.
  • Partial completion disables final scoring until all seven items receive valid inputs.
  • Non-integer inputs are rejected by the reactive engine’s validation guard.
  • Browser locale differences do not affect numerical output because calculations use base-10 arithmetic.

Performance & Stability

The algorithm runs in O(7) time with negligible memory overhead, ensuring instant feedback even on low-power devices. All operations occur in JavaScript’s double-precision context, yielding millisecond-level execution. The charting layer reflows responsively on resize events, and throttled observers prevent unnecessary redraws.

Step-by-Step Guide:

Follow these steps to obtain and interpret your score.

  1. Click the Start Assessment control to reveal the first item.
  2. Select the response that best matches your experience for each of the seven statements.
  3. Use the scrollable list to revisit items; answered entries display a confirmation check.
  4. After completing all items, review the total score and coloured severity badge.
  5. If needed, print or save the answer table for discussion with a healthcare professional. Never email sensitive data on public networks.

FAQ:

Is my data stored?

All answers remain in your browser’s memory and vanish when you close the tab; nothing is transmitted or saved remotely.

What do the score ranges mean?

Ranges map total points to clinical severity levels, guiding whether simple habit changes or professional help are advisable.

Can I change answers later?

Yes. Click any question in the sidebar to revise your choice; results update automatically.

Does this replace professional advice?

No. It offers educational insight only; persistent sleep problems warrant evaluation by a qualified clinician.

Why focus on the last two weeks?

Short recall periods improve accuracy and align with research protocols that validate the index.

Glossary:

Insomnia
Sleep disorder marked by difficulty falling or staying asleep.
Ordinal Scale
Measurement where categories follow a meaningful order but intervals are unequal.
Severity Band
Categorical label derived from score thresholds.
Reactive Engine
Client-side framework that updates the interface when data change.
Charting Layer
Visual component that renders dynamic gauges and graphs.

No data is transmitted or stored server-side; processing is entirely client-side.

Embed this tool into your website using the following code: