Sleep Hours Calculator
Enter the time you fell asleep and woke up to see exactly how long you slept, in hours and full cycles, how it compares to the recommended range, and your sleep debt for the night.
Quick answer: To find how much you slept, subtract the time you fell asleep from the time you woke up, for example, asleep at 11:30 PM and up at 7:00 AM is 7 hours 30 minutes, roughly 5 sleep cycles at 90 minutes each. Most adults need 7–9 hours. This calculator does the math across midnight, converts it to cycles, compares it to the recommended range for your age, and estimates any shortfall. Enter your times below.
How the calculator works
The tool does three things with your two times:
- Total sleep: it finds the gap between falling asleep and waking, automatically adding a day when the times cross midnight, and shows it in hours and minutes.
- Cycle count: it divides your total by the average 90-minute cycle, so you can see roughly how many complete cycles you got (5 ≈ 7.5 h, 6 ≈ 9 h).
- Age comparison: if you enter an age, it checks your total against the recommended range for that age group and flags whether you landed within, above, or below it, and estimates the shortfall.
Use "fell asleep", not "got into bed"
The single most common mistake is counting from lights-out. Time spent lying awake, scrolling, winding down, or tossing and turning, isn't sleep, and including it makes your total look better than it is. If it usually takes you about 15 minutes to drift off, subtract that from your bedtime before entering it here. This is also why wearable "time asleep" figures are often lower than "time in bed": they're trying to strip out the awake minutes.
Worked example
You got into bed at 11:15 PM, took about 15 minutes to fall asleep, and woke at 6:45 AM:
| Step | Value |
|---|---|
| Fell asleep (11:15 PM + 15 min) | 11:30 PM |
| Woke up | 6:45 AM |
| Total sleep | 7 h 15 m |
| Cycles (÷ 90 min) | ~4.8 cycles |
| vs. adult 7–9 h | Just inside the low end |
A night like this is fine occasionally, but if most nights land here you're running a small, steady deficit, better fixed with a 20-minute earlier bedtime than a long weekend lie-in.
What you learn from it
Your real total
An exact hours-and-minutes figure, with the midnight crossover handled for you.
Cycle count
See whether you completed the 5–6 cycles most adults do best on, or fell short.
Age comparison
Instantly know if your night met the recommended range for your age group.
Shortfall estimate
A clear number for the gap, so you know how much to shift your schedule.
One night rarely matters; the pattern does. A single short night is normal and your body recovers. But repeated shortfalls accumulate as sleep debt that affects focus, mood, and long-term health. If you regularly sleep 7–9 hours yet still wake unrefreshed, feel the urge to nap daily, or snore loudly or gasp in your sleep, that points to something this tool can't measure, talk to a doctor. This calculator is educational and not medical advice.
Frequently Asked Questions
Subtract the time you fell asleep from the time you woke up, accounting for crossing midnight. For example, asleep at 11:30pm and awake at 7:00am is 7 hours 30 minutes. This calculator does it for you and also converts the total into sleep cycles (at about 90 minutes each), compares it to the recommended range for your age, and estimates any shortfall. Remember to use the time you actually fell asleep, not when you got into bed, since lying awake doesn't count toward sleep.
Divide your total sleep time by the average cycle length of about 90 minutes. Seven and a half hours is roughly 5 cycles; 9 hours is about 6. Because real cycles range from around 80 to 110 minutes and shift across the night, the cycle count is an estimate rather than an exact figure. Most adults do best with 5 to 6 complete cycles. The calculator shows your approximate cycle count so you can see whether you're landing in that range or falling short.
For adults, 7 to 9 hours is the general target, with your personal need somewhere in that band. A single short night isn't a disaster, your body recovers, but repeated shortfalls add up as sleep debt that affects focus, mood, and health. This tool flags whether your night fell within, above, or below the recommended range for your age and estimates the gap. If you consistently come up short, the fix is a more consistent, earlier bedtime rather than trying to catch up all at once on weekends.
No. Only time actually asleep counts toward your total, which is why the calculator asks for when you fell asleep rather than when you got into bed. The gap between the two, how long it takes to drift off, is called sleep latency, and 10 to 20 minutes is normal. If you routinely lie awake far longer, that's worth addressing on its own, because it both shortens your sleep and can signal stress, too much evening caffeine, or screen light before bed. Enter your genuine fall-asleep time for an honest total.
A short nap can help you function after a poor night, but it won't fully repay the lost deep and REM sleep, and a long or late nap can make the next night's sleep harder. If you need to recover from one bad night, a 10–20 minute nap in the early afternoon is usually the safe choice. For a persistent shortfall, the durable fix is adding sleep to your main night by shifting bedtime earlier, not stacking daytime naps. See our nap calculator to time a recovery nap well.
There's no single threshold, but the useful way to think about it is cumulative: losing an hour a night across a week leaves you roughly a full night short by the weekend, and the effects on attention and mood build up well before you "feel" tired. Small, steady debts are the most common and the most underestimated. You can chip away at a modest debt with a few nights of extra sleep, but you can't bank sleep in advance or erase a large chronic debt in one weekend. Consistency beats catch-up. Our sleep debt calculator estimates your rolling total.