← Back to Tools
Calculators & Converters

Free Sleep Calculator

Calculate the best time to sleep and wake up based on natural 90-minute sleep cycles. Stop waking up groggy — wake up at the right moment in your cycle.

or
or set nap start time
☕ Caffeine Cutoff Calculator
Caffeine has a half-life of ~6 hours — it takes up to 10 hours to fully leave your system. Cutting off early protects your deep sleep stages.

How Sleep Cycles Work

A Typical Night — 5 Sleep Cycles (~7.5 Hours)
REM
N3
N2
N1
N1 Light
N2 Baseline
N3 Deep
REM

Every night, your brain cycles through four distinct sleep stages roughly every 90 minutes. Stage N1 is the brief transition from wakefulness to sleep. N2 is baseline sleep where your heart rate slows and body temperature drops. N3 — deep sleep — is when your body does its most critical physical repair: releasing growth hormone, consolidating immune function, and clearing metabolic waste. REM sleep is where dreaming happens and your brain consolidates memories, processes emotions, and makes creative connections.

Here's the key insight: early cycles are dominated by deep (N3) sleep, while later cycles have progressively longer REM periods. This is why a full 7–9 hours isn't just about quantity — you need the full arc of cycles to get both physical restoration (N3) and mental restoration (REM). Cutting sleep short by even one cycle means losing disproportionately more REM sleep.

The reason you feel groggy when an alarm drags you out of bed is sleep inertia — your brain was in the middle of deep N3 sleep when the alarm fired. The neurons responsible for wakefulness take several minutes to fully activate when interrupted mid-cycle. By waking at the natural end of a 90-minute cycle, your brain is already in a lighter stage and the transition to full wakefulness is smooth and immediate.

How to Use This Calculator

  1. Bedtime Calculator: Enter the time you need to wake up — for a meeting, school, or work. The calculator shows the ideal times to fall asleep to complete 3–6 full cycles.
  2. Wake-Up Calculator: Know when you're going to bed? Enter that time and see exactly when to set your alarm for each number of sleep cycles.
  3. Nap Calculator: Hit the "Nap NOW" button or enter a start time to see your optimal nap alarm — power nap (20 min), short nap (60 min), or full cycle (90 min).
  4. Caffeine Cutoff: Enter your usual bedtime to find out when to stop drinking coffee or tea. Caffeine's 6-hour half-life means an afternoon cup is still disrupting your sleep at midnight.

Tips for Better Sleep

📅
Keep a Consistent Schedule
Go to bed and wake up at the same time every day — even weekends. This anchors your circadian rhythm and makes falling asleep effortless.
🌑
Make Your Room Dark
Even small amounts of light suppress melatonin. Use blackout curtains or a sleep mask. Cover LED indicators on devices — they disrupt more than you think.
📵
No Screens 1 Hour Before Bed
Blue light from phones and laptops signals "daytime" to your brain and delays melatonin production by up to 3 hours. Use Night Mode as a minimum.
🌡️
Cool Your Room Down
The ideal sleep temperature is 65–68°F (18–20°C). Your core body temperature must drop by 2–3°F to initiate sleep. A cooler room accelerates this naturally.
Cut Caffeine by Early Afternoon
Caffeine has a half-life of 5–7 hours. That 3 PM coffee is still 50% active at 9 PM. Use the Caffeine Cutoff calculator above to find your personal limit.
🏃
Time Your Exercise Right
Morning and afternoon exercise improves sleep quality. Intense workouts within 3 hours of bedtime can raise core temperature and delay sleep onset for some people.
🍷
Limit Alcohol Before Bed
Alcohol may help you fall asleep, but it severely fragments sleep in the second half of the night by suppressing REM sleep — the most restorative stage.
🧘
Wind Down Deliberately
A 20–30 minute pre-sleep routine (reading, stretching, light journaling) signals your nervous system to shift out of "alert" mode. Consistency matters more than the activity itself.

Recommended Sleep Duration by Age

Sleep needs change dramatically across a lifetime. Here are the National Sleep Foundation's recommendations:

Age Group Age Range Recommended Hours Typical Cycles
Newborn0–3 months14–17 hrs9–11
Infant4–11 months12–15 hrs8–10
Toddler1–2 years11–14 hrs7–9
Preschool3–5 years10–13 hrs7–9
School Age6–13 years9–11 hrs6–7
Teen14–17 years8–10 hrs5–7
Adult ⭐18–64 years7–9 hrs5–6
Older Adult65+ years7–8 hrs5–6

Frequently Asked Questions