Sleep calculator
Not sure? Leave it at 15 minutes. Falling asleep within 30 minutes is counted as a sign of good sleep.
Enter the time you need to wake up to see when to go to bed.
Runs in your browser. Nothing you type is sent or saved unless you take it into your plan.
Turn this into a plan
The app puts a sleep target and a bedtime window in your plan, keeps a log of your nights, and can remind you when it is time for bed.
Free to start. No card needed.
What this calculator does
It turns the amount of sleep adults are advised to get into clock times. Tell it when you need to wake up and it gives you a window to be in bed. Tell it when you are going to bed and it gives you the times that would make 7, 8 and 9 hours of sleep.
The amount comes from a consensus of the American Academy of Sleep Medicine and the Sleep Research Society: adults should sleep 7 or more hours a night on a regular basis. The same statement says more than 9 hours may be right for young adults, for people recovering from short sleep, and for people who are ill, and that for others it is uncertain whether more than 9 hours carries any risk 1. So the calculator aims for 8, and shows 7 and 9 beside it.
How it works it out
- Latest bedtime is your wake time, less 8 hours of sleep, less the time you take to fall asleep.
- The window opens 30 minutes before that. Getting into bed anywhere in it gives you 8 to 8½ hours. A window is more honest than one exact minute: nobody falls asleep on schedule.
- Time to fall asleep is yours to set. If you leave it, we assume 15 minutes. That is an assumption, not a measured average for you. A National Sleep Foundation panel counted falling asleep within 30 minutes as one sign of good sleep 2.
- Times past midnight just wrap round the clock, so a 4:45 am start gives a bedtime the evening before and a 1 am bedtime gives a wake-up the same morning.
The 8 hours, the range of 7 to 9 and the 30-minute window are the Hewn app’s own sleep settings: the calculator reads the same settings the app uses when it sets a member’s plan. One difference: the app’s target is 8 hours in bed, so its “lights out by” time is exactly 8 hours before you wake. Here we add the time to fall asleep on top, so the times come out a little earlier.
Why it does not count 90-minute cycles
Through the night you move through the stages of sleep in cycles, four to six of them, averaging about 90 minutes each 3. Many sleep calculators take that average as fixed and give you bedtimes in 90-minute steps, promising you will wake “between cycles”.
The average is real. The precision is not.
- In 6,064 cycles recorded in a sleep lab from 369 healthy people, the median cycle was 96 minutes, the spread between people was large, and the first cycle of the night was consistently shorter than the rest 4.
- In another set of recordings, healthy young adults’ cycles averaged 90 minutes with a standard deviation of 22 minutes 5. Over five cycles, being 10 minutes a cycle off the formula puts you 50 minutes off by morning.
- Waking from deep sleep does make the groggy spell after waking (sleep inertia) worse than waking from light sleep, and that spell rarely lasts more than 30 minutes without serious sleep loss 6. But we found no trial showing that setting an alarm by a 90-minute formula makes people feel better in the morning.
So the calculator shows the cycle-based times as a rough rule, lower down and labelled as such, and leads with hours of sleep, which is what the evidence is about.
What it cannot know
- How much sleep you actually need. 7 to 9 hours is advice for adults in general 1. If you wake rested and stay alert all day, your own amount is probably within it.
- How long you lie awake in the night. Time in bed is not time asleep. If you wake for long stretches, aim for the earlier end of the window.
- Shift work and travel. The arithmetic works at any hour, but sleeping against your body clock is harder than the numbers suggest.
- Whether something is wrong. It is not medical advice and cannot spot a sleep problem. If you often struggle to fall asleep or stay asleep, or feel sleepy through the day despite enough time in bed, see a doctor.
How to use the times
Pick a bedtime in the window and keep to it, weekends included. A systematic review of 59 studies linked irregular bed and wake times with worse mood and metabolic health, though those studies show an association, not proof that fixing your times causes the difference 7.
If coffee or pre-workout might be keeping you up, the caffeine cut-off calculator works back from the bedtime you choose here. For what the 90-minute rule gets right and wrong, and why sleep matters for lifting, read Is the 90-minute sleep cycle real?
Sources
- 1Watson and others, 2015. Recommended amount of sleep for a healthy adult: a joint consensus statement of the American Academy of Sleep Medicine and Sleep Research Society. Journal of Clinical Sleep Medicine (also published in Sleep). doi.org/10.5664/jcsm.4758
- 2Ohayon and others, 2017. National Sleep Foundation’s sleep quality recommendations: first report. Sleep Health. pubmed.ncbi.nlm.nih.gov/28346153/
- 3Patel, Reddy, Shumway and Araujo, 2024. Physiology, sleep stages. StatPearls (a medical reference text, not a study). ncbi.nlm.nih.gov/books/NBK526132/
- 4Cajochen and others, 2024. Ultradian sleep cycles: frequency, duration, and associations with individual and environmental factors. A retrospective study. Sleep Health. pubmed.ncbi.nlm.nih.gov/37914631/
- 5Rosenblum and others, 2025. Fractal cycles of sleep, a new aperiodic activity-based definition of sleep cycles. eLife. doi.org/10.7554/eLife.96784
- 6Tassi and Muzet, 2000. Sleep inertia. Sleep Medicine Reviews. pubmed.ncbi.nlm.nih.gov/12531174/
- 7Kalkanis, Lenkens, Steiropoulos and Testelmans, 2025. Sleep regularity as an important component of sleep hygiene: a systematic review. Sleep Medicine Reviews. pubmed.ncbi.nlm.nih.gov/41259946/