Sleep cycle calculator — 90-minute REM cycles. Find best bedtime if you must wake at X, or best wake time if you sleep at Y.
- Runs locally
- Category Calculator
- Best for Getting a realistic range before a purchase, plan, workout, or schedule decision.
Cycles run ~90 min. Waking between cycles dodges sleep inertia even if total sleep is shorter.
For naps under 30 minutes, ignore the cycle math — you want to wake from stage 2, not finish a full cycle. Set a 20-minute alarm and get up the moment it rings.
| Age | Hours |
|---|---|
| 0–3 mo | 14–17 h |
| 4–11 mo | 12–15 h |
| 1–2 y | 11–14 h |
| 3–5 y | 10–13 h |
| 6–13 y | 9–11 h |
| 14–17 y | 8–10 h |
| 18–64 y | 7–9 h |
| 65+ y | 7–8 h |
- Last coffee 6–8 h before bedtime — caffeine half-life is ~5 h.
- Dim and warm your screens 1–2 h before bed; blue light pushes sleep onset later.
- 20-min naps stay in N2 (no grogginess). Avoid 30–60 min — that lands you in N3.
- A consistent wake time matters more than a consistent bedtime for circadian rhythm.
- If you wake before the alarm, get up — going back to sleep often lands you in N3 and the alarm hurts.
100% client-side. Your times never leave this page.
What this tool does
Free sleep-cycle calculator built on the 90-minute REM cycle rule. Two modes: (1) "I must wake up at X" — gives you 5–6 best bedtimes that let you finish full 90-minute cycles, so the alarm rings between cycles instead of in the middle of deep sleep (which is what makes you feel wrecked even after 8 hours); (2) "I'm going to sleep at Y" — gives you 5–6 best wake-up times the other direction. The calculator adds 14 minutes of fall-asleep latency by default (sleep-onset latency from the Pittsburgh Sleep Quality Index for healthy adults) — slide it up to 25–30 if you doomscroll in bed, down to 5 if you fall asleep the moment your head hits the pillow. Recommended total sleep by age follows the joint WHO / CDC / NSF (National Sleep Foundation) consensus: school kids 9–11 h, teens 8–10 h, adults 7–9 h, 65+ 7–8 h. Quick presets cover the cases people actually search: must-wake-at-6:30, 20-minute power nap (skip cycle math, stay in stage-2), 90-minute lunch nap (one full cycle so you don't wake mid-deep-sleep), and "exam morning — I need to be sharp at 8 AM." All math runs in your browser. No date, no time, no input is ever uploaded.
Tool details
- Input
- Numbers
- The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
- Output
- Live result
- The result area focuses on usable output, with copy, download, or preview actions when supported.
- Privacy
- Browser-side processing
- The main tool logic does not call an external API, so inputs normally stay in the current tab.
- Save / share
- No account required
- Open the page and use it; whether results survive refresh depends on the tool.
- Performance budget
- Initial JS <= 15 KB
- No WASM budget is declared, keeping the tool quick to open on mobile.
- Best fit
- Calculator · Student
- Category and role tags drive related tools, internal links, and quick fit checks.
How to use
-
1. Input
Paste or drop your content into the tool panel.
-
2. Process
Click the button. All processing is local in your browser.
-
3. Copy / Download
Copy the result or download to disk in one click.
How Sleep Cycle Calculator fits into your work
Use it for fast estimates, comparisons, and planning numbers before you make the final call.
Calculation jobs
- Getting a realistic range before a purchase, plan, workout, or schedule decision.
- Comparing scenarios by changing one input at a time.
- Turning rough assumptions into a number you can discuss.
Calculation checks
- Double-check units, dates, rates, and rounding assumptions.
- Treat health, finance, tax, and legal outputs as planning aids, not professional advice.
- Save the inputs that produced an important result so you can reproduce it later.
Good next steps
These links move the current task into a more complete workflow.
- 1 Safe Period & Ovulation Calculator Period & ovulation calculator — predict next period, fertile window, safe days (based on calendar method). Open
- 2 Age Calculator Calculate your exact age — years, months, days, hours. Compare two dates or count to a future date. Open
- 3 Weight Loss Tracker & Calorie Deficit Calculator Weight loss tracker — set target, log daily weight, see trend, project goal date with real calorie math. Open
Real-world use cases
Early shift and you must be up at 5:30 sharp
You start at 6 AM and have to be awake at 5:30 no matter what. Type 5:30 into the wake mode and the calculator hands back bedtimes like 8:30, 10:00 and 11:30 PM. Pick 10:00 PM for five full cycles (7.5 hours) and the 5:30 alarm lands at the top of a cycle, not buried in deep sleep. You wake clear instead of slapping snooze four times.
A 20-minute power nap before the 3 PM meeting
It is 2:15 PM, you are fading, and the big review is at 3. Use the 20-minute nap preset. It deliberately keeps you in stage 2 and out of deep sleep, so the alarm at 2:35 leaves you sharper with no grogginess. A 45-minute nap here would drop you into N3 and you would wake up worse than you started.
Exam morning, you need to be sharp at 8 AM
The test is at 8 and you want peak recall, not a foggy brain. Set wake to 7:00 to leave buffer, and the calculator suggests bedtimes at 10:00 and 11:30 PM. Choose 11:30 for five cycles, and bump the fall-asleep slider to 25 minutes because nerves keep you up. Now your 7:00 wake lands between cycles.
Newborn parent stealing sleep in fragments
The baby wakes you at 2 AM and again at 5. Between feeds you get maybe a 3-hour window. Feed at 2:20, then set sleep mode to 2:30 AM and the calculator shows a 5:30 wake completes two full cycles (3 hours). Aligning even a short block to whole cycles beats setting a blind alarm and waking mid-deep-sleep.
Common pitfalls
Setting the fall-asleep slider to 0 because you "sleep instantly" — the median is 14 minutes, so your 6:00 alarm really needs a bedtime 14 min earlier or you lose a chunk of the last cycle.
Napping 45 minutes thinking longer is better — that drops you into N3 deep sleep; either cap it at 20 min (stage 2) or commit to a full 90 min, never the 30–60 min dead zone.
Treating the suggested times as exact to the minute — 90 min is an average (real range 70–110), so if you still wake groggy at 7.5 hours, try the next option up or down by one cycle.
Privacy
Everything runs in your browser. The bedtimes and wake times you type, the fall-asleep slider, and your age preset never leave the page and are never uploaded to any server. If you click "share", only the times you chose go into the URL so a link can reproduce the same result — nothing about you is stored or tracked.
FAQ
Tool combos
Folks in your role tend to reach for these alongside this tool.
- Chinese Acupoint Locator 200+ meridian acupoints / WHO 2008 standard locations / with contraindications, manipulation, and combinations.
- Affine Cipher Encoder & Decoder Encrypt and decrypt the ax+b affine cipher with live modular-inverse check, browser-only
- Anagram Solver Check if two words are anagrams, rearrange a set of letters into every ordering, and read the sorted letter fingerprint, all in your browser
- Angle Converter Degrees, radians, gradians, turns, arcminutes, arcseconds and NATO mils, all from one input, copyable, browser-only