Sleep Hours Calculator

Hours of sleep—
Total minutes—
90-minute sleep cycles—
Complete cycles—

How Sleep Hours Calculator is calculated: Sleep = wake time minus bedtime, across midnight. Cycles = hours divided by 1.5. A full 90-minute cycle count is rounded down; cycle counts are approximate.

What is a sleep hours calculator?

A sleep hours calculator works out how long you slept from your bedtime and your wake-up time. Enter both times, and the page shows the hours, the total minutes, and how many 90-minute sleep cycles fit into the night. The default is bedtime 22:30 and wake-up 06:30, which is 8 hours of sleep, 480 minutes, and 5.3 cycles.

The calculation crosses midnight for you. Going to bed at 22:30 and waking at 06:30 is not a negative number: the calculator adds 24 hours to the wake time when it is earlier than the bedtime, so the answer comes out right. You can also type times with AM and PM, like 11:30 PM and 7:00 AM, and they work the same way.

The cycle count is the part people find most useful. Sleep runs in cycles of about 90 minutes, and waking at the end of a cycle usually feels better than waking in the middle of one. The page shows both the exact cycle count and the number of complete cycles, so you can see whether your night lines up with whole cycles.

How sleep hours and cycles are worked out

The hours are simple subtraction across midnight. Bedtime 22:30 is 1,350 minutes after midnight, and wake time 06:30 is 390 minutes. Since 390 is smaller, add 1,440 minutes, a full day, to get 1,830, then subtract 1,350 to get 480 minutes, which is 8 hours. That is the whole calculation.

The cycle count divides the minutes by 90. For 480 minutes, 480 divided by 90 is 5.33, shown as 5.3 cycles. The complete cycles are the same number rounded down: 5 full cycles, with 30 minutes left over. Those 30 minutes are the start of a sixth cycle, cut short by the alarm.

Cycle counts are approximate, and the page says so. Real sleep cycles vary from person to person and from night to night, usually between 80 and 110 minutes, and the first cycle of the night is often shorter. Treat 90 minutes as a useful average, not a medical measurement.

The 90-minute cycle, and why it matters

A sleep cycle is the journey from light sleep down into deep sleep and back up into dreaming sleep, and it takes about 90 minutes. Waking during deep sleep feels awful: groggy, heavy, and slow to clear. Waking at the end of a cycle, during light sleep, feels much easier, even after the same total hours.

That is why the complete-cycle count matters more than the raw hours. Six hours of sleep is exactly 4 complete cycles, and many people feel better on 6 hours that end cleanly than on 7 hours that end mid-cycle. Eight hours is 5 complete cycles with 30 minutes spare, which is also a decent landing.

The practical use is to set the alarm by cycles, not by hours. If you must wake at 06:30, count back in 90-minute steps: 06:30 minus 5 cycles is 23:00, and minus 6 cycles is 21:30. A sleep cycle calculator does that backwards planning for you, and a sleep calculator works out the best bedtime for a chosen wake time.

The same logic works in the other direction. If you fall asleep at 23:00 and want 5 complete cycles, add 7.5 hours and set the alarm for 06:30. If you fall asleep at 00:00 and want 4 cycles, add 6 hours and set it for 06:00. Counting in cycles instead of hours turns the alarm into a landing, not an interruption.

A worked example: 8 hours, 7.8 hours, and 6 hours

First, the default: bedtime 22:30, wake 06:30. The gap is 480 minutes, which is 8 hours, or 5.3 cycles, with 5 complete cycles. That is a solid night for most adults, and the 30 minutes past the fifth cycle means the alarm lands in light sleep at the start of the sixth cycle.

Second, a shorter night: bedtime 23:15, wake 07:00. The gap is 465 minutes, which is 7.8 hours, or 5.2 cycles, with 5 complete cycles. The 15 minutes past the fifth cycle is a small overshoot, and waking then usually feels fine.

Third, a short night: bedtime 00:00, wake 06:00. The gap is 360 minutes, which is 6 hours, or exactly 4 cycles, with 4 complete cycles. Six hours is below the usual 7 to 9 hour guidance for adults, but because it lands exactly on a cycle boundary, it often feels better than 6 hours 45 minutes would. A time duration calculator checks the gap between any two times, not just sleep.

Who uses a sleep hours calculator, and why

Anyone who wants to know whether they slept enough uses it. The number is more honest than a feeling: a night that felt long can turn out to be 6 hours 20 minutes, and a night that felt short can be 8 hours. Writing the number down for a week shows the pattern more clearly than memory does.

Shift workers use it to plan sleep around odd hours. When bedtime is 08:00 and wake time is 15:30, the maths is harder to do in your head, and the calculator handles it the same way it handles a normal night. The cycle count helps shift workers pick a wake time that lands on a cycle boundary.

Parents use it for children, whose sleep needs are higher and whose bedtimes are earlier. A child in bed at 20:00 and up at 06:30 sleeps 10.5 hours, which is 7 complete cycles. An hours between calculator does the same subtraction for any two clock times, day or night.

People with a new baby use it to add up broken sleep. Two stretches of 3 hours and one of 2 hours is 8 hours in total, even though it never felt like a full night. The calculator adds the stretches, and the total is usually better than the night felt.

Sleep hours calculator vs sleep tracker

A sleep tracker and this calculator answer the same question in different ways. A tracker measures your sleep with sensors while you wear it, and it can estimate how much of the night was deep sleep. This calculator takes two times you type in and does the subtraction. It cannot tell you how well you slept, only how long.

The calculator has one advantage a tracker never has: it works from the times you actually chose. If you went to bed at 22:30 but lay awake until 23:30, the tracker says 7 hours and the calculator says 8. The truth is closer to the tracker, because time in bed is not time asleep. For honest numbers, enter the time you fell asleep, not the time you got into bed.

The tracker has the opposite advantage: it catches the gap between bedtime and sleep, and the wake-ups during the night. Use the calculator for quick planning and the tracker for a real picture of the week. If the two disagree by more than an hour most nights, trust the tracker and fix the bedtime.

Common sleep calculation mistakes

The most common mistake is counting time in bed as time asleep. Most people take 10 to 30 minutes to fall asleep, and many wake briefly during the night. A bedtime of 22:30 and a wake time of 06:30 is 8 hours in bed, but the sleep is usually 7.5 hours or less. Enter the time you fell asleep for the honest figure.

Second: forgetting that the calculation crosses midnight. Subtracting 22:30 from 06:30 in your head gives a negative number, and people often answer 16 hours by mistake. The calculator adds 24 hours to the wake time when needed, so the answer is right, but the same trap catches people doing it by hand.

Third: chasing exact cycle counts. Sleep cycles are about 90 minutes on average, not exactly 90 minutes every time. Planning a bedtime to the minute around cycles is over-precision: aim to land near a cycle boundary, within 15 minutes either way, and the benefit is the same.

Fourth: treating the same time as a full day. If bedtime and wake time are identical, the calculator reads it as 0 hours, not 24. That is the honest reading for a sleep tool: nobody sleeps 24 hours. If you see 0, check that one of the times is not a typo.

How to use this sleep hours calculator

Enter your bedtime in 24-hour format, like 22:30, or with AM and PM, like 10:30 PM. Enter your wake-up time the same way. The results update instantly as you type: hours, total minutes, cycle count, and complete cycles.

Read the hours first, then the complete cycles. Seven to nine hours is the usual guidance for adults, and a whole number of complete cycles means the alarm is likely to land well. If the hours look right but the cycles end mid-cycle, try shifting bedtime by 15 or 30 minutes.

Everything runs in your browser. No account, no form, no data sent anywhere: your sleep times never leave your device. Use it nightly if you like, and compare the numbers across a week rather than judging one night alone.

One tip: track a week, not a night. One bad night proves nothing, but seven nights show whether you are getting enough sleep, and whether your bedtime is steady. A steady bedtime matters as much as the total: the body keeps time, and it rewards regularity.

Frequently Asked Questions

8 hours, or 480 minutes. That is 5.3 cycles of 90 minutes, with 5 complete cycles and 30 minutes into the sixth. The calculator adds 24 hours to the wake time when it is earlier than the bedtime, so a night that crosses midnight comes out right.

About 5.3 cycles of 90 minutes, with 5 complete cycles. Eight hours is 480 minutes, and 480 divided by 90 is 5.33. Cycle lengths vary between about 80 and 110 minutes from night to night, so treat the count as approximate, not exact.

Six hours is exactly 4 cycles of 90 minutes, and it often feels better than 6 hours 45 minutes, because the alarm lands at a cycle boundary. But 6 hours is below the usual 7 to 9 hour guidance for adults, so it is a better landing, not enough sleep. Use it for a short night, not as a routine.

The calculator reads that as 0 hours of sleep, not 24. That is the honest reading for a sleep tool, since nobody sleeps a full day. If you see 0, check for a typo: the bedtime and wake time are probably not meant to be identical.

More free tools

More calculators and utilities from Sortrun — free, no sign-up.