Sleep calculator: find your ideal bedtime and wake-up time by sleep cycle

Sleep · Bedtime Calculator

Wake up refreshed, not groggy

Tell us when you need to wake up — or when you're heading to bed — and we'll time your sleep to whole 90-minute cycles, so your alarm lands in light sleep instead of the middle of a dream.

The highlighted options (5–6 cycles / about 7.5–9 hours) are the sweet spot. Tap any option to see how the night breaks into cycles.

What is a sleep cycle?

Sleep is not one long, flat state — it moves in waves. Each night you pass through a repeating sleep cycle of about 90 minutes, cycling through light sleep, deep (slow-wave) sleep, and REM, the dreaming stage. A typical night holds four to six of these cycles, with more deep sleep in the first half of the night and more REM toward morning. The exact length varies a little from person to person and night to night, but 90 minutes is the reliable average this calculator is built on.

A person sleeping peacefully in a bright, calm bed

How this sleep calculator works

The math is simple. Pick “I want to wake up at…” and set your alarm time, and the tool counts backward in 90-minute blocks — adding a 15-minute buffer for the time it takes to drift off — to suggest bedtimes that let you complete whole cycles. Or switch to “I'm going to bed at…” (or tap Use current time) and it counts forward to the best wake-up times. The options for five and six cycles — roughly seven-and-a-half to nine hours — are highlighted, because that is the sweet spot for most adults.

What happens in each stage of sleep

Every 90-minute cycle moves through a few distinct stages, and each does something different. Light sleep is the easy in-between where you drift off and back out; it makes up about half the night and is the best moment to wake. Deep sleep (slow-wave sleep) comes mostly in the first few cycles and does the heavy physical repair — it is the hardest stage to wake from, which is why an early-night alarm feels brutal. REM sleep, when most dreaming happens, grows longer with each cycle toward morning and supports memory, learning, and mood. Because the mix shifts through the night, no two cycles feel quite the same — and it is why both how long and when you wake shape how rested you feel.

Why waking at the end of a cycle matters

If an alarm drags you out of deep sleep, in the middle of a cycle, you get that heavy, foggy feeling known as sleep inertia — and it can linger for up to half an hour. Wake at the end of a cycle, when you are already drifting up into lighter sleep, and getting up feels far easier. That is why someone who sleeps seven-and-a-half hours (five clean cycles) often feels brighter than someone who slept eight hours but woke mid-cycle. Timing beats sheer quantity more often than people expect.

How much sleep do you actually need?

AgeRecommended sleepCycles
Teenagers (14–17)8–10 hoursabout 6
Adults (18–64)7–9 hours5–6
Older adults (65+)7–8 hoursabout 5

These are general guidelines, not strict rules — the amount that leaves you rested most days is your number. If you consistently wake before your alarm feeling clear-headed, you are probably getting enough; if you are always groping for the snooze button, try adding a cycle and see how it feels.

A cozy bed with soft lights and a warm drink for an evening wind-down

Using the 90-minute rule for naps

The same cycle logic works for daytime rest. A short power nap of 15–20 minutes keeps you in light sleep, so you wake alert without grogginess — ideal for a mid-afternoon lift. If you have the time and want deeper restoration, a full 90-minute nap lets you complete one whole cycle, including some deep and REM sleep, and wake at the natural boundary. What you want to avoid is the in-between 30–60 minute nap, which often drops you into deep sleep and wakes you mid-cycle, leaving you foggier than before.

How to fall asleep faster and sleep more deeply

A good wake-up time only works if you can actually fall asleep near your target bedtime. A few habits make the biggest difference:

Keep a steady schedule. Going to bed and waking at roughly the same time — even on weekends — trains your body clock so falling asleep gets easier. Wind down without screens. Bright phone and laptop light suppresses melatonin; swap the last half hour for something calm. Cool, dark, quiet. A slightly cool, dark room is the easiest environment to fall and stay asleep in. Mind your caffeine. It lingers for hours, so an afternoon coffee can still be in your system at bedtime.

A short calming practice is one of the most reliable ways to shift into sleep. Slow breathing — especially the long-exhale 4-7-8 pattern in our breathing timer — nudges the body toward rest, and a few minutes with our meditation timer quiets a racing mind. On the mat, a gentle restorative yoga or yin yoga sequence before bed helps release the day; both pair naturally with a fuller meditation or breathwork practice.

Good to know

This calculator is a helpful guide, not medical advice. Occasional grogginess is normal, but if you regularly struggle to fall asleep, stay asleep, or wake unrefreshed no matter how you time it, that may point to a sleep disorder — please speak with a doctor or a qualified sleep professional.

Build a better bedtime

Use the calculator to pick a realistic, cycle-aligned bedtime, then protect it: set a gentle wind-down alarm, dim the lights, and give yourself the same quiet runway each night. Sleep improves less from one perfect night and more from a steady, repeatable rhythm — the same principle behind every calming practice on this site. Two small habits reinforce it: get some daylight soon after you wake, which anchors your body clock and makes the next night’s bedtime come more naturally, and keep wake-up time steady even on weekends, since a big weekend lie-in shifts your rhythm and makes Monday feel like jet lag. Let the calculator set the target, and let consistency do the rest.

Frequently asked questions

How does a sleep calculator work?

It counts backward (or forward) in 90-minute sleep cycles and adds about 15 minutes for the time it takes to fall asleep, then suggests bedtimes or wake times that land at the END of a cycle rather than the middle. Waking between cycles — in light sleep — is what helps you feel refreshed instead of groggy.

How many hours of sleep do I need?

Most adults need 7–9 hours, which is five to six full cycles. Teenagers need a little more (8–10), and older adults often do well on 7–8. The right amount is the one you can wake from feeling rested most days — use the calculator to line your alarm up with a cycle.

What is a sleep cycle?

A sleep cycle is one full pass through the stages of sleep — light sleep, deep (slow-wave) sleep, and REM — lasting roughly 90 minutes. You move through four to six of them a night, with more deep sleep early on and more REM toward morning.

Why do I wake up tired even after 8 hours?

Usually because the alarm went off in the middle of a cycle, during deep sleep, so you wake groggy (this is called sleep inertia). Timing your wake-up to the end of a cycle — what this calculator does — often helps more than simply sleeping longer.

Is it better to wake up at the end of a sleep cycle?

Yes, for most people. Waking at the boundary between cycles, when you are already in lighter sleep, makes getting up feel easier and leaves you more alert. That is the whole idea behind timing sleep in 90-minute blocks.

What is the best time to go to bed?

There is no single magic hour — work back from when you must wake up. If you need to be up at 7:00 AM, falling asleep around 10:00 PM or 11:30 PM gives you six or five clean cycles. A consistent schedule matters more than the exact clock time.

Want to go deeper than a timer? Explore online sleep & rest courses → or a calming meditation course to wind down with.