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
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.
The stages of sleep
| Stage | What 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. |
| REM | Most 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?
| Age | Recommended sleep |
|---|---|
| Teens, 13โ17 | 8โ10 hours |
| Adults, 18โ60 | 7 or more hours |
| Adults, 61โ64 | 7โ9 hours |
| Adults, 65+ | 7โ8 hours |
10 habits for better sleep
- Keep the same wake-up time every day, including weekends.
- Get daylight in the morning, ideally outdoors.
- Stop caffeine 6โ8 hours before bed.
- Avoid large meals and alcohol in the 2โ3 hours before bed.
- Keep your bedroom cool (around 18 ยฐC / 65 ยฐF), dark and quiet.
- Put screens away 30โ60 minutes before bed.
- Exercise regularly, but not right before bed.
- Keep naps under 30 minutes and before mid-afternoon.
- If you can't sleep after 20 minutes, get up and do something calm until you feel sleepy.
- 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
<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>
Frequently asked questions
How much sleep do I need?+
Why should I wake up at the end of a sleep cycle?+
How long is a sleep cycle?+
Is 6 hours of sleep enough?+
Does sleep affect weight loss?+
More free health tools
Calorie Calculator (TDEE)
Find out how many calories you burn each day and how much to eat to lose, maintain or gain weight.
Water Intake Calculator
How much water to drink a day for your sex, exercise, climate, pregnancy or breastfeeding.
Calories Burned Calculator
Calories burned walking, running, cycling, lifting and 30+ activities, or from your daily steps.
Intermittent Fasting Calculator
Plan your 16:8, 18:6, 20:4, OMAD or 5:2 schedule and see your exact eating window.