Skip to main content
Preparing workspace

Sleep Calculator

Turn an alarm time into bedtimes, or a bedtime into wake-up times, counting 90-minute cycles plus the minutes you take to fall asleep.

Still loading. If the tool doesn’t appear, reload this page.

About this tool

Sleep Calculator

Find the best bedtimes or wake-up times based on 90-minute sleep cycles and how long you take to fall asleep.

The Sleep Calculator turns a single alarm time into a short list of sensible bedtimes — or turns tonight's bedtime into the wake-up times that land between cycles rather than in the middle of one. It counts sleep in roughly 90-minute cycles and adds the time you personally take to drift off, so the schedule reflects lights-out, not just time in bed. Useful for shift workers, students planning an early start, and anyone who wakes up groggy despite sleeping enough hours.

How to use Sleep Calculator

  1. Choose "I must wake at…" or "I go to bed at…" and set that time — or press "Use the time right now".

  2. Enter your Time to fall asleep (0-120 min, 15 by default) and Cycle length (60-120 min, 90 by default).

  3. Read the headline best time plus a table of 6, 5, 4 and 3-cycle options rated from Ideal to Bare minimum, then press "Copy schedule" to copy the plan as text.

Why use Sleep Calculator

  • Counts lights-out, not bedtime

    A separate sleep-latency field means the plan accounts for the 15-30 minutes most people spend falling asleep.

  • Both directions in one tool

    Switch between working backwards from an alarm and forwards from a bedtime without re-entering anything.

  • Adjustable cycle length

    Cycles are not exactly 90 minutes for everyone, so you can set anything from 60 to 120 minutes.

Common use cases

  • You have a 6:30 am flight and want to know the latest bedtime that still gives you five complete cycles.
  • You are already in bed at 12:40 am and need the wake-up times that will not leave you groggy.
  • You take 30 minutes to fall asleep and want a schedule that accounts for that instead of assuming instant sleep.

Frequently asked questions

How long is one sleep cycle?

About 90 minutes on average for adults, though real cycles range from roughly 70 to 120 minutes and tend to lengthen later in the night. The calculator uses 90 minutes by default and lets you change it.

Link to answer
Why does waking between cycles feel better?

Late in a cycle you are usually in lighter sleep, so an alarm is less jarring than one that interrupts deep slow-wave sleep. This is why five full cycles can feel better than an awkward eight hours.

Link to answer
How many cycles should I aim for?

Five to six cycles, or roughly 7.5 to 9 hours, matches the standard adult sleep recommendation. Four cycles is a short night and three is a fallback, not a habit.

Link to answer
Is this medical advice?

No. It is a scheduling aid based on average cycle length. If you regularly wake unrefreshed, struggle to fall asleep, or suspect a sleep disorder, speak to a doctor.

Link to answer

Embed this tool on your site

Add the Sleep Calculator widget to your blog or website — free, responsive, no signup. Just keep the “Widget by AltFTool” credit link visible.

<iframe src="https://www.altftool.com/embed/widget/sleep-calculator"
  title="Sleep Calculator — free AltFTool widget"
  width="100%" height="640" style="border:0;border-radius:12px;overflow:hidden"
  loading="lazy" referrerpolicy="no-referrer-when-downgrade" allow="clipboard-write"></iframe>
<p style="font-size:12px;margin:4px 0 0">Widget by <a href="https://www.altftool.com/tools/all/sleep-calculator?utm_source=embed&utm_medium=widget" rel="nofollow">AltFTool — free online tools</a></p>

Browse all embeddable widgets →