100 free tools for text, SEO, developers, DNS, finance, home and healthEvery tool runs locally in your browser. No sign-up. Nothing is uploaded.

Sleep Calculator

Find your best bedtimes and wake-up times from 90-minute sleep cycles, plus naps and sleep debt. Free, no sign-up, and it runs in your browser.

Dedicated page: /en/sleep-calculator

Sleep runs in roughly 90 minute cycles. Waking between cycles, not in the middle of one, is what makes mornings feel easier. This tool counts back in whole cycles from your wake-up time, or forward from your bedtime.

Nap calculator

Sleep debt tracker

Quick answer

A sleep calculator finds the best bedtimes and wake-up times from 90 minute sleep cycles. Give it your wake-up time and it counts back in whole cycles, or give it your bedtime and it counts forward, so you wake between cycles instead of in the middle of deep sleep.

About this Sleep Calculator

Find your best bedtimes and wake-up times from 90-minute sleep cycles, plus naps and sleep debt. It is one of the Health and Family on ToolUstad, and like every tool here it runs entirely in your browser: nothing you type, paste or open is uploaded to a server, and there is no sign-up or usage limit.

What is a sleep calculator?

A sleep calculator is a bedtime planner built on how sleep actually works. Sleep is not one long stretch of unconsciousness. It runs in cycles of about 90 minutes, moving from light sleep into deep sleep and then into REM sleep, the dreaming stage, before the cycle starts again. Waking up at the end of a cycle, during light sleep, feels natural. Waking up in the middle of a cycle, during deep sleep, leaves you groggy and confused, even if you slept for eight hours. This calculator counts in whole cycles from the time you need to wake, or forward from the time you go to bed, so the alarm lands on a cycle boundary.

The tool also covers the two things people ask about most after bedtimes: naps and sleep debt. A short nap can rescue an afternoon, but only if it ends before deep sleep starts. And a week of short nights builds a debt that one long sleep-in cannot repay, because oversleeping shifts your body clock. The debt tracker on this page shows what those short nights add up to, so you can pay the debt back a little at a time.

How does sleep cycle maths work?

Take your wake-up time, subtract the minutes you usually need to fall asleep, then subtract whole 90 minute cycles. For a 7:00 AM alarm with 15 minutes to fall asleep, five cycles means 7.5 hours of sleep, so bedtime is 11:15 PM. Six cycles means 9 hours, so bedtime is 9:45 PM. Four cycles means 6 hours, so bedtime is 12:45 AM. The calculator shows all four options and highlights the ones inside the recommended range for your age group, because five cycles is right for most adults while children and teenagers need more.

When and why to use a sleep calculator

  • Early starts: work, school runs and flights all fix the wake-up time, so the only choice is the bedtime. Counting back in cycles picks it for you.
  • Shift work: a night shift worker who sleeps at 9:00 AM needs the same cycle maths, just at a different hour.

Best practices

  • Keep the same wake-up time every day, including weekends: a regular wake time steadies the body clock more than a regular bedtime.
  • Count the fall-asleep time honestly. If it usually takes you 30 minutes, enter 30, not 15, or every bedtime will be half an hour too late.
  • Stop caffeine 8 hours before bed and screens an hour before bed, because both stretch the fall-asleep time the calculator assumes.

Common mistakes to avoid

  • Aiming for 8 hours exactly instead of whole cycles: 8 hours is 5.3 cycles, so the alarm lands mid-cycle and the morning feels worse than 7.5 hours would.
  • Sleeping in by 2 hours on Sunday to repay the week: it shifts the body clock and makes Monday morning harder, not easier.
  • Napping after 4:00 PM: a late nap steals sleep pressure from the night and pushes bedtime later.

Who is the sleep calculator for?

Anyone with a fixed wake-up time: workers, students, parents, travellers and shift workers. It is also useful for people trying to fix a broken sleep schedule, because it turns a vague goal like "sleep more" into a concrete bedtime. The tool is an estimator, not a medical device: if you snore loudly, stop breathing at night, or cannot stay awake during the day, see a doctor, because those are signs of sleep apnoea, not bad maths.

Learn: how to use the Sleep Calculator

  1. Choose whether you are fixing a wake-up time or a bedtime, then set the time and how long you usually take to fall asleep.
  2. Read the highlighted times first: they land inside the recommended sleep range for your age group.
  3. Use the nap calculator for a 20 or 90 minute nap, and the debt tracker to see what short nights are costing you.

Features

  • Wake-up mode and bedtime mode, both counted in whole 90 minute cycles
  • Fall-asleep time adjustable from 0 to 60 minutes, default 15
  • Age-based recommended sleep ranges for children, teens, adults and older adults
  • Nap calculator with 20 minute power naps and 90 minute full-cycle naps
  • Sleep debt tracker for last night and the whole week

Worked example

Wake at 7:00 AM with 15 minutes to fall asleep: 6 cycles (9 hours) means bed at 9:45 PM, 5 cycles (7.5 hours) means bed at 11:15 PM, and 4 cycles (6 hours) means bed at 12:45 AM. The 5-cycle time is the one most adults should aim for.

Frequently asked questions

Why 90 minutes?

Sleep moves through light sleep, deep sleep and REM in cycles of about 90 minutes. Waking at the end of a cycle, during light sleep, feels far easier than being pulled out of deep sleep mid-cycle.

How many cycles do I need?

Most adults need 5 cycles, about 7.5 hours, or 6 cycles, about 9 hours. The calculator highlights the cycle counts inside the recommended range for your age group.

Is a 20 minute nap really better than 30?

Yes, for most people. A 20 minute nap stays in light sleep, so you wake alert. At 30 to 60 minutes you can wake from deep sleep and feel groggy for half an hour.

What if I take longer than 15 minutes to fall asleep?

Change the fall-asleep time to your usual number. Every bedtime shifts later by that amount, because the cycles are counted from when you are actually asleep, not when you get into bed.

How much sleep do adults need?

Most adults need 7 to 9 hours a night, which is 5 or 6 cycles. Teenagers need 8 to 10 hours, children 9 to 12, and older adults 7 to 8. The calculator highlights the cycle counts inside your age group's range.

Does the 90 minute cycle work for everyone?

Cycle length varies a little between people, usually 80 to 110 minutes, and it changes with age. 90 minutes is the standard average used by sleep calculators, and it is close enough to make mornings noticeably easier.

What time should I nap?

Early afternoon, between 1:00 and 3:00 PM, when the body naturally dips. A nap after 4:00 PM can make it hard to fall asleep at night.

Related tools

More Health and Family like this one, plus two picks from other categories. Each opens its own dedicated page.

See all 100 tools
Copied