Sleep Calculator
Sleep runs in roughly 90‑minute cycles, so you wake up freshest at the end of a cycle rather than the middle — most adults need about 7–9 hours (5–6 cycles). Enter your wake‑up time to see the best times to fall asleep.
Find the best time to go to bed or wake up for your age, based on 90-minute sleep cycles, so you wake up refreshed instead of groggy. Pick a time, or tap Sleep now.
🛌 Sleep debt calculator
Sleep debt is the sleep you owe your body. Enter the hours you've actually been averaging and we'll compare it to your age-based need (set your age in the calculator above).
How the sleep calculator works
While you sleep, your body moves through repeating sleep cycles of about 90 minutes — from light sleep, into deep sleep, and then into REM (dream) sleep. A full night is usually 5 to 6 complete cycles (7.5 to 9 hours). The trick to waking up refreshed is to wake at the end of a cycle, during light sleep, rather than being jolted awake mid-cycle when you feel groggy.
This calculator counts in 90-minute blocks from your chosen time and adds about 15 minutes to fall asleep:
Bedtime = wake time − (cycles × 90 min) − 15 min to fall asleep
Wake time = bedtime + 15 min + (cycles × 90 min)
- 5 cycles: 7:00 − (5 × 90 min) − 15 min = 7:00 − 7 h 45 m = 11:15 PM (7.5 h sleep)
- 6 cycles: 7:00 − (6 × 90 min) − 15 min = 7:00 − 9 h 15 m = 9:45 PM (9 h sleep)
Both land you at the light end of a cycle, so you wake more refreshed than an alarm set for the middle of one.
It's a helpful guide, not a strict rule. Real sleep cycles average about 90 minutes but range from roughly 70 to 110 minutes, and can even shift from night to night for the same person — so treat the times as a smart starting point, not a precise alarm. If 90 minutes doesn't match how you feel, set your own cycle length under Advanced, and use the times alongside how rested you actually wake up.
Need a quick recharge instead of a full night? For a power nap, aim for about 20 minutes — short enough to avoid deep sleep — or a full 90-minute cycle if you have time; both leave you clearer than a groggy 45-minute nap. The same cycle logic helps night-shift workers and anyone beating jet lag: pick a realistic sleep window and count in 90-minute cycles, whether you want to wake at 5 AM, 6 AM or 7 AM.
The 4 stages of sleep: light, deep & REM
Each ~90-minute cycle moves through four stages — three non-REM (NREM) stages and one REM stage:
| Stage | What happens |
|---|---|
| N1 — light sleep | The drift-off stage; you're easily woken (just a few minutes). |
| N2 — light sleep | Heart rate and body temperature drop; most of the night is spent here. |
| N3 — deep sleep | Slow-wave sleep — the body repairs tissue, builds muscle and bone and strengthens immunity. Hardest stage to wake from. |
| REM sleep | Vivid dreaming; the brain consolidates memory and learning. REM periods get longer in each later cycle. |
Early in the night you get more deep (N3) sleep for physical recovery; later cycles bring more REM for memory and mood. That's why a full 5–6 cycles matters — and why the calculator aims to wake you at a cycle's light-sleep end rather than mid deep-sleep.
The bigger secret: a regular schedule
Here's something most sleep calculators miss. Recent research suggests that sleep regularity — going to bed and waking at consistent times — can predict long-term health even more strongly than the total number of hours you sleep. A steady rhythm keeps your body clock (circadian rhythm) aligned, which supports everything from mood to metabolism. So the single best upgrade for most people isn't a perfect number of hours — it's a consistent bedtime and wake time, even on weekends.
What is sleep debt — and can you catch up?
Sleep debt is the running total of sleep you've missed versus what your body needs. If you need 8 hours but get 6 for five nights, you build up roughly 10 hours of debt — which shows up as brain fog, low mood, cravings and slower reaction times. A weekend lie-in repays some of it, but studies show catch-up sleep doesn't fully reverse the effects of a week of short nights. The reliable fix is to stop the debt building up: protect a consistent bedtime and add an extra 30–60 minutes a night until you feel caught up, rather than cramming it into one weekend. Because short sleep also drives those cravings, pairing steady sleep with a sensible calorie target helps — see the calorie & TDEE calculator.
How much sleep do you need?
| Age group | Recommended sleep |
|---|---|
| Newborns & babies (0–1 yr) | 12–17 hours |
| Children (1–12 yrs) | 9–14 hours |
| Teenagers (13–18) | 8–10 hours |
| Adults (18–64) | 7–9 hours |
| Older adults (65+) | 7–8 hours |
Based on CDC / National Sleep Foundation guidance. Individual needs vary.
How much do people sleep around the world?
The need for sleep is universal, but how much people actually get varies a lot by country. A 2025 study of nearly 5,000 people across 20 countries found average nightly sleep ranged from 7 h 52 m in France down to just 6 h 18 m in Japan — a gap of over 90 minutes every night. Warmer, later-dining and longer-commuting cultures often report less.
| Country | Average sleep / night |
|---|---|
| France | 7 h 52 m |
| Spain | 7 h 45 m |
| Australia | 7 h 43 m |
| United Kingdom | 7 h 40 m |
| Canada | 7 h 38 m |
| Germany | 7 h 32 m |
| United States | 7 h 28 m |
| Italy | 7 h 22 m |
| Mexico | 7 h 15 m |
| Brazil | 7 h 12 m |
| Singapore | 7 h 05 m |
| China | 6 h 45 m |
| South Korea | 6 h 35 m |
| Japan | 6 h 18 m |
Self-reported averages from a 2025 20-country study (Ou et al.). India wasn't in that study, but 2026 global surveys suggest people in India average close to the 7-hour mark, with nearly half feeling they don't get enough — one more reason a consistent schedule beats chasing a perfect number.
How to fall asleep faster: 7 tips that actually work
Knowing your ideal bedtime is half the battle — these evidence-based habits help you drift off once your head hits the pillow:
| Tip | Why it works |
|---|---|
| 4-7-8 breathing — in through your nose 4s, hold 7s, out through your mouth 8s; repeat ×4 | Dr. Andrew Weil's relaxation breath switches on the parasympathetic (rest-and-digest) system, slowing your heart rate ready for sleep |
| Keep the room cool — about 60–67°F (15.5–19.5°C) | Your core temperature has to dip to fall asleep; a warm room blocks that and trims deep & REM sleep |
| Same bedtime & wake time every day, even weekends | A steady rhythm is the strongest anchor for your body clock and sleep quality |
| Morning sunlight, dim light at night | Light is the master signal that sets your circadian rhythm and melatonin timing |
| Cut caffeine 6+ hours before bed; go easy on late meals & alcohol | Caffeine can linger for hours and keep you alert; alcohol fragments sleep and suppresses REM |
| Screens off ~1 hour before bed | Blue light and mental stimulation delay melatonin and keep the brain alert |
| Awake after 20 minutes? Get up — do something calm in dim light, then return | Keeps your brain linking bed with sleep, not frustration — a core insomnia technique |
Foods can help a little too: tart cherry juice and kiwifruit are the most-studied — small trials link them to higher melatonin, longer sleep and better sleep quality. Use them alongside the habits above, not instead of them.
When should you stop drinking caffeine?
Caffeine has a half-life of about 5–6 hours, so a coffee at 4 PM can still leave roughly a quarter of its buzz in your system near midnight. Studies on sleep quality suggest cutting off caffeine about 8 hours before bed for a standard cup — a little less if you drink lightly, more for a large or late cold brew, or if you metabolise caffeine slowly. That's why the calculator shows a “last caffeine by” time with your results. And remember tea, cola, chocolate and pre-workout all count: even when late caffeine doesn't stop you falling asleep, it quietly trims your deep sleep.
Sleep matters worldwide — surveys suggest nearly half of adults in India, and over half of people globally, regularly fall short on sleep. Small, steady changes add up. This is general information, not medical advice.
🦉 Bonus: What's your sleep type? (chronotype quiz)
Are you a morning lark, a night owl, or somewhere in between? Answer 5 quick questions — your chronotype shapes your ideal bedtime.
How to use it & key terms
Enter the time you want to wake up (or go to bed), then press Calculate for bedtimes or wake times aligned to full sleep cycles.
| Term | What it means |
|---|---|
| Sleep cycle | A roughly 90-minute loop through light, deep and REM sleep. |
| REM sleep | The dreaming stage, important for memory and mood. |
| Deep sleep | The most restorative stage, heaviest early in the night. |
| Sleep debt | The gap between the sleep you need and the sleep you actually get. |
| Sleep latency | How long it takes you to fall asleep (about 15 minutes on average). |
| Circadian rhythm | Your body's roughly 24-hour internal clock. |
Sources & methodology
Bed and wake times are built around the sleep cycle, which averages about 90 minutes but ranges roughly 70–110 minutes and varies from night to night. We count back or forward in full cycles (plus about 15 minutes to fall asleep) so you aim to wake between cycles rather than mid-cycle, when you feel groggier. Because cycle length differs between people, the times are a science-based starting point rather than a precise alarm — set your own cycle length under Advanced if 90 minutes doesn't fit you.
Sources: Sleep-duration by age — U.S. CDC (About Sleep), American Academy of Sleep Medicine (AASM) and the National Sleep Foundation. Sleep stages and cycle science — U.S. NIH / National Institute of Neurological Disorders and Stroke (Brain Basics: Understanding Sleep). Fall-asleep tips: 4-7-8 breathing — Dr. Andrew Weil / Cleveland Clinic; bedroom temperature of 60–67°F (15.5–19.5°C) — National Sleep Foundation and Cleveland Clinic; sleep-promoting foods (tart cherry, kiwi) — peer-reviewed trials. Jet-lag adjustment of about one day per time zone crossed — widely cited circadian guidance. Bed and wake times use the standard ~90-minute sleep-cycle model plus about 15 minutes to fall asleep.
Light and darkness: the switch behind your body clock
The bed and wake times here work with your sleep cycles, but the master control behind those cycles is light. Deep in the brain sits a roughly 24-hour clock that decides when you feel alert and when you feel sleepy, and it takes its strongest cue from the light your eyes see. Bright light in the morning — ideally daylight, within an hour or so of waking — acts like a reset button, anchoring the clock and starting a timer that will make you naturally sleepy roughly fourteen to sixteen hours later. People who spend their mornings in dim indoor light often feel that clock drift, so sleepiness arrives late and mornings feel harder than they should.
The evening half of the switch is darkness. As the light around you fades, the brain begins releasing melatonin, the signal that prepares the body for sleep. Bright light late at night — especially the blue-rich glow of phones and screens held close to the face — tells that same clock it is still daytime and holds the melatonin signal back, which is one reason a late scrolling session can leave you wide awake well past your intended bedtime. Dimming the lights in the last hour before bed, setting screens aside, and keeping the bedroom genuinely dark all let the natural wind-down happen on time instead of fighting it.
Consistency ties it together. Because the clock resets a little each day, keeping your light on a regular rhythm — bright mornings and dark evenings at roughly the same times — is what keeps sleep arriving predictably, and it is why a wildly different weekend schedule can leave you feeling jet-lagged by Monday. Daytime light helps too: time near a window or outdoors strengthens the signal and can make afternoons feel more alert. If you nap, keeping it short and earlier in the day avoids blunting the night's sleep pressure. None of this replaces medical advice, and ongoing sleep problems are worth raising with a professional — but for most people, treating light as the lever it truly is does more for sleep than almost anything else.
Frequently asked questions
What time should I go to bed to wake up feeling refreshed?
Count back from your wake time in 90-minute cycles and add ~15 minutes to fall asleep. Aim for 5–6 cycles (7.5–9 h). To wake at 6:30 AM, go to bed by about 9:15 PM (6 cycles) or 10:45 PM (5 cycles).
How does the sleep cycle calculator work?
Sleep runs in ~90-minute cycles (5–6 a night). The tool counts back or forward in 90-minute blocks and adds ~15 minutes to fall asleep, so you wake at the light end of a cycle rather than mid-cycle when you feel groggy.
How many hours of sleep do I need?
Adults: 7+ hours; teens (13–18): 8–10; children (6–12): 9–12; younger children more; 65+: 7–8. Needs vary by person.
Is it better to wake up at the end of a sleep cycle?
Yes — waking during light sleep at a cycle's end feels more refreshing than waking mid deep-sleep, which leaves you groggy. It's a guide, not a guarantee.
Does a regular sleep schedule matter more than total hours?
Recent research suggests sleep regularity can predict long-term health even more strongly than total hours. A steady bed/wake time — even on weekends — is one of the most powerful habits.
What foods and habits help you sleep better?
Tart cherries (melatonin), kiwi, almonds/walnuts (magnesium), fatty fish, bananas, warm milk (tryptophan). Habits: consistent schedule, cool dark room, no caffeine 6–8 h before bed, limit alcohol, no screens an hour before bed, morning sunlight.
What time should I go to bed to wake up at 5 AM?
Go to bed by about 7:45 PM (6 cycles / 9 h) or 9:15 PM (5 cycles / 7.5 h), allowing ~15 minutes to fall asleep. Enter 5:00 AM above for exact times.
How long should a power nap be?
About 20 minutes keeps you in light sleep so you wake alert. A full 90-minute cycle also works; avoid ~45–60 minute naps that leave you groggy.
What are the stages of a sleep cycle (REM & deep sleep)?
Each ~90-minute cycle has four stages: three non-REM stages (N1 and N2 light sleep, then N3 deep sleep for physical repair) and REM sleep for dreaming and memory. Deep sleep dominates early cycles; REM grows in later cycles.
What is sleep debt and can you catch up on sleep?
Sleep debt is the total sleep you've missed versus what you need. A weekend lie-in repays some of it, but it won't fully undo a week of short nights — a consistent schedule that prevents the debt works better.
How can I fall asleep faster?
Try 4-7-8 breathing (in through the nose 4s, hold 7s, out through the mouth 8s, ×4), keep the room cool at 60–67°F (15.5–19.5°C), dim screens an hour before bed, and keep a steady bedtime. Still awake after ~20 minutes? Get up, do something calm in dim light, then return.
What is the best temperature for sleep?
Around 60–67°F (15.5–19.5°C) for adults, with ~65°F often called ideal. Your core temperature must dip to fall asleep, so keep the room cool, dark and quiet. Babies and toddlers do best a little warmer (~65–70°F).
When should I stop drinking coffee before bed?
Caffeine's half-life is about 5–6 hours, so aim to have your last caffeine roughly 8 hours before bed for a standard cup — less if you drink lightly, more for a large or late one. Tea, cola, chocolate and pre-workout count too. The calculator shows a “last caffeine by” time with your results.
Which country sleeps the most and least?
In a 2025 20-country study, France averaged the most at about 7 h 52 m a night and Japan the least at about 6 h 18 m. Sleep need is similar everywhere; what differs is how much people actually get, shaped by work, commuting, meal times and screens.
How do I calculate my sleep debt?
Subtract the hours you've actually been sleeping from the hours your age group needs, then multiply by the number of nights. Sleeping 6.5 h when you need 8 builds about 1.5 h of debt a night — roughly 10 h a week. Use the sleep-debt calculator above, and recover with an extra 30–60 minutes a night rather than one big weekend lie-in.
How accurate is the sleep calculator?
It's a science-based guide, not a precise alarm. Sleep cycles average about 90 minutes but really range from roughly 70 to 110 minutes and vary from night to night, so treat the suggested times as a smart starting point. If 90 minutes doesn't match how you feel, set your own cycle length under Advanced — and always go by how rested you actually wake up.
Is 4 hours of sleep enough for one night?
For a single rough night, 4 hours gets you through the day but not at your best — aim for a whole number of 90-minute cycles (about 3 h or 4.5 h) so you wake at the light end rather than mid deep-sleep. As a regular pattern it's well below the 7+ hours adults need and builds sleep debt that harms focus, mood and health. Use the calculator to fit in more full cycles, and repay lost sleep with an extra 30–60 minutes over the next few nights.