โœฆ Free tool

Sleep Calculator: When Should I Go to Bed?

Work out the best bedtime for your alarm, or the best wake-up time for when you go to bed, using sleep cycles, so you wake between cycles instead of in deep sleep.

Plan your sleep

I want to
๐ŸŒ™
Choose when you want to wake up or go to bed.
โœฆ The NutriPath app

Better sleep, tracked

NutriPath tracks your sleep with smart alarms, and shows how your sleep affects your energy, cravings and progress.

  • Sleep tracking and smart alarms
  • Bedtime reminders
  • See sleep next to food and activity
  • Free on iOS & Android

How the sleep calculator works

During the night you move through several cycles of light sleep, deep sleep and REM (dreaming) sleep. Each cycle lasts about 90 minutes on average. The calculator counts back (or forward) in 90-minute cycles and adds the time it takes you to fall asleep, so your alarm is more likely to go off during light sleep.

Hypnogram diagram showing five sleep cycles across a night, moving between light, deep and REM sleep
A typical night: deep sleep is concentrated early in the night, while REM periods get longer towards morning.

The stages of sleep

StageWhat happens
Stage 1 (light)A brief transition from waking to sleep; breathing and heart rate slow.
Stage 2 (light)Body temperature drops and eye movements stop. You spend more time here than in any other stage.
Stage 3 (deep)The most restorative sleep, longest in the first half of the night. Hard to wake from.
REMMost dreaming happens here. The first REM period starts about 90 minutes after falling asleep and REM gets longer later in the night.

How much sleep do you need?

AgeRecommended sleep
Teens, 13โ€“178โ€“10 hours
Adults, 18โ€“607 or more hours
Adults, 61โ€“647โ€“9 hours
Adults, 65+7โ€“8 hours

10 habits for better sleep

  1. Keep the same wake-up time every day, including weekends.
  2. Get daylight in the morning, ideally outdoors.
  3. Stop caffeine 6โ€“8 hours before bed.
  4. Avoid large meals and alcohol in the 2โ€“3 hours before bed.
  5. Keep your bedroom cool (around 18 ยฐC / 65 ยฐF), dark and quiet.
  6. Put screens away 30โ€“60 minutes before bed.
  7. Exercise regularly, but not right before bed.
  8. Keep naps under 30 minutes and before mid-afternoon.
  9. If you can't sleep after 20 minutes, get up and do something calm until you feel sleepy.
  10. See a doctor about loud snoring, gasping, or insomnia lasting more than 3 months.

Sleep and weight are closely linked: tired people tend to eat more. NutriPath tracks your sleep next to your meals and activity, so you can see the connection for yourself. Pair this with the calorie calculator if you are working on your weight.

Sources

  1. CDC: About sleep (recommended hours by age)
  2. NIH, National Institute of Neurological Disorders and Stroke: Brain basics, understanding sleep
1Choose a style2Copy the code3Paste it into your page
HTML ยท embed code
<iframe id="np-sleep-calculator" src="https://nutripath.io/embed/sleep-calculator" title="Sleep Calculator" width="100%" height="850" style="border:0;max-width:1100px;border-radius:16px" loading="lazy"></iframe>
<p style="font:14px/1.4 sans-serif;margin:6px 0 0"><a href="https://nutripath.io/tools/sleep-calculator">Sleep Calculator</a> by NutriPath</p>
<script>window.addEventListener("message",function(e){if(e.origin==="https://nutripath.io"&&e.data&&e.data.npEmbed==="sleep-calculator"){document.getElementById("np-sleep-calculator").style.height=e.data.npHeight+"px"}})</script>
Works with WordPress (Custom HTML block), Wix, Squarespace, Shopify and plain HTML. Please keep the small "by NutriPath" credit link. Live preview โ†—All 13 calculators

Frequently asked questions

How much sleep do I need?+
The CDC recommends at least 7 hours a night for adults aged 18 to 60, 7 to 9 hours for ages 61 to 64, 7 to 8 hours from 65, and 8 to 10 hours for teenagers aged 13 to 17.
Why should I wake up at the end of a sleep cycle?+
Waking from light sleep usually feels easier than being woken from deep sleep, which can leave you groggy. Timing your alarm to the end of a cycle can help, though cycle length varies, so it is not exact.
How long is a sleep cycle?+
A full cycle through light, deep and REM sleep takes roughly 90 minutes on average, and most adults go through 4 to 6 cycles a night. Cycles tend to be shorter early in the night and longer towards the morning.
Is 6 hours of sleep enough?+
For most adults, regularly sleeping 6 hours is not enough. Short sleep is linked to lower concentration, weight gain, weaker immunity and a higher risk of several chronic diseases.
Does sleep affect weight loss?+
Yes. Short sleep raises hunger hormones and cravings and makes it harder to stick to a plan. Getting 7 or more hours is one of the most underrated weight-loss habits.