Enter your wake-up time to find the bedtime that gives you full 90-minute sleep cycles, counting the minutes you take to fall asleep.

Sleep Calculator

Tell it when you must wake up; it counts back in full 90-minute cycles — plus your fall-asleep time — to give you a bedtime that wakes you refreshed.

Free to use Counts fall-asleep time Cycle fallbacks shown Save PDF · PNG · Share

Enter your values

Fill in the fields below — the result appears with every step shown.

Shown on the printed, PDF and PNG copies of your result. Leave blank to stay anonymous.

Enter a valid value for wake-up time.

The time you must get up, in 24-hour HH:MM format.

Enter a valid value for sleep cycles.

Each cycle is about 90 minutes. 6 cycles (9 hours) suits most adults; 5 cycles is 7.5 hours.

Enter a valid value for minutes to fall asleep.

Average time you take to drift off once in bed.

Local browser calculation

Review your inputs and the tool’s supported scope before using the result.

Calculator loading… If this message stays, this view is not running the calculator's script — open this file in a full browser tab, then press Calculate.

Your result will appear here

Enter your values above, then press Calculate — or press Enter in any field.
TinyExe Sleep Calculator tinyexe.comFree online calculators

TinyExe · Sleep Result

Calculated locally in your browser

Calculated on
—

–
—

Name

—

Wake-up time

—

Sleep cycles

—

Minutes to fall asleep

—

How this was calculated

    What to do next

      TinyExe · tinyexe.com — Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.

      Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      Embed this tool

      Add this Sleep Calculator to your own page — copy the code below and paste it where you want the tool to appear.

      The embed loads the live calculator in a frame, so it stays up to date automatically. Choose a width, check the code, then copy it. When you publish on WordPress, keep the src pointing at your live tool URL.

      Works in WordPress (Custom HTML block), HTML pages, and most site builders.

      The short answer

      To time your sleep, count back from your wake-up time in ninety-minute cycles: six cycles is nine hours, five cycles is seven and a half hours. For a 7 a.m. wake-up and fifteen minutes to fall asleep, six cycles means being in bed by 9:45 p.m., so you wake at a cycle boundary rather than in deep sleep.

      • One sleep cycle is about 90 minutes
      • 6 cycles = 9 hours; 5 cycles = 7.5 hours
      • Bedtime counts back sleep plus fall-asleep time
      • Most adults need 7-9 hours (sleep foundation guidance)

      Sleep cycles and total sleep

      Reference values for this calculator.

      CyclesTotal sleepBest for
      46 hoursEmergency short night only
      57.5 hoursMinimum most adults do well on
      69 hoursFull night for most adults
      34.5 hoursLong nap / split sleep

      The formula

      The exact formula this calculator uses — every variable in it is explained in the card below.

      The formula

      Total sleep = cycles x 90 minutes ; Bedtime = wake-up time - total sleep - minutes taken to fall asleep

      Built on the 90-minute sleep-cycle model rather than a blunt '8 hours' rule, and it adds your personal fall-asleep time — the step most sleep calculators skip. Ideas enhancement: it also shows the 5-cycle and 4-cycle bedtimes so a late night still ends on a cycle boundary.

      Worked examples

      Worked examples with the full working shown — try them in the calculator to check.

      Example 1

      Full night before a 7 a.m. start

      Wake 07:00, 6 cycles, 15 min to fall asleep

      CalculationSteps
      Sleep = 6 x 90 = 540 minutes (9 hours). Bedtime = 07:00 - 9:00 - 0:15 = 21:45.540 minutes of sleep; in bed by 21:45.

      Result

      Example 2

      Five-cycle school night

      Wake 06:30, 5 cycles, 10 min to fall asleep

      CalculationSteps
      Sleep = 5 x 90 = 450 minutes (7.5 hours). Bedtime = 06:30 - 7:30 - 0:10 = 22:50.450 minutes of sleep; in bed by 22:50.

      Result

      Example 3

      Short night, early flight

      Wake 05:00, 4 cycles, straight to sleep

      CalculationSteps
      Sleep = 4 x 90 = 360 minutes (6 hours). Bedtime = 05:00 - 6:00 = 23:00 the night before.360 minutes of sleep; in bed by 23:00.

      Result

      How to use this calculator

      Step 1

      Enter the time you must wake up, in 24-hour format.

      Step 2

      Choose your target cycles — 6 (9 hours) for a full night, 5 (7.5 hours) as a solid minimum.

      Step 3

      Enter how long you usually take to fall asleep.

      Step 4

      Press Calculate to get your bedtime, plus the 5- and 4-cycle fallbacks.

      Step 5

      Be in bed by that time, not just starting to wind down.

      In short: A sleep-cycle calculator plans bedtime or wake time in multiples of the roughly 90-minute human sleep cycle so you wake between cycles instead of during deep sleep.

      Frequently asked questions

      Why 90-minute cycles?

      Sleep runs in cycles of light sleep, deep sleep and REM (dream) sleep lasting roughly 90 minutes. Waking at a cycle boundary usually feels easier than waking mid-deep-sleep, which is why total sleep is planned in multiples of 90 minutes.

      How much sleep do I actually need?

      Most adults need 7-9 hours — five to six cycles. Teenagers need more, and a small minority manage on less. If you wake unrefreshed despite 6 cycles, the issue may be quality, timing or a sleep disorder, not quantity.

      Is 4 cycles enough?

      At 6 hours it is a short-term fallback, not a routine. The calculator shows it so a late night can still end on a cycle boundary, but regular 4-cycle nights build a sleep debt.

      What if I wake before my alarm?

      If you wake naturally near a cycle end and feel alert, getting up is usually better than forcing another partial cycle that your alarm will interrupt in deep sleep.

      Does this diagnose sleep problems?

      No. It is a timing planner based on averages. Loud snoring, apnoea, insomnia or excessive daytime sleepiness need a clinician, not a calculator.

      About this calculator

      A sleep calculator works backwards from the time you must wake up, subtracting whole 90-minute sleep cycles and the minutes you personally take to fall asleep, to tell you when to be in bed. The headline result is total sleep in minutes, with the matching bedtime — and shorter-cycle alternatives for nights when the ideal is impossible.

      Human sleep is not uniform: it oscillates between light sleep, deep slow-wave sleep and REM sleep in cycles averaging about 90 minutes. An alarm that fires in deep sleep produces the heavy, disoriented feeling called sleep inertia, while waking from light sleep at a cycle's end feels comparatively clean — even with slightly less total sleep.

      That is why this calculator plans in cycles, not hours. Six cycles (9 hours) is a full night for most adults, five cycles (7.5 hours) is a realistic minimum, and national guidance of 7-9 hours for adults maps closely onto that 5-6 cycle range. It also subtracts your fall-asleep latency — being 'in bed at 10' is not sleeping at 10 if you drift off at 10:20.

      Cycle length is an average, not a metronome: real cycles run roughly 70-120 minutes and shorten towards morning. Treat the bedtime as a target window of about 15 minutes rather than a second-perfect prescription, and judge the routine by how you feel at waking over a week.

      Use it the evening before an early start, when setting a new routine, during shift changes, or when you keep waking groggy despite 'enough' hours — the fix is often a bedtime moved by 30-45 minutes so the alarm lands at a cycle boundary.

      How to calculate it yourself

      Step 1

      Fix the non-negotiable: your wake-up time.

      Step 2

      Decide on full cycles — six for a full night, five as a floor.

      Step 3

      Multiply cycles by 90 minutes for total sleep time.

      Step 4

      Subtract total sleep and your fall-asleep minutes from the wake time.

      Step 5

      The result is the time to be in bed, lights out.

      Real-life examples

      The groggy engineer's fix

      An engineer waking at 6:30 kept sleeping '8 hours' from 22:30 yet woke feeling drugged. Her calculator shows 8 hours is five and a third cycles — her alarm lands mid-cycle.

      Running 5 cycles with 15 minutes to fall asleep: bedtime = 06:30 - 7:30 - 0:15 = 22:45, for 450 minutes of complete cycles.

      She moves bedtime 15 minutes later, sleeps slightly less on paper, and starts waking before the alarm feeling clearer.

      New parent's split night

      A father who handles the 2 a.m. feed plans his first sleep block to end at a cycle boundary: he wants to be up for a 05:30 start and takes 20 minutes to fall asleep, choosing 5 cycles.

      Sleep = 5 x 90 = 450 minutes. Bedtime = 05:30 - 7:30 - 0:20 = 21:40.

      He is in bed by 21:40; even with the night feed, his main block ends on a cycle boundary at 05:30.

      Ideas & use cases

      • Early-start rehearsal: before a week of 5 a.m. starts, run the calculator for three nights ahead and shift bedtime 30 minutes earlier each night instead of all at once.
      • Nap sizing: enter your nap start as the wake time minus 1 cycle to plan a single-cycle 90-minute nap that restores without grogginess.
      • Partner compromise: compare the 5- and 6-cycle bedtimes to pick a shared lights-out time that still protects your wake-up.

      Limitations & sources

      • Planning aid based on average cycle length; individual cycles vary (roughly 70-120 minutes) and it does not track, measure or diagnose sleep. It works from a wake-up time only.

      Sources: 90-minute sleep-cycle model and adult sleep-duration guidance (National Sleep Foundation / CDC adult recommendations of 7-9 hours)

      Sleep Calculator · TinyExe calculator suite Free to use · No sign-up · Instant results