Health calculators

Sleep Calculator

Updated Nov 12, 2026 By Infinity Calculator Formulas Sources Medical disclaimer
Rate
Recommended: 7–9 hours
Average time it takes you to fall asleep
Average sleep cycle is 90 minutes
:

Bedtimes to wake up at 7:00 AM
:

You should go to bed at:
11:15 PM
This includes 15 minutes to fall asleep, giving you 7h 30m of sleep.
Adults (18–64) are recommended 7–9 hours of sleep.

Introduction

Sleep is one of the most important things your body needs to stay healthy. Our Sleep Calculator helps you figure out when to go to bed or wake up based on how sleep cycles work. A new sleep cycle starts about every 80 to 100 minutes.3 Simply enter when you need to wake up or when you plan to go to bed, and the calculator will show you times that line up with the end of full sleep cycles. Getting the right amount of sleep each night, usually 7 to 9 hours for adults, can improve your mood, memory, and overall health.

How to Use Our Sleep Calculator

Enter the time you need to wake up or the time you plan to go to bed, and this sleep calculator will show you times to sleep or wake up that line up with the end of full sleep cycles.

Wake-Up Time: Enter the time you need to wake up in the morning. The calculator will count backward in 90-minute sleep cycles, plus the time it takes you to fall asleep, to give you bedtimes.

Bedtime: Enter the time you plan to go to bed. The calculator will add the time it takes you to fall asleep, then count forward in 90-minute sleep cycles to show you wake-up times.

Time to Fall Asleep: Enter how many minutes it usually takes you to fall asleep after you get into bed. The default is 15 minutes. This helps the calculator give you more accurate results.

Sleep Cycles: The results list times for 6, 5, 4 and 3 full sleep cycles. Each cycle lasts 90 minutes unless you change the cycle length in Advanced Settings. Adults aged 18 to 64 need 7 to 9 hours of sleep per night.1 With 90-minute cycles, 5 cycles come to 7.5 hours and 6 cycles to 9 hours.

Understanding Sleep Cycles and How a Sleep Calculator Works

Sleep is not one long, steady state. Your brain moves through several sleep cycles each night, and a new cycle starts about every 80 to 100 minutes.3 The National Institute of Neurological Disorders and Stroke puts the first REM period about 90 minutes after falling asleep.2 A single cycle includes light sleep, deep sleep, and REM (rapid eye movement) sleep. REM sleep is when most dreaming happens, and dreaming may help you process your emotions. Your brain most likely needs both non-REM and REM sleep to store memories.2 Deep sleep triggers the release of a hormone that boosts muscle mass and helps repair cells and tissues.

Most people go through four to six complete sleep cycles per night, and you may wake up briefly between cycles.3 The grogginess you feel right after waking has a name: sleep inertia. Some studies find it is worse when you wake from deep sleep, though others find no link, and it can happen even after a full 8 hours of sleep.4 A sleep calculator times your bedtime or wake-up time so that your alarm goes off at the end of a full cycle. That timing does not guarantee you will wake up without grogginess.

How Much Sleep Do You Actually Need?

The amount of sleep you need depends on your age. The National Sleep Foundation's expert panel recommended these amounts in 2015.1

  • Newborns (0–3 months): 14–17 hours
  • Infants (4–11 months): 12–15 hours
  • Toddlers (1–2 years): 11–14 hours
  • Preschoolers (3–5 years): 10–13 hours
  • School-age children (6–13 years): 9–11 hours
  • Teenagers (14–17 years): 8–10 hours
  • Adults (18–64 years): 7–9 hours
  • Older adults (65+ years): 7–8 hours

Getting less sleep than your body needs on a regular basis leads to sleep debt. Sleep debt builds up over time and can cause problems with focus, mood, weight, heart health, and your immune system. Depending on how short of sleep you are, sleeping longer on weekends may not be enough to make up the sleep you missed.2

What Is Sleep Latency?

Sleep latency is the time it takes you to fall asleep after you get into bed. The calculator uses a default of 15 minutes, but you can adjust this in the advanced settings. If it takes you more than 30 minutes to fall asleep at night, or you feel sleepy during the day and fall asleep within 5 minutes whenever you have a chance to nap, see your health care provider, since these can be symptoms of a sleep disorder.5

Tips for Better Sleep

Using a sleep calculator is a great first step, but sleep hygiene (your daily habits around sleep) matters just as much. Here are simple things you can do to sleep better:

  • Keep a consistent schedule. Go to bed and wake up at the same time every day, including weekends.
  • Limit screen time before bed. The blue light from phones and tablets can suppress melatonin, the hormone that makes you sleepy.
  • Keep your room cool and dark. Keeping your bedroom quiet, dark, and at a cool temperature is one of the habits that can improve your sleep.
  • Avoid caffeine in the afternoon and evening. Caffeine stays active in your body for many hours.
  • Get sunlight during the day. Natural light helps keep your internal clock, called your circadian rhythm, on track.
  • Exercise regularly. Physical activity helps you fall asleep faster and sleep more deeply, but try to finish workouts at least a few hours before bed.
  • Maintain a healthy body composition. Excess weight can contribute to sleep disorders like sleep apnea.
  • Eat a balanced diet. A healthy diet is one of the habits that can improve your sleep. The protein calculator and macro calculator can help you plan your meals.

By combining the right amount of sleep for your age with good sleep habits, you give your body the rest it needs.


Formulas used

Sleep Duration from Cycles
D_{\text{sleep}} = N_{\text{cycles}} \times L_{\text{cycle}}
Bedtime (given wake-up time)
T_{\text{bed}} = T_{\text{wake}} - D_{\text{sleep}} - T_{\text{fall asleep}}
Wake-up Time (given bedtime)
T_{\text{wake}} = T_{\text{bed}} + T_{\text{fall asleep}} + D_{\text{sleep}}

Frequently asked questions

What is a sleep cycle?

A sleep cycle is a pattern your brain repeats while you sleep. A new cycle starts about every 80 to 100 minutes and moves through light sleep, deep sleep, and REM sleep. Most people go through four to six cycles per night, and you may wake up briefly between cycles.3

Why do I feel tired even after sleeping 8 hours?

The groggy feeling right after waking is called sleep inertia. It can happen even after a full 8 hours of sleep, and some studies find it is worse when you wake from deep sleep.4 You usually get more deep sleep early in the night and more REM sleep later in the night.3 If you often do not feel well rested despite sleeping 7 to 8 hours or more, see your health care provider.5

How many sleep cycles should I get per night?

Adults aged 18 to 64 are recommended 7 to 9 hours of sleep.1 With 90-minute cycles, 5 or 6 sleep cycles come to 7.5 or 9 hours. The calculator marks options that fall within the recommended range for your age group. Getting fewer than 4 cycles regularly can hurt your health.

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

It depends on how much less. For adults, 6 hours may be appropriate for some people, but less than 7 hours is below the recommended range.1 Regularly getting less sleep than you need builds up a sleep debt over time. Try to complete 5 or 6 full cycles each night.

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

If you need to wake up at 6:00 AM and it takes you 15 minutes to fall asleep, good bedtimes would be 8:45 PM (6 cycles, 9 hours), 10:15 PM (5 cycles, 7.5 hours), or 11:45 PM (4 cycles, 6 hours). For adults, 8:45 PM or 10:15 PM are the best choices.

Why does the age group matter for sleep?

Different ages need different amounts of sleep. A toddler needs 11 to 14 hours, while an adult needs 7 to 9 hours. Select your age group and the calculator marks the options that fall within its recommended range. The cycle results go up to 6 cycles, which is 9 hours at the default 90-minute cycle, so at the default no option reaches the range for children under 6. Use the Sleep Duration tab for a younger child.

What if I fall asleep in less than 5 minutes?

Set the fall asleep time to 5 minutes in Advanced Settings so your results match. Feeling sleepy during the day and falling asleep within 5 minutes whenever you have a chance to nap can be a symptom of a sleep disorder, so see your health care provider if that happens to you.5


Sources

  1. Hirshkowitz M, Whiton K, Albert SM, Alessi C, Bruni O, DonCarlos L, et al. National Sleep Foundation's sleep time duration recommendations: methodology and results summary. Sleep Health. 2015;1(1):40-43. doi:10.1016/j.sleh.2014.12.010. Accessed September 4, 2026.
  2. Brain Basics: Understanding Sleep. National Institute of Neurological Disorders and Stroke. Accessed September 4, 2026.
  3. How Sleep Works: Sleep Phases and Stages. National Heart, Lung, and Blood Institute. Sleep Phases and Stages. Accessed November 11, 2026.
  4. Hilditch CJ, McHill AW. Sleep inertia: current insights. Nature and Science of Sleep. 2019;11:155-165. doi:10.2147/NSS.S188911. Accessed November 11, 2026.
  5. Do You Have Symptoms of a Sleep Disorder? National Institute for Occupational Safety and Health. Training for Nurses on Shift Work and Long Work Hours, Module 6, page 16. Accessed November 11, 2026.