Sleep Calculator
Plan a bedtime or wake-up time around your sleep needs. Compare age-based sleep-duration guidance, allow for the time it takes you to fall asleep and optionally explore approximate sleep-cycle timing.
Build your sleep schedule
Start with when you need to wake up or go to bed. The main calculation prioritises total sleep duration rather than assuming every sleep cycle lasts exactly 90 minutes.
Your sleep plan will appear here
Choose your schedule, age group and estimated time to fall asleep to compare practical sleep-duration options.
Suggested schedule
This optional view uses a simplified 90-minute cycle model. Real sleep cycles vary between people and throughout the night, so treat these as planning estimates rather than precise biological wake-up points.
Plan around sleep duration first, cycles second
A sleep calculator can help you work backwards from a required wake-up time or forwards from bedtime. CalcNest starts with general sleep-duration guidance for your age group and allows for the time you expect to spend falling asleep. Approximate cycle timing is shown separately because real sleep cycles are not all exactly 90 minutes.
Start with your schedule
Enter when you need to wake up, when you plan to go to bed, or use your current device time if you are heading to bed now.
Choose an age group
Sleep-duration guidance changes with age. The calculator uses your selected group to put each planning option into context.
Allow time to fall asleep
Bedtime and sleep time are not necessarily the same. Your selected sleep-onset allowance is included when the schedule is calculated.
How much sleep should you plan for?
Sleep needs vary between people, but age-based recommendations provide a useful starting point. The calculator uses the following general guidance when displaying your planning options.
Recommended daily sleep duration for teenagers in this age group.
Adults aged 18โ60 are advised to get at least seven hours.
General recommended daily sleep duration for ages 61โ64.
General recommended daily sleep duration for adults aged 65 and over.
How the Sleep Calculator works
The main calculation is deliberately simple and transparent. It combines a chosen sleep duration with your estimated time to fall asleep and the schedule you enter.
Bedtime = wake time โ sleep duration โ sleep-onset allowance
Wake time = bedtime + sleep-onset allowance + sleep duration
Are sleep cycles really 90 minutes?
Ninety minutes is useful as a rough planning shortcut, but human sleep does not run on a perfectly fixed 90-minute timer.
During sleep, you move through non-REM and REM sleep. According to the National Heart, Lung, and Blood Institute, the cycle generally starts over every 80 to 100 minutes and people typically experience four to six cycles during a night.
That variation is why CalcNest does not build the main bedtime recommendation around exact 90-minute blocks. The optional cycle explorer uses 90 minutes only as a simplified midpoint for people who want to explore traditional cycle-based timing.
Waking at a calculated cycle boundary also does not guarantee that you will wake feeling refreshed. Sleep duration, sleep quality, timing, regularity and individual circumstances all matter.
Why does the calculator ask how long you take to fall asleep?
Time in bed is not automatically the same as time asleep. If you want eight hours of estimated sleep and normally allow 15 minutes to fall asleep, you need to get into bed roughly eight hours and 15 minutes before the planned wake-up time.
It is a planning allowance
The 5, 15, 30 and 45-minute choices simply let you adjust your schedule to better reflect your usual routine. They are not used to diagnose whether your sleep onset is normal or abnormal.
Your real night may differ
The time it takes to fall asleep can change from night to night. Stress, light exposure, caffeine, your schedule and other factors can influence when you actually fall asleep.
Sleep Calculator examples
These examples show how the calculator handles sleep duration and estimated sleep-onset time. They are planning examples rather than personalised sleep recommendations.
Wake up at 6:30 AM
Choose an 8-hour sleep planning example.
To wake at 6:30 AM, estimated sleep would begin around 10:30 PM.
Allowing 15 minutes to fall asleep gives a planned bedtime of 10:15 PM.
Go to bed at 10:30 PM
Enter 10:30 PM as the planned bedtime.
With a 15-minute allowance, estimated sleep begins around 10:45 PM.
Adding 8 hours of estimated sleep gives a planned wake-up time of 6:45 AM.
When a simple sleep schedule may be less useful
A calculator can organise times, but it cannot measure your actual sleep or account for every factor that affects sleep need, quality and timing.
Shift work
Overnight and rotating schedules can conflict with normal sleep-wake timing, so a simple bedtime calculation may not capture the full picture.
Ongoing sleep problems
Regular difficulty falling asleep, staying asleep or feeling rested cannot be assessed by this calculator.
Possible sleep disorders
Symptoms such as persistent excessive daytime sleepiness, disruptive snoring or breathing concerns need more than a calculated bedtime.
Individual circumstances
Health conditions, medications, recovery, sleep debt and other circumstances can affect how much sleep an individual needs.
Where the sleep guidance comes from
CalcNest uses established public-health and sleep-medicine sources for the guidance behind this calculator. The calculation itself is deterministic and does not use AI to generate your result.
Age-based daily sleep-duration guidance used for the calculator's age groups.
CDC โ About SleepSleep-stage information, including the approximate 80โ100 minute cycle range and typical four to six cycles per night.
NHLBI โ Sleep Phases and StagesConsensus recommendation that adults should regularly sleep seven or more hours per night to support optimal health.
AASM โ Adult Sleep Duration RecommendationSleep Calculator FAQs
Related health calculators
Explore other CalcNest tools for everyday health, energy and fitness planning.
Estimate your basal metabolic rate and daily energy use.
Estimate daily calorie needs and explore weight-goal planning.
Estimate a practical daily fluid range and track your intake.
Calculate running pace, finish time and distance.
Quick feedback
Was this calculator helpful?
One click helps us make CalcNest better.
Thanks for letting us know. Want to tell us a little more?
Tell us what you think
Your feedback helps us improve this calculator.
Your feedback has been submitted successfully.
