Sleep Calculator

Give it your wake-up time and your age and it works out when to go to bed. On the nights that is impossible, it works out how long your nap should be.

1. When should you go to bed?

Lights out somewhere in here

2. If you cannot get that much

Put in the sleep you can realistically get tonight. This works out the shortfall and the best way to take the edge off it.

Sleep shortfall

3. How long should the nap be?

Measured results from an experiment that restricted night sleep to 5 hours and compared nap lengths at 3 pm. The clock times are worked out from the nap start you entered above.

NapAwake atBenefit fromBenefit untilVerdict

A 30-second or 90-second "micro-nap" produced no measurable improvement at all in a separate experiment. There is a minimum length below which a nap does nothing, and a length above which it starts costing you.

What this calculator does differently

Most sleep calculators treat 90 minutes as an exact cycle and hand you an instruction: go to bed at 10:45 pm. That level of precision is not supported by measured data. This page does not hide the fact. It calculates the two things that survive the uncertainty instead — your total sleep, and what to do about the nights when you cannot get it.

Why 90-minute timing cannot be precise

The average is wrong before you even get to the spread. A 2024 analysis of 6,064 cycles from 369 polysomnography recordings put the median cycle length at 96 minutes (mean 99.5). A 2025 study using subcutaneous EEG measured 98 ± 29 minutes.

Six minutes is not the interesting part. The variability is. The coefficient of variation between one cycle and the next came to 29.3 per cent, and the measured standard deviation of a single cycle is about 29 minutes.

Here is what that does to the arithmetic. Uncertainty accumulates with the square root of the number of cycles, so chaining five of them carries 29 × √5 ≈ 65 minutes of error — more than half a cycle. "Go to bed at 11:15 pm and five cycles later you surface at 7:00" actually means "somewhere around 6:00, or maybe 8:00." At that width, aligning your alarm to a cycle boundary is not a thing anyone can do.

Cycles are not evenly spaced either. Measured directly, the first cycle runs 92 ± 29 minutes and the second 111 ± 29. Multiplying 90 by a whole number is off from the very first cycle.

And the drift is worst exactly when you would most want the calculator. Higher sleep pressure — that is, being short on sleep — lengthens the NREM portion of the first cycle. The night you most want to squeeze value out of a cycle calculation is the night it fits worst.

None of this is a fringe view. Australia's Sleep Health Foundation puts person-to-person cycle variation at roughly 60 to 110 minutes and says outright that the assumptions these calculators make are not based on scientific evidence.

So this page gives you a range, not a single minute. If the range looks uncomfortably wide, that width is the honest one.

What is certain instead — the total

Cycle boundaries are out of reach, but total sleep is exact arithmetic. It is also the number that the health guidance is written about.

The joint consensus of the American Academy of Sleep Medicine and the Sleep Research Society states that adults aged 18 to 60 should sleep 7 or more hours per night on a regular basis. The NHS gives the target as around 7 to 9 hours. This calculator uses 7 to 9 hours as the adult band, and both sources are explicit that the requirement varies between individuals.

Children and teenagers need more, which is why the calculator asks your age rather than assuming an adult. The bands used here are 9 to 12 hours for primary-school children and 8 to 10 hours for secondary-school students — the figures set out in Japan's Ministry of Health, Labour and Welfare sleep guide, which is the set of age bands this page has checked against a primary source. National bodies elsewhere publish their own figures and they differ in the detail, so read the band as the shape of the recommendation rather than as a threshold. One gap worth stating plainly: no primary source was confirmed for the under-5 band shown here (10 to 13 hours), so treat that one as indicative only. It will be replaced when a source is confirmed.

What all of this means in practice is simple. Giving up 40 minutes of sleep to land on a cycle boundary runs the wrong way — you are trading a certain quantity for an uncertain boundary.

Short nights — the nap is 10 minutes

This is the part the calculator most wants to be useful for. "Get seven hours" is no answer at all to someone who has four.

In an experiment where night sleep was restricted to 5 hours, participants took 5, 10, 20 and 30-minute naps at 3 pm. The results run against intuition.

A separate experiment tested 30-second and 90-second naps and found no measurable improvement over not napping at all. So there is a floor below which nothing happens, and above that floor longer does not mean better.

Why 30 minutes backfires — you reach deep sleep

The mechanism was measured, not guessed at. The 30-minute nap accumulated an average of 14.7 ± 5.7 minutes of slow-wave sleep, and 80 per cent of participants were woken out of it. The 10-minute nap accumulated 0.8 ± 1.5 minutes of slow-wave sleep, and 80 per cent woke from light stage 2 sleep.

The fogged, slow state you get when pulled out of deep sleep is called sleep inertia. To be straight about the limits of the evidence: the authors of that experiment noted that they could not isolate an independent effect of slow-wave sleep, and a 2019 review concluded that it is difficult to draw a clear conclusion about the role of deep sleep in sleep inertia. The direction is consistent across studies; the causal mechanism is not settled.

The same principle shows up in operational research. In a NASA study of long-haul pilots, 93 per cent of planned 40-minute rest opportunities produced actual sleep, averaging 26 minutes. The composition was 30 per cent stage 1, 62 per cent stage 2, 8 per cent slow-wave sleep and 0 per cent REM — they barely touched deep sleep. Reaction speed improved by 10 to 16 per cent, and lapses of attention numbered 81 in the rest group against 124 without.

The most important warning — do not trust how you feel

The single most useful finding in the nap experiment is this one. The people who took the 30-minute nap were measurably worse on objective testing, and rated themselves as better than before the nap. Not marginally, and not once: significantly so at all four post-nap measurement points (p<0.001).

In other words, subjective freshness and actual recovery moved in opposite directions. "I feel fine now" is not evidence that you have recovered. If you are about to drive, or to make a call that matters, manage the nap by the clock rather than by how it feels.

It is also why this calculator never promises a time at which you will "wake up refreshed." Refreshed is not something you are in a position to assess.

Age matters; sex barely does

How late you are inclined to sleep — your chronotype — moves with age, reliably. In a survey of roughly 25,000 people, the tendency to go to bed late increases through adolescence, peaks at around age 20, and advances steadily from then on for the rest of life. The authors proposed that turning point as a biological marker for the end of adolescence. The same curve was reproduced in 800 people in South Tyrol, whose way of life is nothing like that of the original sample.

The size of the effect is not small either: about 1.9 hours of movement in the ten years between 15 and 25. That is worth knowing before writing off a teenager's late nights as laziness.

Sex, by contrast, is too small to build an input around. In the same line of research the difference between men and women peaked at age 21.6 at 0.27 hours — 16 minutesdisappeared at 41.4, and then reversed sign, with women becoming the later group. A 16-minute maximum that flips direction in middle age would add nothing to a bedtime estimate. That is why this calculator does not ask.

For completeness: no primary source showing that required sleep duration itself differs by sex was confirmed in this round of checking. If one is, it will be reflected here.

Basis for the figures

This is a scheduling tool, not medical advice. Persistent trouble falling asleep, waking repeatedly in the night, or being sleepy all day is worth raising with a doctor — those are treatable conditions, and no amount of bedtime arithmetic addresses them. The nap guidance here assumes a healthy adult dealing with a temporary shortfall.

Checked on 2026-08-03. Based on: Cycle length measured — Cajochen et al., Sleep Health 2024;10:S52-S62 (median 96 min, mean 99.5, between-cycle CV 29.3%, 6,064 cycles from 369 recordings) · Leguia et al., Brain Commun 2025;7(6):fcaf469 (98±29 min; first cycle 92±29, second 111±29) · Naps — Brooks A & Lack L, Sleep 2006;29(6):831-840 (night sleep restricted to 5 h, 3 pm naps: 10 min best overall, immediate onset, 155 min duration; 20 min onset after 35 min, 125 min; 30 min sleep inertia) · mechanism: 30 min accumulated 14.7±5.7 min SWS with 80% woken from SWS vs 10 min 0.8±1.5 min with 80% woken from stage 2 · subjective/objective divergence p<0.001 · Tietzel & Lack (30 s and 90 s naps: no measurable improvement) · NASA TM-108839 (93% of planned 40-min rest opportunities produced sleep, mean 26 min, stage 1 30% / stage 2 62% / SWS 8% / REM 0%, reaction speed 10-16% better, 81 vs 124 lapses of attention) · Chronotype — Roenneberg et al., Curr Biol 2004;14(24):R1038-9 (N approx. 25,000, latest point around age 20, advancing thereafter; replicated in 800 people in South Tyrol) · Fischer et al., PLoS One 2017 (sex difference max 0.27 h at 21.6, gone at 41.4, sign reversed after) · Adult target — AASM & Sleep Research Society consensus, Watson NF et al., J Clin Sleep Med 2015;11(6):591-592 (7 or more hours, ages 18-60) and NHS (around 7 to 9 hours), both noting individual variation · Sleep Health Foundation (cycle variation approx. 60-110 min; calculator assumptions not evidence-based) · Hilditch CJ & McHill AW, Nat Sci Sleep 2019;11:155-165 (role of deep sleep in sleep inertia unresolved) · Child and teenage bands 9-12 h (primary school) and 8-10 h (secondary school) — Japan MHLW sleep guide 2023; no primary source confirmed for the under-5 band. Updated when the rates or rules change.