Skip to content
HEALTH · PROCENTOWNIK

Sleep calculator — plan when to go to bed and wake up

The sleep calculator shows bedtimes or wake-up times for five sleep lengths. Enter a time you know and how long you expect to take to fall asleep; you will also see whether the result falls on the previous day, the same day or the next day.

This is a calculation of hours, not a measurement of sleep stages. The tool does not predict REM sleep and does not guarantee that you will feel rested at a given time.

Compare sleep times

The starting values are an example. Choose the time you know and how long you expect to take to fall asleep.

Sleep planning data

Time in 24-hour format, from 00:00 to 23:59.

Whole minutes from 0 to 120. This is an assumption for the calculation, not a measurement or assessment of how long it takes you to fall asleep.

Enter a time and how long you take to fall asleep, or restore the example.

How the sleep calculator works

The tool works with hours and minutes. In “I need to wake up at” mode, it subtracts the chosen sleep length and the expected time to fall asleep from the wake-up time. The result is the time to go to bed, not the moment you will definitely fall asleep.

Bedtime = wake-up time − sleep length − time to fall asleep.

In “I am going to bed at” mode, the calculation works the other way round. It adds the time to fall asleep and then the sleep length to your bedtime. Waking up during the night is not taken into account, because the form does not measure it.

Wake-up time = bedtime + time to fall asleep + sleep length.

The available lengths are 360, 420, 450, 480 and 540 minutes, i.e. 6, 7, 7.5, 8 and 9 hours. We highlight 7.5 hours, as the Procentownik app does. This is a choice of which option to present, not an indication of the best sleep length for you. The other results remain visible.

Why this is not a measurement of cycles

The module name “Sleep cycles” comes from the app. Real cycles are not fixed 90-minute blocks. The NHLBI describes them as usually repeating about every 80–100 minutes. Without a measurement, we cannot tell which stage you will be in at a particular time.

The model 90 minutes only lets us label some of the options, for example 7.5 hours as five such blocks. This does not make the 7- and 8-hour options worse or wrong. According to NHLBI material, the typical range for adults is 7–9 hours, but the calculator does not assess individual needs or sleep quality.

Step-by-step example — waking up at 07:00

Suppose you wake up at 07:00 and take 15 minutes to fall asleep. For the 7.5-hour option, we subtract 450 minutes of sleep and 15 minutes to fall asleep. We get 23:15 on the previous day: bedtime at 23:15, falling asleep at 23:30 as assumed, and waking up at 07:00.

For the same data, the other bedtimes are 00:45 on the same day for 6 hours, 23:45 on the previous day for 7 hours, 22:45 on the previous day for 8 hours and 21:45 on the previous day for 9 hours. Six hours remains a mathematical result, not a suggestion to sleep less.

Sources and how up to date the data is

The formulas, the order of the options and the day labels were compared with the Procentownik 1.10.24 code. Date of check: 30 October 2026. The app assumes 15 minutes to fall asleep. On this page, you can change this assumption within the technical range of 0–120 minutes, which the app’s calculation method also supports.

NHLBI — sleep stages and variation in cycle length: NHLBI — source

NHLBI — sleep length and quality, including the range for adults: NHLBI — source

The sources explain the health context. This does not mean that the institution has approved our calculator or guarantees that the suggested times will work. Taking 15 minutes to fall asleep is an assumption of the model, not a universal standard.

Questions and answers

Will the calculator wake me up in the right sleep stage?

No. It does not measure sleep stages and does not connect to a sleep-tracking device. Nor does the result set an alarm on your phone; you decide whether to set one.

What does “previous day” mean?

The day is given relative to the time you entered. If you want to get up at 07:00, a bedtime of 23:15 falls on the previous day. For a shorter option, 00:45 already falls on the same day as waking up.

Is 7.5 hours better than 8 hours?

The calculator does not decide that. The highlighted option matches how Procentownik presents the results; it is not an individual recommendation. You do not need to match your sleep length to multiples of 90 minutes.

Is 15 minutes always the right time to fall asleep?

No. It is the default assumption. You can enter your own number of whole minutes; changing it will shift the result. What you enter does not diagnose sleep problems and does not take waking up at night into account.

What happens on the night the clocks change?

The model does clock arithmetic without a date or time zone. It does not take the change to summer or winter time into account. On such a night, check the actual time between going to bed and waking up.

Are the times I enter saved or sent anywhere?

The form calculates in your browser, with no account and without sending the values you enter to a server. You start copying the result yourself. The tool does not collect information about how you actually sleep.

Related calculators

More than a calculator.

Sleep cycles in Procentownik too

The Sleep cycles module belongs to the Health category. Procentownik brings together 33 modules in 6 categories and offers a history and favourites. Explore the app or see the other calculators.

This is a tool for planning times for adults, not medical advice or a sleep measurement. It does not determine sleep stages, sleep quality or how much sleep you need. Persistent sleep problems or sleepiness need an individual assessment.

Overview of categories and tools in Procentownik
Overview of categories and tools in Procentownik