Sleep Calculator

Optimize your rest under a calm night sky with 90-minute sleep cycles. Select your target wake-up or bedtime in 12-hour format (allowing 15 minutes to fall asleep) to wake up refreshed at the end of a cycle.

Schedule & time (12-hour US format)

What This Sleep Calculator Does

Waking up in the middle of a deep sleep cycle can leave you groggy, even after a full night in bed. This sleep calculator helps you plan around that. Tell it what time you want to wake up, or what time you plan to go to bed, and it suggests times that line up with the end of a 90-minute sleep cycle. It also allows 15 minutes for you to fall asleep.

Worth knowing: 90 minutes is an average, and everyone’s sleep is a little different. Treat the results as a good starting point, not a medical rule. This tool is for planning and general information only.

It works in your browser, looks fine on a phone, tablet or computer, and doesn’t ask you to sign up.

How to Use It

  1. Choose the hour and minute. The hour list runs from 1 to 12, and the minutes go up in steps of five. It starts at 7:00.
  2. Pick AM or PM. The calculator uses the 12-hour US format.
  3. Choose your goal. Select “Wake up at” if you know when you need to get up, or “Go to bed at” if you know when you’ll be going to bed.
  4. Press Calculate sleep times. Your results appear right below the button.
  5. Share it or change the mood. The round icons send the page by WhatsApp, Facebook, X, LinkedIn, Telegram or email, or copy its link. The coloured squares switch between five night-sky moods, and the arrows icon opens full screen.

What the Results Show

You’ll see three large boxes, one for each option, each with a time, the number of sleep cycles and the total hours of sleep:

  • 6 cycles (9 hours), labelled “Restful”: the most sleep of the three options.
  • 5 cycles (7.5 hours), labelled “Ideal”: a good fit for most adults.
  • 4 cycles (6 hours), labelled “Quick”: a shorter night for when you’re short of time.

Below the boxes is a list that repeats your chosen time, the three suggestions, and a reminder that the calculator allows 15 minutes to fall asleep. If you choose “Wake up at”, the suggestions are bedtimes. If you choose “Go to bed at”, they’re wake-up times.

How the Times Are Worked Out

The maths is simple. For each option, the calculator uses the number of cycles multiplied by 90 minutes, then adds 15 minutes to fall asleep.

  • Wake up at: bedtime = wake-up time − (cycles × 90 minutes + 15 minutes)
  • Go to bed at: wake-up time = bedtime + 15 minutes + (cycles × 90 minutes)

Example: you need to wake up at 7:00 AM

CyclesSleep timeGo to bed at
6 (Restful)9 hours9:45 PM
5 (Ideal)7.5 hours11:15 PM
4 (Quick)6 hours12:45 AM

Example: you go to bed at 11:00 PM

CyclesSleep timeWake up at
6 (Restful)9 hours8:15 AM
5 (Ideal)7.5 hours6:45 AM
4 (Quick)6 hours5:15 AM

The 15-minute allowance is fixed. If you usually take longer to drift off, simply go to bed a little earlier than the suggestion. If you fall asleep very quickly, you may find you have some extra time.

Which Option Should You Choose?

  • Five cycles (7.5 hours) is a sensible default for most adults, since it falls within the 7 to 9 hours that most sleep experts recommend.
  • Six cycles (9 hours) suits times when you need extra rest, such as when you’re recovering from a short week or feeling run down.
  • Four cycles (6 hours) is best kept for the occasional short night. Regularly getting less sleep than you need can affect your mood, focus and health.

Whichever you pick, try to keep your wake-up time steady from day to day. A regular schedule is one of the most helpful sleep habits.

Sleep Cycles in Plain Language

Through the night, your brain moves in a loop through light sleep, deep sleep and REM sleep, which is when most vivid dreaming happens. One full loop takes around 90 minutes on average, though it can be shorter or longer for different people and at different times of night.

Deep sleep is harder to wake from, so being roused in the middle of it can leave you feeling heavy and foggy. Waking near the end of a cycle, when your sleep is lighter, often feels easier. That’s the idea behind this calculator. It’s a helpful rule of thumb, though not a guarantee. How rested you feel also depends on your total sleep and how consistent your routine is.

The 12-Hour Clock

  • AM covers the hours after midnight and before noon. PM covers the hours after noon and before midnight.
  • 12:00 AM is midnight, the start of a new day.
  • 12:00 PM is noon.

If you’re used to the 24-hour clock, 7:00 AM is 07:00, 11:15 PM is 23:15, and 12:45 AM is 00:45.

How Much Sleep Do You Need?

It depends mostly on your age. These are commonly cited recommendations per 24 hours:

Age groupRecommended sleep
Newborns (0–3 months)14–17 hours
Infants (4–11 months)12–15 hours
Toddlers (1–2 years)11–14 hours
Preschool (3–5 years)10–13 hours
School age (6–13 years)9–11 hours
Teens (14–17 years)8–10 hours
Adults (18–64 years)7–9 hours
Older adults (65+ years)7–8 hours

These are guidelines, not strict rules. The 90-minute cycle idea is mainly meant for older children, teens and adults, because babies and toddlers have shorter cycles and different routines. If you often feel sleepy during the day even after enough hours in bed, it’s worth mentioning to a doctor.

Tips for Better Sleep

  • Keep a regular schedule, including weekends, so your body clock stays steady.
  • Get daylight in the morning. It helps set your internal clock.
  • Make the room dark, quiet and cool. Many people sleep best at around 18 °C (65 °F).
  • Wind down. Dim the lights and put screens away for 30 to 60 minutes before bed.
  • Watch caffeine and alcohol. Caffeine late in the day can delay sleep, and alcohol can make your sleep lighter and more broken later in the night.
  • Skip big meals right before bed.
  • Move during the day. Regular exercise supports better sleep, though a hard workout right before bed can keep some people awake.
  • If you can’t sleep, don’t lie there for ages. After about 20 minutes, get up, do something calm in low light, and go back when you feel sleepy.
  • Keep naps short, around 20 to 30 minutes and earlier in the day.

Waking Up Feeling Better

Even after a good night, it’s normal to feel groggy for a little while after you wake. This is called sleep inertia. A few things can help:

  • Open the curtains or switch on a light as soon as you’re up.
  • Drink a glass of water and move around for a few minutes.
  • Put the alarm across the room so you have to get up to switch it off.
  • Try not to hit snooze again and again, since it can leave you more tired.

When to Talk to a Doctor

A calculator can’t fix a sleep problem. Think about speaking to a healthcare professional if you:

  • often can’t fall asleep or stay asleep, or wake far too early, over several weeks,
  • snore loudly, seem to stop breathing for a moment, or wake up gasping,
  • feel very sleepy in the daytime or doze off at the wrong times,
  • get an uncomfortable urge to move your legs at night, or
  • find that poor sleep is affecting your mood, work or safety.

Drowsiness is a real danger when driving. If you feel sleepy at the wheel, pull over somewhere safe and rest.

Questions People Ask

How does a sleep calculator work?

It counts in 90-minute sleep cycles and adds time to fall asleep. Then it suggests bedtimes or wake-up times that end a cycle.

Why does it add 15 minutes?

Most people don’t fall asleep the moment they lie down. Fifteen minutes is a reasonable average. If you take longer, go to bed a little earlier.

Why does it only show 4, 5 and 6 cycles?

Those give 6, 7.5 and 9 hours, which cover the realistic range for most adults. Fewer than four cycles would be too little sleep to recommend.

What does “Ideal” mean?

It marks five cycles, or 7.5 hours, which sits comfortably inside the 7 to 9 hours recommended for most adults.

Is a 90-minute cycle right for everyone?

No. It’s an average, and yours might be a bit shorter or longer. Try the suggestions for a week or two and adjust based on how you feel.

Can I use it for a nap?

The calculator is designed for a night’s sleep. For naps, a short one of 20 to 30 minutes, or a full 90-minute one, is usually easier to wake from than something in between.

Does the calculator save my times?

No. The calculator doesn’t send your times anywhere; everything is worked out in your own browser. The only thing it may remember on your device is the night-sky mood you pick.

Please note: this tool is for general information and is not medical advice. If you’re worried about your sleep or your health, please speak to a qualified healthcare professional.