Sleep Regularity Index Calculator
Enter seven consecutive main sleep intervals to estimate how consistently your sleep and wake states repeat from one day to the next. The result also shows the clock-time shifts that sit behind the score.
Diary-based Sleep Regularity Index97.22
- Same-state agreement
- 98.61%
- Average day-to-day onset shift (minutes)
- 10
- Average day-to-day wake shift (minutes)
- 10
- Average sleep interval (hours)
- 8
- Largest schedule shift (minutes)
- 60
Uses one-minute sleep/wake states reconstructed from the seven main sleep intervals.
Same-state agreement compares each clock minute with that minute on the following day.
How to use this calculator
- Enter each clock time in 24-hour HH.MM form, such as 23.30 for 11:30 PM or 7.05 for 7:05 AM.
- For each day, enter the sleep onset and the final wake time that follows it, including times that cross midnight.
- Use seven consecutive days so weekday and weekend changes are included in the comparison.
- Review the SRI beside the same-state agreement and the onset and wake-time shifts.
How the Sleep Regularity Index is calculated
The Sleep Regularity Index, or SRI, asks a simple question at every clock minute: were you in the same state, asleep or awake, as you were at that minute the day before? This calculator converts each of seven diary entries into a main sleep interval, then compares the matching 1,440 minutes across each of the six adjacent-day pairs.
First, an HH.MM entry is read as a clock time, not as decimal hours. For example, 23.30 becomes 23 hours and 30 minutes after midnight. A final wake time earlier than the onset is treated as the following morning. For each minute, the reconstructed state is sleep inside the interval and wake outside it.
If M is the number of mismatched minute pairs, the agreement and index are:
A = 1 − M ÷ (1,440 × 6); SRI = −100 + 200 × A
An SRI of 100 means every reconstructed sleep/wake minute repeated on every adjacent day. An SRI of 0 corresponds to 50% same-state agreement. Although most real-world scores are positive, the mathematical range is −100 to 100, so this calculator does not force a negative result up to zero.
What changes the score most
Moving an otherwise identical sleep interval later or earlier creates mismatches around both its onset and wake boundary. A one-hour shift in an eight-hour main interval changes two one-hour regions, so it affects 120 of the 1,440 comparisons for that day pair. Changes in sleep length can also lower the SRI even when one boundary stays fixed.
The timing rows use the shortest distance around the clock. A shift from 23.50 to 0.10 is 20 minutes, not 23 hours and 40 minutes. They are useful context, but they are not a substitute formula for the SRI: the score is based on every reconstructed minute.
What this diary estimate leaves out
Published SRI work uses complete epoch-level sleep/wake data, often from actigraphy. It can therefore include naps, awakenings, fragmented sleep, and periods when data are missing. This calculator has only one main interval per day, so it cannot classify those events or reproduce a device's exact score.
The index describes schedule regularity, not sleep quality, sleep need, insomnia, sleep apnea, or overall health. A high score only means that the recorded sleep/wake pattern was consistent; it does not show whether the amount or timing of sleep is appropriate for you.
Worked example
Suppose all seven entries are 23.00 to 7.00. Every matching minute is in the same state on adjacent days, so agreement is 100% and the SRI is 100. The average onset shift, wake shift, and largest schedule shift are all 0 minutes, while the average sleep interval is 8 hours.
For a second hand-checkable case, alternate 23.00–7.00 and 1.00–9.00 across the week. Each adjacent pair has a two-hour shift at onset and wake, producing 240 mismatched minutes out of 1,440. Agreement is 83.33%, so the SRI is 66.67. The onset and wake shifts are both 120 minutes.
Common questions
What does the Sleep Regularity Index measure?
It measures how often sleep and wake states repeat at the same clock times on adjacent days. It is a schedule-consistency measure, not a direct measure of sleep quality, duration, or daytime functioning.
Why can an SRI score be negative?
The index rescales same-state agreement so that 50% agreement equals 0. If opposite sleep/wake states occur at matching times more often than the same states, the result falls below 0. This is mathematically valid but uncommon in ordinary sleep records.
How is SRI different from bedtime variability?
Bedtime variability summarizes changes in one clock time. SRI compares the whole sleep/wake pattern minute by minute, so changes in wake time, sleep duration, and timing all affect it. Two people can have similar bedtime variation but different SRI values.
Why are seven consecutive days required?
The published method compares adjacent days, and a week provides six such comparisons while capturing a typical weekday-weekend transition. Fewer entries can give a misleadingly narrow view of a schedule, especially when days off differ from workdays.
Should naps and overnight awakenings be included?
Not in this diary version. Enter the main sleep onset and final wake time only. Full SRI calculations based on actigraphy or detailed sleep logs can incorporate naps and fragmented sleep, which can change the result.
Does a higher SRI prove that I am getting enough sleep?
No. A high score means the recorded pattern is consistent, even if the interval is too short, too long, or does not fit your circumstances. Consider sleep duration, symptoms, medical conditions, and advice from a qualified clinician separately.