Skip to content
ForgePlug — Logo
health100% Browser-BasedNo Signup

Sleep Calculator

A smart Sleep Calculator that uses the science of 90-minute sleep cycles to find your ideal bedtime or wake-up time. Enter when you need to wake up and we'll suggest bedtimes that let you complete 4–6 full sleep cycles (plus time to fall asleep). Or enter your bedtime to find the best times to wake. All calculations happen in your browser — private and mobile-friendly.

What do you want to calculate?

5 × 90 min
3 (4.5h)5 (7.5h)7 (10.5h)

To wake at 7:00 AM

2:16 AM

3 cycles · 4.5 hours

12:46 AM

4 cycles · 6 hours

11:16 PMRecommended

5 cycles · 7.5 hours

9:46 PMRecommended

6 cycles · 9 hours

Waking at the end of a full 90-minute cycle leaves you more refreshed. Sleep needs vary by age and lifestyle — 5–6 cycles (7.5–9h) suits most adults. This is guidance, not a medical recommendation.

Sleep Cycles and Optimal Rest: Understanding Your Body's Natural Rhythm

How sleep cycles work, why timing matters, and how to calculate the perfect bedtime or wake-up time.

Sleep is not a uniform state — it consists of distinct cycles that repeat throughout the night, each lasting approximately 90 minutes. Understanding these cycles is the key to waking up feeling refreshed and alert, rather than groggy and disoriented. The timing of your sleep relative to these cycles matters more than the total number of hours.

The Architecture of Sleep

Each sleep cycle progresses through three stages of non-REM sleep followed by a period of REM (Rapid Eye Movement) sleep. Stage 1 is light sleep, the transition from wakefulness to sleep, lasting 5–10 minutes. Stage 2 is deeper sleep where heart rate slows, body temperature drops, and the brain produces sleep spindles — bursts of neural activity important for memory consolidation. This stage makes up about 50% of total sleep time.

Stage 3 is deep sleep (slow-wave sleep), the most physically restorative stage. Growth hormone is released, tissue repair occurs, and the immune system strengthens. Deep sleep is concentrated in the first half of the night. REM sleep is when most dreaming occurs. The brain is highly active, and this stage is crucial for emotional regulation, creative problem-solving, and memory consolidation. REM periods become longer as the night progresses.

Why Sleep Timing Matters

Waking up in the middle of a sleep cycle — particularly during deep sleep — causes sleep inertia: that groggy, disoriented feeling that can last 30 minutes to several hours. Waking up at the end of a complete cycle, by contrast, leaves you feeling refreshed and alert. This is why some people feel fine after 6 hours of sleep but terrible after 8 — it depends on where in the cycle they woke up.

The calculator determines optimal bedtimes and wake-up times by counting backward or forward in 90-minute cycles from your target time, accounting for the approximately 14 minutes it takes most people to fall asleep.

How Much Sleep Do You Need?

  • Adults (18–64): 7–9 hours per night is the recommended range. Most adults need about 5–6 complete cycles (7.5–9 hours).
  • Teenagers (14–17): 8–10 hours. Adolescents have a shifted circadian rhythm that makes early wake times particularly challenging.
  • Children (6–13): 9–11 hours. Children have more deep sleep and longer total sleep requirements.
  • Older adults (65+): 7–8 hours. Sleep tends to become lighter and more fragmented with age, but the need for sleep does not significantly decrease.

Sleep Hygiene Best Practices

Consistency is the most important factor in sleep quality. Going to bed and waking up at the same time every day — including weekends — regulates your circadian rhythm and improves both sleep onset and sleep quality. Exposure to bright light in the morning and dimming lights in the evening reinforces this rhythm.

Avoid caffeine after 2 PM (its half-life is 5–6 hours), limit alcohol before bed (it suppresses REM sleep), keep your bedroom cool (65–68°F / 18–20°C is optimal), and minimize screen exposure in the hour before sleep. These habits collectively improve both the quantity and quality of your sleep.

Frequently Asked Questions

Everything you need to know about sleep cycles and timing

How does the sleep calculator work?
Sleep follows cycles of about 90 minutes. Waking up at the end of a full cycle (rather than mid-cycle) leaves you feeling more refreshed. We work backward from your wake time (subtracting 90-minute cycles plus ~14 minutes to fall asleep) or forward from your bedtime.
How many sleep cycles do I need?
Most adults function best on 4–6 cycles (6–9 hours of sleep). We recommend aiming for 5–6 cycles. Consistently getting fewer than 4 cycles (under 6 hours) is linked to health risks over time.
What's the best bedtime?
It depends on your wake time and chronotype. The calculator suggests bedtimes that let you complete full cycles before your wake time. Pick one that fits your schedule and stick to a consistent routine — consistency matters as much as the exact time.
Why does the calculator suggest times in 90-minute increments?
A full sleep cycle (light sleep, deep sleep, and REM) averages about 90 minutes. Waking up mid-cycle, especially out of deep sleep, tends to cause grogginess. Timing your alarm for the end of a cycle instead of the middle of one is why these suggestions land on 90-minute multiples.
How many sleep cycles do I actually need?
Most adults need 5-6 full cycles (7.5-9 hours) per night. Fewer than 5 cycles on a regular basis is associated with the effects of chronic sleep debt, even if you feel like you're managing fine day-to-day.
Is my data private?
Yes. Everything runs in your browser. Your sleep schedule never leaves your device.

Tool Overview

A closer look at Sleep Calculator — how it works, who it's for, and where it fits in your workflow.

Waking up groggy isn't just about how long you slept — it's about where you wake up in your sleep cycle. Sleep follows roughly 90-minute cycles, and waking in the middle of a cycle leaves you feeling tired even after a full night's rest. The Sleep Calculator uses this science to find the best bedtime or wake-up time: tell it when you need to wake up, and it suggests bedtimes that let you complete 4–6 full cycles (plus the 10–15 minutes it typically takes to fall asleep).

Alternatively, enter your planned bedtime and the calculator shows the optimal wake times — aligned with the end of each cycle. The recommended 5–6 cycles (about 7.5–9 hours) reflects what most adults need for optimal health, cognitive function, and recovery. The calculator also shows elapsed sleep time and cycle count for each option, so you can make an informed choice about whether to go for six cycles or compromise with five. The result is a simple, science-backed plan that helps you feel more rested without changing your total hours in bed.

Sleep is a deeply personal topic, and your schedule data is computed locally in your browser. Nothing is uploaded, no account is needed, and the calculator works offline — perfect for a last-minute check before bed.

Key Features

Everything you get with this tool, at a glance.

90-Minute Cycle Science

Sleep cycles of ~90 minutes — wake at cycle end to feel refreshed.

Best Bedtimes

Enter your wake time to get bedtimes that align with 4–6 complete cycles.

Optimal Wake Times

Enter your bedtime to see the best times to wake up.

Cycle Count & Duration

See elapsed sleep time and number of cycles for each option.

Recommended 5–6 Cycles

Based on adult sleep guidelines of 7.5–9 hours.

Private & Local

Your schedule data is computed locally — never uploaded.

How to Use Sleep Calculator

Get from zero to done in four quick steps — no account, no learning curve.

  1. Choose your mode

    Pick 'Wake at' to find bedtimes, or 'Bed at' to find optimal wake times.

  2. Enter your time

    Set your desired wake-up time or bedtime.

  3. Review the options

    See 4–6 suggested times based on 90-minute sleep cycles.

  4. Pick and plan

    Choose the option that fits your schedule — the calculator shows total sleep time too.

Practical Examples

Real input and output pairs so you know exactly what to expect.

Wake at 6:30 AM

Input

Wake time: 6:30 AM

Output

Bed options: 9:15 PM (6 cycles · 9h) · 10:45 PM (5 cycles · 7.5h) · 12:15 AM (4 cycles · 6h)

Bed at 11:00 PM

Input

Bedtime: 11:00 PM

Output

Wake options: 5:00 AM (4 cycles · 6h) · 6:30 AM (5 cycles · 7.5h) · 8:00 AM (6 cycles · 9h)

Quick power nap

Input

Duration: 20 minutes

Output

Nap ends before deep sleep begins — ideal for an energy boost without grogginess

Was this tool helpful?

Your feedback helps us improve Sleep Calculator for everyone.

Share this tool

Share
Runs in your browser100% privateNo data uploaded