SleepCalculatorAI logoSleepCalculatorAI

Sleep calculator: wake up rested, not groggy.

Our free sleep cycle calculator shows every bedtime and wake-up time that lines up with a complete 90-minute cycle — so your alarm lands between cycles instead of in the middle of deep sleep. Tell us when you need to get up, or when you're heading to bed.

Sleep calculator

Work backwards from your alarm — or forwards from tonight's bedtime — in complete 90-minute sleep cycles.

    Calculations assume 90-minute sleep cycles and about 15 minutes to fall asleep. Adults do best on 5–6 cycles (7–9 hours).

    The science

    How to use this sleep calculator, step by step.

    This free sleep calculator turns one simple input — the time your alarm rings — into a personalized bedtime plan built around complete sleep cycles. Everything runs instantly in your browser: no sign-up, no downloads, and nothing you type ever leaves your device. Here is how to get your answer in under ten seconds.

    Step 1: choose your starting point — wake time or bedtime.

    Tell the calculator what you already know. If your wake-up time is fixed by work, class, or a flight, stay in “Wake up at” mode: the tool works like a wake up time calculator and runs the math backwards from your alarm to every bedtime that fits. Already lying down? Switch to “Going to bed” mode and it becomes a bedtime calculator, projecting forward to show every alarm time that lands at the end of a full cycle — including a when to wake up calculator view for weekend lie-ins and shift work.

    Step 2: set your hour, minute, and period.

    Use the dropdowns to enter your time in 12-hour format. The sleep time calculator accepts any minute in five-minute steps, so you can match your real schedule exactly — 6:45 AM works just as well as 7:00 AM.

    Step 3: pick a recommended result.

    The calculator instantly lists four options, from six complete cycles down to three. Each row shows the exact clock time, your total sleep time, and the number of 90-minute cycles inside it. Results marked Ideal are the sweet spot for most adults,Good and Fair options cover shorter nights, andRough results are emergency-only. Choose the latest option that still gives you five or six cycles, set your alarm, and you’re done.

    How the 90-minute sleep cycle works.

    A sleep cycle calculator is only as useful as the science behind it. Sleep does not progress in one flat line — your brain moves through a repeating sequence of stages that together form one complete cycle of roughly 90 minutes (typically 80–100, varying from person to person and night to night). Most people complete four to six cycles per night. Here is what happens inside each one.

    Light sleep: the entry ramp (N1 and N2).

    Every cycle begins in light sleep. In stage N1 you drift in and out of consciousness for a few minutes as muscles relax and brain waves slow. Stage N2 — which makes up roughly half the night — is where heart rate drops, body temperature falls, and short bursts of activity called sleep spindles help lock in learning. You wake easily from these stages, and doing so costs you very little.

    Deep sleep: physical restoration (N3).

    Next comes slow-wave sleep, the deepest and most physically restorative stage. During N3 your body releases growth hormone, repairs tissue, strengthens the immune system, and files away factual memories. Deep sleep dominates the first half of the night — which is why an early bedtime protects it, and why an alarm that fires in the middle of N3 produces the heaviest morning fog.

    REM sleep: the mind’s maintenance mode.

    Each cycle closes with REM (rapid eye movement) sleep — the dream-rich stage where your brain processes emotions, consolidates skills, and makes creative connections. REM periods grow progressively longer toward morning, so the final cycle before waking is often the most REM-dense of the night. For a deeper dive into the stages, read our guide tohow sleep cycles work.

    Why REM sleep matters.

    REM is easy to dismiss because it looks like light, twitchy rest — but it is when the brain does some of its most important work. Across the night, REM supports emotional regulation, procedural memory (music, sport, language), and creative problem-solving. Chronically cutting REM short is linked to irritability, poor concentration, and weakened memory — even when total sleep looks “adequate” on paper.

    This is where a REM sleep calculator earns its keep. Because REM is concentrated in the final cycles of the night, shortening your sleep does not trim REM evenly — it removes most of it. Planning six cycles (9 hours) instead of five (7½ hours) can roughly double your morning REM. Use the calculator to protect those late cycles instead of leaving them to chance.

    Why waking up between cycles prevents grogginess.

    Ever slept a full eight hours and still felt like you were thinking through fog? The likely culprit is sleep inertia — the heavy, disoriented state that follows a wakeup from deep sleep. It can impair reaction time and decision-making for anywhere from 30 minutes to several hours, and research shows it is worst when the alarm lands in the middle of a slow-wave stage.

    When your alarm fires at the boundary between cycles — during light sleep or one of the brain’s brief natural awakenings — you skip most of that penalty. That is the entire premise of this 90 minute sleep cycle calculator: instead of counting hours, it counts complete cycles and adds a 15-minute fall-asleep buffer, so your alarm lands on a cycle edge rather than in a trough of deep sleep. Same time in bed, dramatically different morning.

    How many hours of sleep do I need?

    Most healthy adults need five to six complete cycles — about 7½ to 9 hours. Teenagers need eight to ten, and needs shift across your lifetime. Use this table to translate cycles into sleep time, then fine-tune with oursleep needs by age guide.

    6 cycles · 9 hoursIdeal target

    Maximum deep sleep and morning REM — the gold standard.

    5 cycles · 7½ hoursSweet spot

    The realistic target for most adults on a work schedule.

    4 cycles · 6 hoursShort night

    Fine occasionally, but not something to repeat daily.

    3 cycles · 4½ hoursEmergency

    Expect noticeable grogginess — use only when you must.

    Individual needs swing by an hour or more in either direction. The best test is how you feel: if you wake at the bottom of the range and stay sharp all day without stimulants, you have found your number.

    What is the best time to go to sleep?

    The best time to go to sleep is simply the time that lets you finish five or six full cycles before your alarm — and that is exactly what the calculator computes for you. As a rule of thumb, most adults fall and sleep best between 9 PM and midnight, aligned with the body’s natural melatonin rise. Consistency matters more than the exact hour: going to bed within the same 30-minute window every night trains your circadian rhythm, making both falling asleep and waking up easier.

    Then protect the sleep you planned. Pair your bedtime with the habits in oursleep tips guide, and if you nap, run the afternoon rest through the freenap calculatorso a daytime snooze doesn’t steal sleep pressure from tonight.

    How it works

    Why 90-minute sleep cycles matter.

    Sleep doesn't run in one long stretch. It moves in repeating rounds of light, deep, and REM sleep — and where your alarm lands inside a round decides whether you wake up clear or groggy.

    01

    You drift down

    Sleep moves in rounds of light sleep, deep sleep, and REM. One full pass takes roughly 90 minutes, and the mix shifts as the night goes on.

    02

    Mid-cycle waking hurts

    An alarm that fires during deep sleep triggers sleep inertia — the heavy, disoriented fog that can follow you for hours.

    03

    Cycle-edge waking wins

    Work backwards from your alarm so it lands at the end of a cycle instead of the middle, and mornings feel dramatically lighter.

    Better nights

    Small habits, deeper sleep.

    The calculator handles the math. These six habits handle the rest.

    Keep one wake time

    Get up at the same minute every day — weekends included. A stable anchor strengthens everything else.

    Chase morning light

    10–30 minutes of daylight soon after waking sets tonight’s melatonin clock on time.

    Last caffeine by 2 PM

    Caffeine has a 5–6 hour half-life. The 4 PM coffee is still half-working when you turn out the light.

    Cool, dark, quiet

    Around 18 °C (65 °F), blackout-level darkness, and as little noise as you can manage.

    Wind down 30–60 min

    Dim the lights and park the screens. Give your brain a runway into sleep, not a cliff edge.

    Don’t force it

    Awake for more than about 20 minutes? Get up, do something calm in low light, then try again.

    FAQ

    Questions, answered.

    What is a sleep calculator?

    A sleep calculator is a tool that works out the best times for you to go to bed or wake up based on sleep cycles rather than raw hours. Because the brain moves through roughly 90-minute cycles of light, deep, and REM sleep, waking at the end of a cycle feels far easier than waking in the middle of one. Enter your alarm time (or your bedtime) and the sleep calculator instantly returns a schedule of options, each labeled with total sleep time and the number of complete cycles it contains.

    How long is a typical 90-minute sleep cycle?

    On average, one full pass through all sleep stages takes about 90 minutes — but that is a mean, not a law. Individual cycles commonly run anywhere from 80 to 100 minutes and shift from night to night. Early cycles of the night are usually deep-sleep heavy, while later cycles contain proportionally more REM sleep. This variability is why calculator results should be treated as a target zone to aim for, not a guarantee down to the exact minute.

    How many sleep cycles do I need per night?

    Most healthy adults feel best on five to six complete cycles per night — about 7½ to 9 hours of sleep. Four cycles (6 hours) can carry you through an occasional short night, and three cycles (4½ hours) should be reserved for emergencies only. If you regularly wake refreshed at the bottom of that range and stay alert all day, your personal need likely sits there.

    Why do I feel groggy when I wake up?

    That heavy, disoriented feeling is called sleep inertia. It is most intense when your alarm fires in the middle of deep sleep (stage N3) — the slow-wave stage when the brain is least responsive to the outside world. Sleep inertia can impair reaction time and decision-making for anywhere from 30 minutes to a few hours. This is why eight hours of sleep that ends mid-cycle can feel worse than seven and a half hours that end exactly at a cycle boundary.

    Does waking up between cycles prevent grogginess?

    It greatly reduces it. When you wake at the end of a cycle — during light sleep or one of the brain’s brief natural awakenings — your body transitions to full alertness much faster than when it is jolted out of deep sleep. That is the entire premise of this sleep cycle calculator: it counts complete 90-minute cycles and adds a fall-asleep buffer so your alarm lands on a cycle edge instead of in a trough of deep sleep.

    How long does it take the average person to fall asleep?

    Most healthy adults fall asleep 10 to 20 minutes after lights out — a window researchers call sleep latency. This sleep calculator assumes a 15-minute latency and builds it into every bedtime it suggests. If you usually drift off faster or slower, treat the listed bedtimes as lights-out times and adjust: slower sleepers should get into bed a little earlier, faster sleepers a little later.

    Can I use a sleep calculator for power naps?

    Yes — with different rules. For naps, the goal is usually to avoid deep sleep entirely: a 20-minute power nap keeps you in light sleep, while a full 90-minute nap lets you complete an entire cycle and wake at its edge. The danger zone is roughly 30 to 60 minutes, when an alarm is likely to interrupt deep sleep and cause grogginess. Our dedicated nap calculator shows alarm times for all four durations.

    Is the 90-minute rule accurate for everyone?

    It is a useful average, not a biological constant. Cycle length commonly ranges from 80 to 100 minutes and changes with age, sleep debt, and alcohol. Some people naturally run on 85-minute cycles; others closer to 100. Use the 90-minute rule as a starting framework, then adjust after a few nights of observing when waking feels easiest.

    How many hours of sleep do I need?

    Most healthy adults need 7 to 9 hours of sleep per night — five to six complete 90-minute sleep cycles. Teenagers need 8 to 10 hours, while needs gradually shift with age. The best benchmark is how you feel: if you wake refreshed and stay alert through the day without stimulants, you have found your number.

    Is this sleep calculator free?

    Yes — the sleep calculator is completely free. There is no sign-up, nothing you enter is stored or sent to a server, and you can run as many calculations as you like. The nap calculator is free too.

    Medical disclaimer

    Sleep Calculator AI provides general information for educational purposes only. It is not medical advice, diagnosis, or treatment, and it should never replace guidance from a qualified health professional. If you have a sleep disorder, suspect one, or have ongoing concerns about your rest, please consult your doctor before changing your sleep habits.