Sleep Cycle Calculator
Wake at the end of a sleep cycle — refreshed, not groggy.
Your current time is used as your bedtime.
Your options
Estimates for education — not medical advice. If you struggle with sleep, talk to a healthcare professional.
How to time your sleep
- Choose a mode. “I want to wake at…” if your alarm time is fixed, or “I’m going to bed now” if you’re heading to sleep this minute.
- Enter your wake-up time or press the bed-now button. The calculator counts in full 90-minute cycles, with 15 minutes to fall asleep built in.
- Pick one of the three options. More cycles means more total sleep — 5 to 6 cycles is the sweet spot for most adults.
- Set your alarm and keep a consistent schedule. Waking at the same time every day trains your body to finish its last cycle right on cue.
Frequently asked questions
Why 90-minute sleep cycles?
A full sleep cycle — from light sleep through deep sleep and REM — averages about 90 minutes in adults. Waking at the end of a cycle, rather than in the middle of deep sleep, is why you sometimes wake up groggy and sometimes refreshed.
How many sleep cycles do I need per night?
Most adults do best on 5–6 full cycles (7.5–9 hours of sleep). This calculator shows bedtimes for 6, 5, and 4 cycles so you can pick the option that fits your schedule — 4 cycles (6 hours) is a minimum, not a goal.
Why does the calculator subtract 15 minutes?
Most people need around 15 minutes to fall asleep, and those minutes don’t count as sleep. Subtracting them means your alarm goes off at the end of a cycle, not 15 minutes into the next one.
Should I always wake up at the end of a cycle?
It’s a useful guideline: alarms that land mid-cycle — especially in deep sleep — cause the worst grogginess. But cycle length varies person to person and night to night, so treat these times as targets, not guarantees.
Is this sleep advice?
No. These are estimates for education only — not medical advice. If you struggle with sleep, talk to a healthcare professional.
More from the codex
Sleep Cycle Calculator
Bedtimes that wake you between 90-minute sleep cycles, or wake-up times if you’re heading to bed now.
One-Rep Max Calculator
Estimate your max lift from any set of 1–12 reps, with three formulas and a full training table.
Open tool → LiveTarget Heart Rate Zones
Find your five training zones from your age — with or without your resting heart rate.
Open tool → LiveCalorie / TDEE Calculator
Your daily calorie target for losing, maintaining, or gaining weight.
Open tool →Questions or feedback
Spotted a problem or want a feature? Email [email protected] — every message is read by a human.
Support the codex
This tool is free, with no account and no ads. If it saved you some time, consider supporting the indie dev behind it.