Bedtime Math

When should you go to bed?

Count back from your alarm in whole sleep cycles. Here is a 6:30 AM wake-up; change it to yours.

Plan from
Adjust the assumptions

To wake up at 6:30 AM, get into bed at one of these times:

12345
  1. 10:45 PM 22:45 in bed
  2. 11:00 PM 23:00 asleep
  3. 12:30 AM 00:30 cycle 1 ends
  4. 2:00 AM 02:00 cycle 2 ends
  5. 3:30 AM 03:30 cycle 3 ends
  6. 5:00 AM 05:00 cycle 4 ends
  7. 6:30 AM 06:30 alarm, end of cycle 5

Each dip is one 90-minute cycle, after 15 minutes to fall asleep. Your own cycles vary from person to person and night to night, so read these as the middle of a window, not an exact minute.

The math runs in your browser. Nothing is sent anywhere. How the calculator works

More tools

Recommended sleep by age

0–3 months
14–17 h
4–12 months
12–16 h
1–2 years
11–14 h
3–5 years
10–13 h
6–12 years
9–12 h
13–17 years
8–10 h
18–60 years
7+ h
61–64 years
7–9 h
65 years and older
7–8 h

Hours per 24 hours; up to age 5 they include naps. From the CDC table. Read the full guide.

Guides