Sleep Calculator: Find Your Best Bedtime and Wake-Up Time
Work out exactly when to fall asleep or wake up so your alarm lands between sleep cycles instead of in the middle of one. Set your own fall-asleep time and age for a result that actually fits you.
- Adjustable fall-asleep time
- Bedtime, wake-up and nap modes
- Age-based sleep targets
Calculate your sleep schedule
Pick a mode, enter a time, and get every cycle-aligned option ranked for you.
Your results
A sleep calculator built for real sleepers
Most sleep calculators do one sum and stop. They assume everyone falls asleep in exactly 14 minutes, ignore your age, and offer nothing for naps. This one fixes all three, and shows you what each option actually looks like.
Your real fall-asleep time
Sleep latency varies from two minutes to over an hour. Slide it to match your own night and every result shifts with it, instead of being built on someone else's average.
Three modes, one page
Work backwards from your alarm, forwards from bedtime, or plan a nap that ends before your afternoon meeting. No switching sites and no second calculator.
Ranked, not just listed
Each option is scored against the sleep range for your age group, so you can see at a glance which times are ideal, which are workable, and which leave you short.
Age-aware targets
A 15-year-old and a 70-year-old do not need the same amount of sleep. Choose your age band and the recommendation adjusts to published sleep-duration guidance.
Instant and private
Everything runs in your browser. Nothing is uploaded, nothing is stored, and there is no sign-up wall between you and the answer.
Copy and share in one tap
Send your schedule to yourself, a partner, or a parent tracking a child's bedtime. One button copies every option as clean readable text.
How to use the sleep calculator
Four steps, about fifteen seconds. There is nothing to install and nothing to sign up for.
Pick your direction
Choose whether you are working backwards from a fixed alarm, forwards from the time you are heading to bed, or planning a nap.
Enter the time
Type or tap the time into the field. On a phone this opens your native time picker, so it stays fast and familiar.
Tune the two personal settings
Drag the fall-asleep slider to match how long you usually lie awake, then select your age group so the ranking reflects how much sleep you actually need.
Read the ranked options
The highlighted row is your best fit. Each row shows the sleep duration, the number of complete cycles, and a visual strip of those cycles across the night.
Why waking between sleep cycles matters
A night of sleep is not one flat block. You move through repeating cycles of light sleep, deep sleep, and REM, each running roughly 90 minutes. Where your alarm lands inside that pattern changes how the morning feels.
- Less grogginess on waking. Being pulled out of deep sleep produces sleep inertia, the heavy foggy feeling that can linger for up to half an hour. Waking near the end of a cycle, in lighter sleep, makes that transition much gentler.
- A bedtime you can defend. Once you can see that a 6:30 alarm means lights out by 10:45, the decision to close the laptop stops being vague and becomes a specific time.
- Realistic short nights. On nights when you cannot get a full eight hours, a cycle-aligned six hours often beats a badly timed seven, because you are not cutting a cycle in half.
- Naps that help instead of hurt. The 20 and 90 minute options exist for a reason. Waking at the 45 minute mark usually means climbing out of deep sleep and feeling worse than before you lay down.
- A schedule you can repeat. Consistency matters more than any single perfect night. Fixed times make it far easier to keep the same rhythm on weekends.
How much sleep do you need by age?
These ranges reflect widely used sleep-duration guidance and are what the calculator uses to rank your results. Individual needs vary, so treat the range as a target and not a rule.
| Age group | Recommended sleep | Full 90-minute cycles | What that looks like |
|---|---|---|---|
| Child, 6 to 13 | 9 to 11 hours | 6 to 7 cycles | Asleep by 8:30pm for a 7:00am start |
| Teen, 14 to 17 | 8 to 10 hours | 5 to 7 cycles | Asleep by 10:00pm for a 7:00am start |
| Adult, 18 to 64 | 7 to 9 hours | 5 to 6 cycles | Asleep by 11:00pm for a 6:30am start |
| Older adult, 65+ | 7 to 8 hours | 5 to 6 cycles | Asleep by 10:45pm for a 6:15am start |
Sleep calculator FAQs
What time should I go to bed if I want to wake up at 6am?
Counting back in 90-minute cycles from a 6:00am alarm and allowing 15 minutes to fall asleep, the strongest options are 9:00pm for six cycles, which is nine hours of sleep, or 10:30pm for five cycles, which is seven and a half hours. Both land you in lighter sleep as the alarm goes off. If your own fall-asleep time is longer or shorter, change the slider and the bedtimes shift to match.
How many hours of sleep do I actually need?
Most adults between 18 and 64 do best on seven to nine hours. Teenagers need eight to ten, school-age children need nine to eleven, and adults over 65 tend to settle around seven to eight. These are ranges rather than targets, so use how you feel during the afternoon as the real test. Needing caffeine to get through the day is usually a better signal than any number.
Is the 90-minute sleep cycle accurate for everyone?
Ninety minutes is an average, not a fixed constant. Real cycles range from roughly 70 to 120 minutes and they change across the night, with deep sleep dominating early cycles and REM stretching longer towards morning. That is why this calculator gives you several options instead of one answer. Try a couple over a week and keep the one that leaves you clearest in the first ten minutes after waking.
Why does this calculator add time for falling asleep?
Because getting into bed is not the same as being asleep. The gap between the two is called sleep latency, and for most healthy sleepers it runs from about 10 to 20 minutes. If a calculator ignores it, every bedtime it gives you is wrong by that amount and the alarm lands mid-cycle. Most tools hardcode 14 minutes. This one lets you set anything from 0 to 45 so the maths matches your night.
Is 6 hours of sleep enough?
For the large majority of adults, no. Six hours sits below the recommended range and the effects on attention and mood build up night after night, even when it stops feeling difficult. Where cycle timing helps is on the nights it cannot be avoided. Six hours is exactly four complete cycles, so if you have to run short, a cycle-aligned six often feels better than an awkwardly timed six and a half.
What is the best nap length?
Twenty minutes is the safest choice for alertness because you stay in light sleep and wake without grogginess. Sixty minutes helps more with memory but you may wake during deep sleep and feel rough for a while. Ninety minutes completes a full cycle and gives you REM without the heavy landing. Keep naps to the early afternoon, since anything after about 3pm starts eating into your night.
Does waking between cycles really reduce morning grogginess?
The mechanism behind it is well documented. Sleep inertia is strongest when you are woken out of deep slow-wave sleep and it can blunt alertness for anywhere from a few minutes to half an hour. Waking during lighter sleep near the end of a cycle avoids the worst of it. What cycle timing cannot do is replace missing sleep, so treat it as a way to improve a good night rather than rescue a short one.
Can I use this sleep calculator as a shift worker?
Yes. The maths does not care whether your sleep block starts at 11pm or 9am, so enter your actual bedtime or your actual alarm and the cycle options work the same way. Night shift sleep is usually shorter and lighter because it runs against your body clock, so the six-cycle option is worth aiming for when you can, and a dark, cool, quiet room matters more than it does at night.
Turn one good night into a routine
A calculated bedtime only works if it survives contact with a real evening. Pick the option you can actually keep on a Tuesday, hold it for a fortnight including weekends, and judge it on how the first ten minutes after waking feel rather than on how long you slept.
Find your bedtime in fifteen seconds
Set your alarm time, tune the two personal settings, and get every cycle-aligned option ranked for your age group. Free, private, and no sign-up.
Use the sleep calculatorWant the habits behind the times? Read how to improve sleep hygiene, what actually fixed my sleep, and magnesium for sleep and anxiety.