Page updated

Sleep calculator: bedtime and wake-up times

Pick the time you need to be up.

Sleep calculator

Late already? You still get wake-up times to pick from, with any short night labeled.

Age: Adult18–60

Up at 6:30 AM? An adult's suggested bedtime is 10:45 PM. That leaves room for 5 sleep cycles of 90 minutes and 15 minutes to fall asleep.

Lull app: Rain stops at 6:29 am and fades out from 6:24 am

There’s no perfect night, only a better-planned one.

The Lull app has the same bedtime calculator, plus 6 sleep sounds that stop a minute before your phone’s alarm.

See the Lull app

When these times can be off

The calculator uses one cycle length for everyone. The NHLBI gives a range of 80 to 100 minutes, and cycles also vary from one night to the next, so a time that ends exactly on a cycle for the arithmetic may not do so for you. It cannot know how long you take to fall asleep, whether you wake during the night, or how much sleep you personally need. The age ranges are the CDC's recommendations for groups, not a measure of one person.

See a doctor if you regularly take more than 30 minutes to fall asleep, which NIOSH lists among the symptoms to raise with a health care provider, or if you still feel tired after enough sleep. For a child or teen, ask the child's doctor about ongoing trouble settling or loud snoring. This page is general information, not medical advice: read our disclaimer.

What’s keeping you up?

The front of a tall apartment block at night, some windows lit and many dark
The calculator starts at the time you need to be up and counts back to a bedtime. Photo: Matthew Henry, CC0, via Wikimedia Commons

How the sleep calculator works

Lull turns public sleep research into a bedtime to aim for, and shows every source below.

Sleep runs in repeating cycles of lighter sleep, deep sleep and REM sleep. For naps, NIOSH's training for nurses says that waking at about 90 minutes, the predicted end of a sleep cycle, may leave less grogginess, because you are likely to wake from lighter sleep. The calculator applies that idea to a night's sleep: ending on a whole cycle is our planning method, not a published rule for the night. It counts whole cycles of 90 minutes back from the time you need to wake up, or forward from the time you go to bed, and adds 15 minutes for falling asleep. Both figures are studio rules, and the table further down says where each one comes from.

The age group only changes how many cycles the calculator suggests. It picks the fewest whole cycles that give more than the bottom of the CDC's recommended range for that group, then shows 1 option with fewer cycles and up to 2 with more. Options outside the group's range are labelled, so a short night is never presented as enough.

Worked example: an adult with an early alarm

An adult needs to be up at 6:30 AM. The suggestion is 5 cycles: 5 × 90 minutes is 7 h 30 min of sleep, which is more than the CDC's 7 h or more for adults. Add 15 minutes to fall asleep and the bedtime is 10:45 PM. One cycle fewer gives 12:15 AM, which the calculator marks as below the range; one more gives 9:15 PM.

The other direction works the same way. Going to bed at 11:00 PM with 5 cycles puts the alarm at 6:45 AM the next morning. A teenager with the same 6:30 AM alarm gets 6 cycles and a bedtime of 9:15 PM, because the CDC range for teens (8–10 h) starts higher.

Reading the night strip and the other options

The large time is the suggestion. The night strip under it draws the night as one bar per cycle, with the time each cycle ends, so you can see where the alarm lands. The cards below it are the other options. Under the cards, the result lists what drove the time and links each figure to its row in the table at the bottom of this page, with the source, its tier and the date we last read it.

advertisement

Sleep cycles: what the sources say

The NIH/NHLBI says the cycle starts over every 80 to 100 minutes and that there are usually 4 to 6 cycles a night. The NIH/NINDS says REM sleep first occurs about 90 minutes after falling asleep. Neither gives one length for everybody. We count in 90 minutes because it sits inside the NHLBI range and matches the first REM timing, and we label it a studio rule rather than a published figure.

Why add time to fall asleep

Nobody falls asleep the moment the light goes off, so a bedtime that ignores that would cut the last cycle short. We allow 15 minutes. NIOSH's training for shift-working nurses says that normal sleep onset takes up to about 25 minutes, so our allowance sits inside what it calls normal. If you usually take longer, the result shows the difference: with 25 minutes, the 6:30 AM example above moves to a bedtime of 10:35 PM.

Close-up of a bed with white pillows and a rumpled sheet, in dim light
The bedtime it gives already includes the minutes it takes to fall asleep. Photo: Liz Lawley, CC BY-SA 2.0, via Wikimedia Commons; cropped and darkened, shared under the same license

What time to go to bed if you wake up at 6, 6:30 or 7

For an adult, the suggested 5 cycles give these bedtimes: 6:00 AM alarm, bed at 10:15 PM; 6:30 AM alarm, bed at 10:45 PM; 7:00 AM alarm, bed at 11:15 PM. Each is 7 h 30 min of sleep plus the 15 minutes to fall asleep. Choose a different age group in the calculator and the count, and so the times, change.

When cycle timing helps least

Cycle timing is a planning aid. It helps most when you control your bedtime and have a fixed alarm, and least when your sleep is broken or your hours change from day to day. Night work is the clearest case: sleeping in daylight after a shift follows different guidance, which the night-shift sleep planner turns into clock times. For a nap, the nap planner works out a length that avoids waking from deep sleep.

The values behind these times

Each row is one value the calculator uses, with its tier: Primary = read off the source page, Studio rule = our own choice, with the reason given. The results above link to these rows.

ValueTierSource
Cycle length the calculator counts in
90 min
Studio ruleOur rule, leaning on NIH/NHLBI, 2022
Sleep cycle length, low end of the published range
80 min
PrimaryNIH/NHLBI, 2022
Sleep cycle length, high end of the published range
100 min
PrimaryNIH/NHLBI, 2022
Cycles in a night, usual low
4 cycles
PrimaryNIH/NHLBI, 2022
Cycles in a night, usual high
6 cycles
PrimaryNIH/NHLBI, 2022
First REM sleep after falling asleep
90 min
PrimaryNIH/NINDS, 2025
Time allowed to fall asleep
15 min
Studio ruleOur rule, leaning on CDC/NIOSH, 2020
Normal sleep onset, upper figure
25 min
PrimaryCDC/NIOSH, 2020
Time to fall asleep that NIOSH lists as a symptom to raise with a health care provider
30 min
PrimaryCDC/NIOSH, 2020
US (CDC): recommended sleep, school age
6 to 12 years: 9 to 12 hours a day
PrimaryCDC, 2024
US (CDC): recommended sleep, teen
13 to 17 years: 8 to 10 hours a day
PrimaryCDC, 2024
US (CDC): recommended sleep, adult
18 to 60 years: 7 or more hours a day
PrimaryCDC, 2024
US (CDC): recommended sleep, adult
61 to 64 years: 7 to 9 hours a day
PrimaryCDC, 2024
US (CDC): recommended sleep, older adult
65 years and over: 7 to 8 hours a day
PrimaryCDC, 2024
Options shown around the suggested cycle count
1 fewer and up to 2 more than the suggestion
Studio ruleOur rule, leaning on CDC, 2024
Nap that ends at the end of a sleep cycle
90 min
PrimaryCDC/NIOSH, 2020

Quotes, notes and the date we last read each source are on the methodology and sources page.

Sleep calculator questions

How does the sleep calculator work?

It counts whole sleep cycles of 90 minutes back from your wake-up time, or forward from your bedtime, and adds 15 minutes to fall asleep. The age group sets how many cycles it suggests, so the total lands inside the CDC's recommended hours for that group.

How long is a sleep cycle?

The NHLBI says the cycle starts over every 80 to 100 minutes. The calculator uses 90 minutes, a figure inside that range that also matches the NINDS statement that REM sleep first occurs about 90 minutes after falling asleep. It is a studio rule, not a measurement of your own cycles.

How many sleep cycles do I need?

The NHLBI says there are usually 4 to 6 cycles a night. The calculator suggests 5 for adults, 6 for teens and 7 for ages 6–12 years, the fewest whole cycles above the bottom of each CDC range. How many hours suit a given age is covered by the sleep need by age tool.

What time should I go to bed if I wake up at 6:30?

For an adult, 5 cycles plus 15 minutes to fall asleep gives a bedtime of 10:45 PM. One more cycle gives 9:15 PM. A teenager gets 9:15 PM, the same as that longer option, because the CDC's teen range starts at 8 hours, so the suggestion for teens is 6 cycles.

Why does the calculator add time to fall asleep?

So the last cycle is not cut short. The 15 minutes are our own allowance; NIOSH describes normal sleep onset as taking up to about 25 minutes.

Can I plan a nap with this calculator?

Not any more. Naps follow different rules from a night's sleep, so they have their own tool: the nap planner gives a nap length, an alarm time and the latest start that keeps tonight's bedtime clear.

Is what I enter stored anywhere?

No. The times are worked out in your browser. The share link holds only the mode, the time and the age group you chose. There’s no link until you tap Share.

More questions about the site, its sources and privacy are answered in the Lull FAQ.

Latest guides

All guides

Why Lull exists

Sleep guidance is public. The NIH, the CDC and NIOSH publish it, free to read. Very little of it comes as the thing you need at bedtime: a time on the clock. Lull does that last step and shows its work, figure by figure.

Why Lull exists →

Free, no sign-up · your answers stay in your browser · every figure listed with its source.

Why trust these numbers

The site is free and carries ads, which never change a time. The app is free with one banner ad, and $1.99 once removes it.