😴 Sleep Calculator

Set your alarm and see which bedtimes land at the end of a 90-minute sleep cycle — so you wake up between cycles rather than in the middle of deep sleep. Everything runs in your browser.

Defaults assume an adult needing 7-9 hours who takes 15 minutes to fall asleep. Change the numbers to match your own week.

What this calculator actually does

Sleep is not one continuous state. Overnight you move through repeating cycles of light sleep, deep sleep and REM, and one cycle averages about 90 minutes — though anywhere from 60 to 120 minutes is normal for an individual. Waking from deep sleep is what produces that groggy, foggy first hour, known as sleep inertia.

So the arithmetic here is deliberately simple: take your alarm time, subtract a whole number of 90-minute cycles, then subtract the time you need to actually fall asleep. Bedtime minus latency equals real sleep. Skipping that second step is the most common mistake — people assume lights-out equals asleep, and end up 15 to 20 minutes short of the number they aimed for.

Why the "minutes to fall asleep" field matters

Sleep onset latency — the gap between lying down and sleeping — is around 10 to 20 minutes for most adults. Scrolling in bed, caffeine after 2 p.m., a late workout or a warm room all push it longer. Set this to your own recent average. If you regularly lie awake more than 30 minutes, that is a clinical signal worth raising with a doctor rather than something to tune with a calculator: it points toward insomnia, an irregular schedule, or a sleep disorder such as apnea.

How much sleep you actually need

These are the consensus ranges from the American Academy of Sleep Medicine and the Sleep Research Society, and they drive the age selector above:

Age groupRecommended sleepNotes
Children 6-139-11 hoursGrowth hormone release peaks in deep sleep
Teens 14-178-10 hoursNatural late-night shift collides with early school start times
Adults 18-647-9 hoursHabitual under 6 hours is linked to metabolic and immune strain
65+7-8 hoursLess deep sleep and more night waking is a normal shift

Reading your results

With a 7:00 a.m. alarm and 15 minutes to fall asleep, the cycle math gives you roughly:

The summary line instead shows the full recommended window: the earliest sensible bedtime if you want the top of your age range, and the latest if you will settle for the bottom of it. Use the window when your schedule is flexible and the cycle table when it is not.

Three things that matter more than the exact bedtime

Consistency. Bed and wake times that swing by more than an hour behave like a small weekly jet lag, and that hurts more than losing 30 minutes. Sleeping until noon on Sunday pushes your body clock later, which is why Monday morning feels so bad.

Light. Ten to thirty minutes of outdoor light soon after waking is the strongest signal your circadian system gets. In the evening, dim screens and lamps do the opposite and let melatonin rise on schedule.

Caffeine timing. Caffeine's half-life is roughly five hours. The 3 p.m. coffee still has about half its dose in your system at 11 p.m., which delays sleep onset and trims deep sleep even when you feel like you fall asleep fine.

Limitations

The 90-minute figure is a population average. This tool cannot measure your actual cycle length or detect which stage you are in, so think of the output as "times least likely to interrupt deep sleep", not a prediction. Shift workers, people crossing time zones, pregnant users in the third trimester, and anyone with insomnia or suspected sleep apnea have atypical sleep architecture — a clinician's assessment beats any calculator. Nothing here is medical advice.

Frequently Asked Questions

Do I have to sleep a whole number of cycles?

No — treat 90 minutes as a planning heuristic, not a rule. Real cycles vary between roughly 70 and 120 minutes and are not all the same length within one night. What the method is good for is avoiding a wake-up in the middle of deep sleep, which tends to land you in a lighter stage near the end of a cycle. If the cycle math would leave you short on total sleep, prioritise total duration instead of a round number.

Is 6 hours of unbroken sleep better than 8 hours of broken sleep?

Usually not. What restores you is effective sleep — time actually asleep — plus intact deep and REM periods. Frequent awakenings fragment the architecture, so a longer night with many wakings can leave you worse off than a shorter, continuous one. The practical test is daytime function: alertness, mood, and whether you need caffeine to get through the afternoon.

Does catching up on sleep at the weekend work?

Partly. Extra weekend sleep reduces subjective sleepiness, but research suggests it does not fully reverse metabolic and cognitive effects of a short sleep week — and it shifts your body clock later, making Monday harder. A more reliable approach is a fixed wake time seven days a week, with an earlier bedtime when you are behind.

Should naps count toward my total?

A 20-30 minute nap can restore afternoon alertness without affecting nighttime sleep, and there is no need to count it here. Naps longer than about an hour, or after 3 p.m., tend to leave you groggier because you enter deep sleep, and they reduce the sleep pressure you need at night.

🛒 Recommended for You

As an Amazon Associate, Benditools earns from qualifying purchases. This page is not medical advice — talk to a clinician about persistent sleep problems.