Two modes
Work out a bedtime from your wake-up time, or a wake-up time from your bedtime.
Work out bedtimes or wake-up times from age-based sleep recommendations, with your time to fall asleep and a visual timeline.
Start from what you already know: your wake-up time or your bedtime. Everything is calculated on your device.
Your usual estimate, 0 to 60 minutes
Suggestions are 30 minutes apart and are not based on 90-minute cycles: a cycle lasts roughly 80 to 100 minutes and varies between people and through the night.
For each duration in the range recommended for the chosen age group, the tool subtracts the sleep time and your estimated time to fall asleep from the wake-up time, or adds them to the bedtime. The durations come from the CDC table, which combines the consensus statements of the American Academy of Sleep Medicine and the National Sleep Foundation. Times that fall on another day are flagged.
What time should you go to bed to get enough sleep before the alarm? This calculator starts from your wake-up time, or your bedtime, and suggests times across the whole sleep range recommended for your age, taking into account how long it takes you to fall asleep.
The reference durations come from the table published by the US Centers for Disease Control and Prevention (CDC), which draws on two expert consensus statements: the American Academy of Sleep Medicine for children, teenagers and adults aged 18 to 60, and the National Sleep Foundation for adults 61 and over. Adults aged 18 to 60 should sleep at least 7 hours; teenagers aged 13 to 17, 8 to 10 hours.
For each duration in the range, in 30-minute steps, the tool subtracts the sleep time and the time to fall asleep from the wake-up time ("when to go to bed" mode), or adds them to the bedtime ("when to wake up" mode). Each suggestion separates the moment you go to bed, the estimated time you fall asleep and the wake-up time; the timeline puts them on one axis and flags times that cross midnight with "day before" or "next day".
Unlike many sleep calculators, this tool does not count 90-minute cycles. A sleep cycle, from non-REM to REM sleep, lasts about 80 to 100 minutes according to the National Heart, Lung, and Blood Institute (NHLBI), and its length varies between people and through the night. Promising a wake-up "at the end of a cycle" to the minute would be misleading.
"When to go to bed" if your wake-up time is fixed, "when to wake up" if you know your bedtime.
Time to fall asleep is your usual estimate; keep 15 minutes if you are not sure.
Each row shows the sleep duration, bedtime, time asleep and wake-up time, with the day before or next day flagged.
Work out a bedtime from your wake-up time, or a wake-up time from your bedtime.
Age ranges follow the AASM and National Sleep Foundation consensus statements published by the CDC.
Suggestions every 30 minutes, without claiming to time your alarm to a 90-minute cycle.
Two durations separate bedtime from wake-up time: the time to fall asleep and the sleep itself.
Bedtime = Wake-up − Sleep − Time to fall asleep
Wake-up = Bedtime + Time to fall asleep + Sleep
Times are calculated on a 24-hour clock: a result that crosses midnight is assigned to the day before or the next day.
Alarm at 5:15 for a train: with 15 minutes to fall asleep, the tool suggests going to bed between 20:00 and 22:00 the night before to sleep 7 to 9 hours.
For a 6 to 12-year-old who gets up at 7:00, the 9 to 12-hour range puts bedtime between 18:45 and 21:45 with 15 minutes to fall asleep.
In bed at 1:00, with 15 minutes to fall asleep, 7 hours of sleep take you to an 8:15 wake-up.
9 h of sleep: 07:00 − 9 h − 15 min = 21:45. For 7 h: 07:00 − 7 h 15 = 23:45.
Input
Wake-up 07:00; 18–60 years; 15 min to fall asleepResult
Bedtime between 21:45 and 23:45 the night before23:30 + 20 min = 23:50 asleep; + 8 h = 07:50 and + 10 h = 09:50.
Input
Bedtime 23:30; 13–17 years; 20 min to fall asleepResult
Wake-up between 07:50 and 09:50 the next dayAccording to the CDC table: 11 to 14 hours at 1–2 years and 10 to 13 hours at 3–5 years, naps included; 9 to 12 hours at 6–12; 8 to 10 hours at 13–17; 7 hours or more at 18–60; 7 to 9 hours at 61–64; and 7 to 8 hours from 65.
Sleep cycles are real, but they last roughly 80 to 100 minutes and change through the night. Adding up 90-minute blocks does not guarantee waking from light sleep; aiming for enough sleep at regular times is a better bet.
The time you usually need between turning off the light and falling asleep. 15 minutes is a starting point; adjust it from experience.
Before age one, sleep is spread over day and night with many naps, so a single bedtime makes no sense. Guidelines exist (12 to 16 hours per 24 hours from 4 to 12 months), but they belong to pediatric follow-up.
Not necessarily. According to the AASM consensus, more than 9 hours may be appropriate for young adults, people recovering from sleep debt and people who are ill. A lasting need for much more sleep than usual is worth discussing with a doctor.
No. The calculation runs in your browser; the share link only contains your inputs, in the page address.
Related tools
Tools similar or complementary to this one.
Calculate the duration between a start time and an end time, even past midnight.
Calculate your maximum heart rate (Tanaka, 220 − age, Gulati) and your five training zones, with the Karvonen method if you know your resting heart rate.
Estimate your total daily energy expenditure from your activity, compare the five levels and get guideline intakes for each weight goal.
Learn what body-fat percentage measures, how it differs from fat mass in kilograms and what to keep in mind when tracking changes over time.
Explore the study behind the FFMI 25 threshold, its normalization to 1.80 m and why this often-cited number should not be treated as an absolute boundary.