Skip to main content
Sleep

Sleep Calculator

Calculate the best times to wake up or go to sleep based on sleep cycles.

Choose from the bedtimes below to get exactly the right number of cycles

Go to bed at one of these times (wake: 7:00 AM)

9:45 PM
Ideal (9h) โœ“
6 cycles
9h sleep
Recommended
11:15 PM
Good (7.5h) โœ“
5 cycles
7.5h sleep
Recommended
12:45 AM
Minimum (6h)
4 cycles
6h sleep
2:15 AM
Short (4.5h) โ€” not ideal
3 cycles
4.5h sleep
3:45 AM
Very short โ€” avoid
2 cycles
3h sleep
5:15 AM
1 cycles
1.5h sleep
If you sleep now...
Wake up at 3:04 AM for 5 complete cycles (7.5 hours).

Sleep stage guide (per 90-min cycle)

NREM 1
1โ€“7 min ยท Light sleep. Easily woken. Hypnic jerks occur here.
NREM 2
10โ€“25 min ยท True sleep. Heart rate slows, body temp drops. Sleep spindles.
NREM 3
20โ€“40 min ยท Deep sleep (slow wave). Hard to wake. Body repairs itself. Immune boost.
REM
10โ€“60 min ยท Dreaming. Brain consolidates memories. Increases with each cycle.

Recommended sleep by age (National Sleep Foundation)

Newborn (0โ€“3mo)14โ€“17h
Infant (4โ€“11mo)12โ€“15h
Toddler (1โ€“2yr)11โ€“14h
Preschool (3โ€“5yr)10โ€“13h
School age (6โ€“13yr)9โ€“11h
Teen (14โ€“17yr)8โ€“10h
Adult (18โ€“64yr)7โ€“9h
Older adult (65+yr)7โ€“8h

How It Works

This sleep calculator works out the best times to go to bed or wake up by lining your sleep up with the body's natural 90-minute sleep cycles. Instead of counting only total hours, it counts complete cycles, so your alarm is more likely to ring during light sleep rather than deep sleep. Waking at the end of a cycle leaves most people feeling alert; waking in the middle of one is what produces that heavy, foggy "I could sleep for another hour" feeling, known as sleep inertia.

It is built for anyone whose schedule is fixed at one end and flexible at the other: a student who must be up at 6:00 AM for college, a developer planning a realistic bedtime before a 9:00 AM stand-up, a shift worker mapping a daytime sleep window, or a parent trying to recover after a broken night. Pick the mode that matches your constraint โ€” "I need to wake up atโ€ฆ" works backwards to suggest bedtimes, and "I plan to sleep atโ€ฆ" works forwards to suggest wake-up times. This is a general wellness and planning tool, not medical advice; it is a screening aid to spot poor sleep timing, not a substitute for a doctor or a sleep clinic if you have persistent insomnia, loud snoring, or daytime exhaustion.

The method: cycles, not just hours

A full night of sleep is not one long block. It is a repeating sequence of four stages โ€” NREM 1 (light), NREM 2 (true sleep), NREM 3 (deep, restorative slow-wave sleep) and REM (dreaming and memory consolidation). One pass through these stages takes about 90 minutes, and a healthy adult completes four to six cycles a night. The calculator therefore measures sleep in 90-minute blocks rather than in flat hours, which is why it recommends durations like 7.5 hours (five cycles) and 9 hours (six cycles) rather than a round 8.

The formula

The maths is deliberately simple. The tool first adds a 15-minute fall-asleep buffer (the average time it takes to drift off after lights-out), then adds or subtracts whole 90-minute cycles:

Wake time = Bedtime + 15 min + (number of cycles ร— 90 min)

Bedtime = Wake time โˆ’ 15 min โˆ’ (number of cycles ร— 90 min)

Worked example

Suppose you must wake at 7:00 AM. To get five complete cycles, the calculator subtracts 5 ร— 90 = 450 minutes (7.5 hours) of sleep plus the 15-minute buffer โ€” a total of 465 minutes โ€” from 7:00 AM. That lands your bedtime at 11:15 PM. For six cycles (9 hours of sleep plus the buffer, 555 minutes), it suggests 9:45 PM. Both options end a cycle right at 7:00 AM, so the alarm catches you in light sleep. Going to bed at, say, 12:00 AM instead would leave you mid-cycle at wake-up โ€” more total tiredness despite only an hour less in bed.

Tips for better results

Keep a consistent wake time every day, including weekends โ€” a steady wake time is the strongest anchor for your body clock and matters more than a perfect bedtime. Get bright light (ideally sunlight) soon after waking and dim your screens in the last hour before bed. Cut caffeine โ€” chai, coffee, cola, energy drinks โ€” by early afternoon, since it has a five-to-six-hour half-life. Treat the 15-minute buffer as a starting estimate: if you usually lie awake longer, add to it; if you drop off the moment your head hits the pillow, trim it.

Common mistakes

The biggest error is chasing a fixed eight hours regardless of cycles, which often means waking mid-cycle and feeling worse than a clean 7.5 hours would. Another is assuming "more sleep is always better" โ€” oversleeping past your natural cycle count can leave you groggy too. People also forget the fall-asleep buffer and set bedtime too late, then short themselves by 15โ€“30 minutes a night. Finally, remember these are population averages: individual cycle length varies from roughly 80 to 110 minutes, so use the suggested times as a guide and adjust over a week or two based on how you actually feel on waking.

Frequently Asked Questions

Sleep inertia โ€” waking during a deep sleep stage leaves you feeling groggier than if you woke at the natural end of a 90-minute cycle. 7.5 hours (5 complete cycles) may leave you feeling more refreshed than 8 hours (mid-cycle 6). This is why sleep timing can matter as much as duration.

Part of Diet & Body Metrics Calculators โ€” compare every related calculator in one place.