Updated Nov 2, 2026

Sleep calculator

Answer a few questions and this sleep estimator builds the plan: what time to go to bed in whole 90-minute cycles, a timeline of the night, stage and REM estimates, your caffeine cutoff, sleep-debt recovery, how much sleep your age needs and the right nap window — then says what to change tonight. Answering from bed? Use Fall asleep now.

Cycles to plan for
True of most nights?

Your plan — updates as you edit

Estimates, not a diagnosis: cycles run 80–105 minutes and stage shares vary by person. If you snore heavily, feel sleepy all day on a full night's sleep, or have needed weeks of help falling asleep, talk to a doctor. General guidance, not medical advice.

How the bedtime calculator works

What time should you go to bed? A cycle-counting sleep time calculator answers with one number: the ~90-minute sleep cycle. Pick 5 cycles and you get 7.5 hours of sleep; the plan subtracts your fall-asleep time and lands lights-out so the alarm meets a cycle boundary, not the bottom of one.

Why the boundary matters: mid-cycle you are usually in deep sleep, the slowest stage to leave and the cruelest to cut. At a boundary you surface into lighter sleep, where waking feels like arriving rather than being pulled out. That is the whole trick behind "try these bedtimes" beating "sleep 7.5 hours, good luck".

The fall-asleep slider is the one input no sleep estimator can guess for you. Fifteen minutes is typical; 10–25 is fine. But if 40 minutes is normal for you, a plan that ignores it recommends bedtimes 25 minutes too eager — you lie in the dark feeling late. Set the slider honestly and the recommended time is one you can actually keep.

Walk through it once: alarm at 7:00 AM, 5 cycles, 15 minutes to drift off. Count back 450 minutes of sleep and 15 of falling asleep, and lights-out lands at 11:15 PM. Prefer a slower morning? 4 cycles puts it at 12:45 AM. Ninety minutes is the adult average — cycles can run 70–120 minutes — so the honest reading is "a strong default", not a measurement of your body.

Sleep need, by age

How many hours of sleep do I need? The answer narrows with age, and the ranges below are the consensus numbers the calculator reads your age against — a range rather than a verdict, and not a judgement of how you slept last week.

Infant and toddler bands count a full 24 hours including naps; from school age up they are overnight sleep. Adults sit in the 7–9 hour band: less than 7 leaves most people measurably slower within a few nights, and more than 9 is rarely the problem when it happens to a healthy adult who wakes on their own.

Age groupRecommended sleep per 24 h
1–2 years11–14 hours (including naps)
3–5 years10–13 hours (including naps)
6–12 years9–12 hours
13–17 years8–10 hours
18–64 years7–9 hours
65 and older7–8 hours

The calculator turns your age into the range above automatically — a sleep calculator by age in the most literal sense. Bands are read for the age you enter, the fit check appears under every bedtime and alarm the plan offers (inside the usual range, under it, or above it), and Auto picks whole cycles from the midpoint of your band, so the answer it builds is real bedtimes, not slogans. For adults the headline stays: seven to nine hours, with 7.5 h (five cycles) covering most ends of the schedule and 9 h (six cycles) the recovery when the evening allows.

Enter your age above to see the hours your band suggests and where your cycle count lands against them.

Reading the report

The plan is four moves: a headline time, the shape of the night, the body-clock windows, and what to change.

The night timeline shades each cycle the way sleep is actually built — deep sleep loaded into the first half of the night, REM into the last. That is also why the stage estimates shift when you drop a cycle: a shorter night is not "less of everything", it is a night with its REM-rich end amputated.

The body-clock card is the circadian rhythm part of the report — every window on it is calculated for you. The temperature trough near 4–5 AM and the post-lunch dip are near-universal; melatonin onset runs later in owls and teenagers, which is why "just go to bed earlier" fails exactly those people. The caffeine cutoff is computed from your recommended bedtime — not a slogan. The nap card is there for the tired afternoon: 20 minutes inside the dip restores alertness without spending the sleep pressure that lights-out depends on. But if falling asleep at night is already your problem, skip naps for a couple of weeks — borrowed pressure is the honest medicine, and it was already on the shelf.

Three buttons run the whole tool. A wake-up time counts back from the alarm you cannot move. A bedtime counts forward to see what you get. Fall asleep now plans from the live clock — it re-alarms itself every half minute, so the times are always for the minute you are actually in. Whatever you change, the plan re-renders as you type; Reset puts every answer back to the defaults, and your answers are kept in this browser so a return visit starts where you left off.

Sleep debt, honestly

Miss hours for a week and the body keeps score: slower reactions, flatter mood, sham focus at 2 PM.

Recovery is real but capped. Extending sleep 30–60 minutes a night for a stretch, or taking one long weekend night (9–10 hours, wake anchor held or only slightly later), measurably restores alertness. What does not work is a chaotic schedule that swings 4 hours one night and 10 the next — irregularity itself unsettles the clock. The plan's catch-up block adds minutes at a sustainable rate for the shortest honest number of nights, then hands you back to consistency.

How does the bedtime calculator work?

Sleep runs in ~90-minute cycles, so the calculator counts back (or forward) in whole cycles from your anchor time and subtracts the minutes you usually take to fall asleep. Waking at the end of a cycle — rather than mid-cycle — is what makes the difference between "fine" and "wrenched out of deep sleep".

What time should I go to bed?

Count backwards from your alarm in whole 90-minute cycles and subtract the minutes you need to fall asleep. For a 7:00 AM wake with 5 cycles and a 15-minute drift-off, the answer is 11:15 PM; with 4 cycles it is 12:45 AM. The calculator does the counting for you, then offers all three whole-cycle plans so you can pick what your evening can actually deliver.

When should I wake up?

At the same time every day: a steady wake anchor steadies the circadian clock, and it matters more than the bedtime you manage to hit. The calculator times alarms to a cycle boundary, because an alarm landing mid-cycle — usually in deep sleep — feels far worse than a slightly shorter night. If your morning has real slack, shift the alarm by a whole cycle (about 90 minutes) rather than by half hours.

How much sleep do I need?

Consensus ranges by age: 8–10 hours for teenagers, 7–9 for adults 18–64, 7–8 for 65+, and roughly 10–13 for preschool children. How many hours of sleep you need, in other words, is mostly a function of age — the tool reads these ranges off the age you enter and tells you whether the cycle count you picked lands inside them.

How much sleep do adults need?

Seven to nine hours for most healthy adults, and the calculator treats anything in that band as a plan, not a warning: five cycles (7.5 h) covers most schedules, six (9 h) is the long end for recovery weeks or heavy training. Age moves the range — teenagers need 8–10 and 65+ works on 7–8 — which is why the plan reads the band from the age you enter instead of quoting one adult number.

How many hours should I sleep?

Enough that mornings work. For most adults that lands at 7–9 hours of actual sleep, and hours in bed are usually more, because falling asleep takes minutes too. The honest test is not the number: waking without an alarm feeling and no early-afternoon crash. If either is missing, add a whole cycle rather than minutes.

Is 7.5 hours of sleep enough?

For most adults, yes — 7.5 hours sits inside the 7–9 range, and it is exactly five 90-minute cycles, which is why it is the Auto pick for a healthy adult here. It works only if the wake-up lands at the end of the last cycle: 7.5 hours from a bedtime that ignored your fall-asleep minutes can still cut a cycle short. If 7.5 leaves you groggy, try six cycles (9 hours) for a week before deciding you need less.

What is a sleep cycle, and why 90 minutes?

One cycle moves through light sleep, deep sleep and REM. Ninety minutes is the adult average, but individual cycles run anywhere from about 70 to 120 minutes — early cycles often shorter, later ones longer — so treat the plan as a strong starting point, not a stopwatch. Deep sleep leans on the first half of the night; REM concentrates in the last cycles, which is why a shortened night cuts REM first.

What are the sleep-stage estimates based on?

Typical healthy-adult architecture: just under 60% of the night in light sleep, 13–23% in deep sleep (front-loaded into the early cycles) and 20–25% in REM (loaded into the later cycles), then adjusted for age — deep sleep lightens with age, and teenagers carry more of it. Because REM concentrates in the last cycles, the stage bars double as a rough REM sleep calculator: a full adult night lands near 1.5–2 hours of REM, and dropping a cycle shows you exactly the REM you would give up.

Can I pay back sleep debt?

Partly. A run of short nights carries a real cost, and adding 30–60 minutes a night for a stretch, or one long weekend night, measurably restores alertness. But chronic debt is not banked like money — the plan shows an honest catch-up window and then points you back at a consistent wake anchor.

When should I stop drinking caffeine?

Caffeine clears with a half-life of about 5 hours, so an afternoon cup is still working at lights-out. A practical cutoff is 6–8 hours before bed; the tool computes yours from the bedtime it recommends.

Is this medical advice?

No. It is a planning tool built on published sleep guidelines, and honest about being estimates. If you snore heavily, feel sleepy all day on a full night, or have needed weeks of help falling asleep, talk to a doctor.

Is it free, and do I need an account?

Free, no sign-up, no upload. Everything runs in your browser, and your answers are kept in this browser's own storage so the next visit picks them up — nothing you enter ever leaves the page.