b4rn1 · healthtoolshealth
Bin HL-03·Health

Sleep calculator

Find a bedtime or wake time that lands between sleep cycles, so the alarm does not land in deep sleep.

BinHL-03
DepartmentHealth
Free runsUnlimited
Runs onYour device
Loading the tool…

The code for this tool is fetched only when you open it.

What sleep calculator does

Sleep calculator works backwards from a wake-up time to the bedtimes that would let you finish a whole number of 90-minute sleep cycles. It is for the alarm you cannot move and the bedtime you keep getting wrong.

How it works

Ninety-minute cycles counted back from the wake time, with an allowance to fall asleep, showing four, five and six cycle options and the total sleep each represents.

Runs on your device

This is a local operation in the literal sense. The bytes are read from disk by the page, processed on the CPU it is running on, and written back out through a download — the network is never involved in the file itself.

Formats and limits

LimitsUnlimited. Any wake time, with results in your local clock. Cycle length is fixed at 90 minutes because that is the convention, not because every sleeper matches it.
PriceFree, unlimited, no account

Worth knowing

  • Waking between cycles is the point: being roused mid-deep-sleep is what produces the groggy half hour, so a 6-hour night that ends on a boundary can feel better than 7 hours that do not.
  • The falling-asleep allowance is built into the suggestion, because lying down at the listed time is not the same as being asleep at it.

Questions about sleep calculator

Why 90 minutes?

It is the average length of one full cycle through light, deep and REM sleep. Individual cycles run from about 70 to 110 minutes, so treat the suggestion as a good approximation.

How many cycles do I need?

Most adults do best with five (7.5 hours) or six, and function acceptably on four for occasional short nights. Chronic four-cycle sleep accumulates a deficit that caffeine hides rather than fixes.

Does the time it takes me to fall asleep count?

It should. The suggestions leave a short allowance for falling asleep, but if you routinely lie awake for twenty minutes, move your bedtime earlier by that much — otherwise the cycles start later than the calculator assumes.

Can I use this to plan a nap?

Yes, with the same logic: a 20-minute nap avoids deep sleep and wakes you clear, while 90 minutes completes one cycle. Anything between 30 and 60 minutes tends to end mid-cycle and leaves you groggier than before.

Is my file uploaded anywhere?

No. There is no upload step and no server-side copy: the browser decodes and re-encodes the file in this tab, and the network carries nothing about it.

Will it run on a plane?

Once the page has loaded, yes — the processing code runs locally and no further request is needed. The first load has to come from the network like any page.

Do I have to sign up?

Free with no account and no daily limit — counting and calculating are not metered, because they cost nothing to run.

Sleep calculator — bedtimes built around 90-minute cycles · b4rn1