Skip to main content

Free health tool

Seven-Night Sleep Regularity Calculator

Measure night-to-night shifts in the timing of your main sleep interval across seven consecutive nights.

  • Free
  • Instant result
  • No account

Calculate your result

When you fell asleep.

When your main sleep ended.

When you fell asleep.

When your main sleep ended.

When you fell asleep.

When your main sleep ended.

When you fell asleep.

When your main sleep ended.

When you fell asleep.

When your main sleep ended.

When you fell asleep.

When your main sleep ended.

When you fell asleep.

When your main sleep ended.

Your result will appear here

Nothing is saved or added to the URL.

Illustration of sleep calendar and crescent moon beside the calculator’s worked example.

What this result means

Enter when you fell asleep and when you finally woke for seven consecutive nights. The calculator shows, in minutes, how far the midpoint of your sleep interval moved on an average night. It also shows whether sleep onset or wake time shifted more. [1][2]

Which times should I enter?

Use the time you fell asleep and your final wake time for your main sleep, in chronological order. If you work overnight, daytime sleep is fine. Keep the seven entries in the same time zone and use the same source or diary method for all of them. [1][2]

How does the midpoint work across midnight?

Falling asleep at 23:00 and waking at 07:00 makes an eight-hour interval with a midpoint at 03:00. A shift from 23:30 to 00:30 is 60 minutes. If onset and waking show the same clock time, check the entry. The clock alone cannot distinguish no interval from a full day. [1][2]

Why show both sleep onset and wake time?

The midpoint can move because sleep starts later, ends later, or both. It can also stay stable when onset moves earlier and waking moves later. The separate average shifts help you see which part of the schedule changed. [1][2]

Find the two nights with the largest shift

If the result says the largest shift follows night 5, compare your entries for nights 5 and 6. When two pairs share the largest gap, the result points to the first pair. If all midpoints match, the largest gap is zero and there is no pair to flag. [1][2]

Can I compare two weeks?

Run the same seven-night calculation separately for each week using comparable inputs. Label any week that includes overnight travel, a clock change or unusually fragmented sleep. Timing and duration answer different questions, so review how long you slept separately. [1][2]

Formula and assumptions

Formula
Midpoint = sleep onset + half the forward clock interval to final waking. Average shift = the mean of the six shortest clock gaps between consecutive midpoints. [1][2]
Version
Seven-Night Sleep Regularity Calculator, 1.0
Rounding
Calculate each midpoint and gap before rounding. Show the final shifts to one decimal minute.
Worked example
Midpoints of 03:00, 03:30, 04:00, 03:30, 03:00, 04:00 and 04:30 give six shifts of 30, 30, 30, 30, 60 and 30 minutes. The average is 35 minutes. The largest shift is 60 minutes and occurs between nights five and six. [1][2]

Who this is for — and when not to use it

Intended use

Measure night-to-night shifts in the timing of your main sleep interval across seven consecutive nights.

Not intended for

The calculation describes the timing of seven main sleep intervals. It does not establish a clinical sleep pattern, calculate the research Sleep Regularity Index, measure awakenings, or tell you how much sleep you need.

Exclusions

  • Measurements or units that do not match the selected method.

Evidence sources

  1. 1. Measuring sleep regularity: theoretical properties and practical usage of existing metrics — Sleep. Accessed Nov 20, 2026.
  2. 2. Sleep Deprivation and Deficiency: Healthy Sleep Habits — National Heart, Lung, and Blood Institute. Accessed Nov 20, 2026.