alleasycalc
Suggest
Sleep Calculator

Sleep Calculator

Work out a bedtime that gets you 6, 5 or 4 full 90-minute sleep cycles before you need to wake, or work forward from the moment you get into bed tonight. Either way you get a spread of options, not one guess.

Your question
Time format
:

The alarm time you actually need to be up by, not the time you plan to get into bed.

15min

Most people drop off within 10 to 20 minutes of the lights going out. Set this higher if you know you take a while to nod off, or down to 0 if you fall asleep the moment you lie down.

What a sleep cycle actually is

Overnight sleep is not one flat state; it runs in loops through a handful of different stages, and each complete loop is what people mean by a sleep cycle. A cycle opens with light sleep as your muscles relax and your brain activity slows, moves into deep sleep where the body does most of its physical repair and is hardest to wake from, then lightens again into rapid eye movement (REM) sleep, where most dreaming happens and the brain is busy consolidating memory and processing emotion. Deep sleep dominates the earlier cycles of the night, and REM takes up a bigger share of the later ones, which is one reason the last stretch before a natural wake-up tends to feel dreamier and lighter than the first hour after you nod off. This calculator works in whole cycles rather than a raw number of hours precisely because waking at the end of a loop, when the brain is already back in a lighter stage, is a gentler moment to surface than waking in the middle of deep sleep.

How this calculator counts backward and forward

Pick "I need to wake at…" and give it a wake-up time, and it counts backward in blocks of 90 minutes to suggest bedtimes for 6, 5 and 4 full cycles, each one shifted a little earlier again by the minutes you typically take to fall asleep, since that time in bed is not yet sleep. Pick "If I sleep now…" and give it a bedtime instead (or tap "Use current time"), and the same 90-minute blocks run forward from the moment you are likely to actually be asleep, landing on three wake-up options rather than three bedtimes. Both directions use the same arithmetic; only which end is fixed and which end is solved for changes.

Wake at 07:00, 15 min to fall asleep, 5 cycles 07:00 = 420 min 420 − (5 × 90) − 15 = −45 min −45 + 1,440 = 1,395 min = 23:15 lights out

That last step, adding 1,440 minutes (24 hours) when the subtraction goes negative, is what lets a bedtime the wrong side of midnight come out as a sensible clock time instead of a negative number; the same wrapping runs in reverse for a wake-up time that lands the next morning in the "sleep now" direction.

Why 90 minutes is a starting point, not a metronome

Ninety minutes is a genuinely useful average, not a fixed law of biology. Measured cycles across a night typically run somewhere between about 80 and 120 minutes, the very first cycle is often the shortest of the night, and the length shifts with age, how sleep-deprived you are, and even caffeine or alcohol in your system. That means the exact clock times this page produces are a well-reasoned estimate rather than a guarantee, and the idea that waking right at a cycle boundary feels noticeably better than waking mid-cycle is a plausible, widely repeated idea rather than a settled, precisely measured fact; treat these bedtimes as worth testing for a week or two and adjusting to what actually leaves you feeling rested, rather than a formula to follow to the minute.

Why eight hours isn’t a magic number

"Eight hours a night" is a rounded-off shorthand for a range, and the range itself moves with age far more than most people expect. Published guidance from health bodies puts most adults at 7 to 9 hours a night, teenagers higher at 8 to 10, school-age children higher again at 9 to 12, and infants and toddlers higher still once daytime naps are folded in, while adults over 65 are typically fine on a slightly narrower 7 to 8 hours. Within any one age band there is real person-to-person variation too; a healthy adult who consistently feels sharp on 7 hours is not doing anything wrong just because a housemate needs 9. The reference table on this page uses that adult 18 to 64 band, 7 to 9 hours, as the line each sleep option is measured against.

The time it takes to fall asleep

The gap between lying down and actually being asleep is called sleep latency, and for most healthy adults it sits somewhere around 10 to 20 minutes; studies that time it directly tend to find an average closer to the lower end of that range. Falling asleep in under about 5 minutes most nights can itself be a sign of running short on sleep generally, while regularly needing more than half an hour is one of the markers used to describe insomnia. This calculator’s default of 15 minutes sits in the middle of the normal range; it is worth nudging up or down if you know your own habit clearly differs, since that allowance shifts every bedtime or wake-up option by the same amount.

Weekday sleep, weekend sleep, and social jetlag

Chronobiologists use the term "social jetlag" for the gap between the sleep timing your body clock would naturally choose and the sleep timing your work or school week actually forces on you, the same mismatch feeling behind a five-day build-up of tiredness that a lie-in on Saturday only partly repays. Keeping bedtime and wake time within a similar window every day, weekends included, is a more direct fix for that gap than any single good night can be.

Naps: twenty minutes or a full cycle

The two nap lengths that tend to work best sit at opposite ends of a cycle rather than in the middle of one. A short nap of around 10 to 20 minutes keeps you in light sleep throughout, so you wake quickly and clear-headed; a longer nap of close to 90 minutes lets you complete a full cycle and surface naturally back in light sleep at the far end. Naps in between those two lengths are more likely to end mid-way through deep sleep, which is where sleep inertia, the groggy, slow-to-function feeling on waking, tends to be worst and can linger for half an hour or more afterwards.

What actually helps mornings

Beyond picking a better-timed bedtime, the habits with the most consistent public-health backing are simple: keep roughly the same sleep and wake window every day rather than swinging it widely between weekdays and weekends, get outside or near a bright window reasonably soon after waking since morning light is one of the strongest cues your body clock reads, and give caffeine several hours of runway before bed rather than treating late-afternoon coffee as sleep-neutral. None of that is a medical treatment plan; persistent trouble falling or staying asleep, especially alongside daytime exhaustion, is worth raising with a GP rather than working around indefinitely with a calculator.

Questions people ask

Is 90 minutes exactly how long my sleep cycles last?

No, it is a widely used average. Individual cycles typically run from about 80 to 120 minutes and are not the same length all night, so treat the times here as a considered estimate rather than an exact reading of your own sleep.

Is it actually better to wake up between cycles?

It is a reasonable, widely repeated idea rather than a firmly proven one: waking in lighter sleep, near the end of a cycle, is generally easier than being pulled out of deep sleep. It is not a guarantee that every cycle-boundary wake-up will feel effortless, since sleep stages vary from person to person and night to night.

Why does the calculator ask how long I take to fall asleep?

Because time spent lying awake before sleep starts is not one of your sleep cycles. Adding that allowance to a bedtime, or onto a bedtime before counting cycles forward, keeps the cycle count matched to actual sleep rather than time in bed.

Which of the three options should I pick?

There is no single right answer; 6 cycles gives the most sleep, 4 gives the least while still landing on a cycle boundary, and 5 is a practical middle ground highlighted in the table. Choose based on how early you realistically need to be in bed and how that compares with the 7 to 9 hours most adults are advised to get.

Does this work if my bedtime is after midnight?

Yes. All the clock arithmetic wraps at midnight, so a bedtime of, say, 00:45 or a wake-up time that lands at 05:15 the next morning is handled the same way as any other time, not treated as an error.

Does 12-hour or 24-hour entry change the answer?

No. 7:00 AM and 07:00 are the same moment, so switching the entry format only changes how you type a time in, never the bedtimes or wake-up times that come out.

What if I have trouble sleeping most nights?

This page is a planning tool, not a diagnosis or a treatment. If falling asleep, staying asleep or feeling rested is a regular struggle rather than an occasional one, that is worth discussing with a GP.

This calculator gives a planning estimate based on a 90-minute average sleep cycle and a typical range for falling asleep; it does not measure your own sleep and is not medical advice. If sleep problems are ongoing or affecting your day-to-day life, speak to a GP.

Report a bug

Say what went wrong and where. One sentence is plenty; we read every report.

Embed this calculator

Paste this into your page. The frame sizes itself to fit. Embedding is free while AllEasyCalc grows; the small credit link stays visible.

Email this result

The email comes from AllEasyCalc and carries a link that reopens this calculator with the numbers filled in. One-off, no mailing list.

Suggest a calculator

Name the question you want answered. If it can be worked out, it goes on the build list.