N
NJHTools

Sleep Calculator

Find the best time to go to bed or wake up. Sleep runs in cycles of about 90 minutes, so the calculator counts whole cycles plus the time it takes you to fall asleep, and marks the options that give the hours recommended for your age.

I want to wake up at

Bedtimes to wake up at 7:00 AM

  • 9:45 PM

    6 cycles · 9 h sleepRecommended

  • 11:15 PM

    5 cycles · 7.5 h sleepRecommended

  • 12:45 AM

    4 cycles · 6 h sleep

  • 2:15 AM

    3 cycles · 4.5 h sleep

Includes 15 min to fall asleep and 90-minute sleep cycles. Recommended = 7–9 hours, the range for adults (18–64). Reminders download as a calendar event (.ics) with an alert.

Estimates based on average sleep cycles. Not medical advice; talk to a doctor about ongoing sleep problems.

Settings90-min cycles · 15 min to fall asleep
Clock

A typical sleep cycle lasts about 90 minutes, but it varies from person to person and night to night. Hours by age are the National Sleep Foundation's recommended ranges, as general guidance, not medical advice.

How to use the sleep calculator

  1. Pick what you know. Choose Wake up at… if you know when your alarm goes off, Go to bed at… if you know when you will turn in, or Sleep now to start from the current time.
  2. Set the time. Pick the hour, minutes and AM or PM, or press Use current time (the clock follows your device, or choose 12-hour or 24-hour under Settings). The results update straight away; there is no button to press.
  3. Choose an option. Each card shows a bedtime or wake-up time for 6, 5, 4 or 3 full sleep cycles and the hours of sleep it gives. Cards marked Recommended fall within the range for your age group, and a wake-up time on the following day is tagged next day.
  4. Fit it to your sleep. Open Settings to change the time to fall asleep (15 minutes by default) if you usually take longer or shorter to drop off, the sleep cycle length (80 to 110 minutes) and your age group. Reset to 90 / 15 min brings back the defaults.
  5. Save a reminder. Press Bedtime reminder or Wake-up alarm on a card to download a calendar file (.ics) and open it to add the event, with a pop-up alert, to your calendar app. Copy times copies all four options as text.

How sleep cycles work

A night of sleep is made of several cycles. Each one moves from light sleep into deep sleep and then into REM sleep, when most vivid dreaming happens.

A cycle lasts about 90 minutes on average, but it is typically somewhere between about 70 and 120 minutes and varies from person to person and through the night. Early cycles hold more deep sleep; later ones more REM sleep.

Waking from light sleep near the end of a cycle tends to feel easier than being woken from deep sleep, which can leave you groggy for a while (sleep inertia). That is why the calculator counts whole cycles.

The total matters most: general guidance from the National Sleep Foundation is 8 to 10 hours for teens aged 14 to 17, 7 to 9 hours for adults aged 18 to 64 and 7 to 8 hours for adults 65 and older, and the CDC and the American Academy of Sleep Medicine recommend at least 7 hours a night for adults.

This calculator gives general information for planning, not medical advice. If you regularly struggle to fall or stay asleep, snore loudly, or feel very sleepy during the day despite enough time in bed, talk to a doctor.

Frequently Asked Questions

How does the sleep calculator work?↓

Sleep runs in repeating cycles of light, deep and REM sleep, each about 90 minutes long on average. The calculator counts back from your wake-up time, or forward from your bedtime, in whole cycles and adds the time it takes to fall asleep (15 minutes by default), so that you wake near the end of a cycle, when sleep is lighter, rather than in the middle of deep sleep.

What time should I go to bed if I wake up at 7 AM?↓

With 90-minute cycles and 15 minutes to fall asleep: 9:45 PM for six cycles (9 hours of sleep), 11:15 PM for five cycles (7.5 hours), 12:45 AM for four cycles (6 hours) or 2:15 AM for three cycles (4.5 hours). For most adults, 9:45 PM or 11:15 PM gives the recommended 7 to 9 hours.

What time should I wake up if I go to bed now?↓

Choose Sleep now: the calculator takes the current time, adds the time to fall asleep and lists wake-up times after 6, 5, 4 and 3 full cycles. For example, going to bed at 11 PM gives 8:15 AM, 6:45 AM, 5:15 AM or 3:45 AM with the default settings.

How long is a sleep cycle?↓

About 90 minutes on average, but it varies between people and through the night, typically somewhere between about 70 and 120 minutes. If 90 minutes doesn't match how you tend to wake, open Settings and set the cycle length anywhere from 80 to 110 minutes; the Recommended options move with it.

How many hours of sleep do I need?↓

General guidance from the National Sleep Foundation is 8 to 10 hours for teenagers aged 14 to 17, 7 to 9 hours for adults aged 18 to 64 and 7 to 8 hours for adults 65 and older. The CDC and the American Academy of Sleep Medicine likewise recommend at least 7 hours a night for adults. Needs differ from person to person; choose your age group under Settings and the calculator marks the options in that range.

Why does it add time to fall asleep?↓

Most people don't fall asleep the moment they lie down, and sleep cycles only start once you are asleep. The default is 15 minutes; set it from 0 to 60 minutes to match how long you usually take, so a bedtime is the time to be in bed with the lights off.

Is it better to wake up at the end of a sleep cycle?↓

Waking from light sleep tends to feel easier than waking from deep sleep, which can cause a groggy feeling called sleep inertia. But cycles are not exactly 90 minutes and shift from night to night, so treat the times as a starting point, not a guarantee. Getting enough sleep on a regular schedule matters more than hitting an exact cycle boundary.

Can it set an alarm or a bedtime reminder?↓

Each option has a Bedtime reminder or Wake-up alarm button that downloads a calendar file (.ics). Opening it adds a one-time event with a pop-up alert to Apple Calendar, Outlook or another calendar app, for the next time that bedtime or wake-up time comes round. A website can't set your phone's alarm app, and whether the alert goes off depends on the calendar (some imports, such as into Google Calendar, may drop it), so set your usual alarm for the wake-up time as well. The page itself plays no sound.

Is it medical advice? Is my data private?↓

No, it is general information for planning, not medical advice, and it doesn't track your sleep. If you regularly struggle to sleep, snore loudly or feel very tired during the day despite enough time in bed, talk to a doctor. Everything is calculated in your browser; your times and settings are remembered only in this browser and are never sent to a server.

All Calculators →

Last updated: