Schedules and shifts
Use the result as a check within this type of task, with the assumptions shown above.
MAXScanner Calculator
In bed at 23:45, up at 06:30: 6 h 45 min in bed. Subtract the minutes it took to fall asleep and time awake at night to estimate how long you slept.
Change the values and see the calculation update immediately.
The relationship behind the answer stays visible on the page.
Rates, dimensions and limitations are kept explicit instead of hidden.
Move into the next genuinely different calculation without keyword-copy pages.
Separate time in bed from optional awake-time deductions.
Leave both deductions at 0 to calculate time in bed only. Enter observed/assumed awake minutes when you want a simple estimated-sleep arithmetic result.
Calculated result
8h 0m 0s estimated sleep
This is clock arithmetic, not a sleep measurement or sleep-quality assessment. If latency/awake time are unknown, leave them at zero and interpret the result as time in bed.
A wake time earlier than bedtime is treated as the following day. Equal bedtime/wake time means a zero-length interval, not an assumed 24 hours.
Real sleep can differ because awakenings, device clock accuracy and unobserved sleep latency are not measured by this calculator.
Shared links reopen these inputs. Recent and saved calculations stay in this browser unless you clear site data.
Sleep Duration Calculator works with time durations. Enter the times shown by the tool and read the elapsed result in the units displayed; overnight handling is stated beside the result when it applies.
Enter the start/base time.
Enter the end time, duration or break requested by this calculator.
Review the elapsed result and any day rollover shown.
Use the result as a check within this type of task, with the assumptions shown above.
Use the result as a check within this type of task, with the assumptions shown above.
Use the result as a check within this type of task, with the assumptions shown above.
Where the tool says overnight rollover is supported, an earlier end clock time is treated as the following day.
Work-duration tools show decimal hours where that representation is useful.
Ordinary clock-time inputs do not contain time-zone information. Use a Time Zone Calculator when zones matter.
Use the calculator library to switch tasks when the question, unit or assumption changes.
Browse all calculatorsPlanning notes
Subtract bedtime from wake-up time, adding 24 hours when you wake after midnight: in bed at 23:45 and up at 06:30 is 6 h 45 min. That is time in bed. To estimate sleep, subtract the minutes it took to fall asleep and any time you lay awake during the night. Sleep diaries and insomnia programs then divide sleep by time in bed to get sleep efficiency; the table below shows that ratio for a few typical nights. The calculator does the clock arithmetic only. It cannot know how long you were really awake, so the estimate is only as good as the minutes you enter.
Time in bed is 6 h 45 min (405 minutes). Taking off 15 + 25 = 40 minutes leaves 6 h 5 min of estimated sleep, about 6.08 hours. Sleep efficiency is 365 ÷ 405 = 90.1%. The same night counted as bedtime to alarm, with no deductions, would look like 6 h 45 min of sleep, 40 minutes more than you probably got.
| In bed | Up | Fall asleep + awake | Time in bed | Estimated sleep | Efficiency |
|---|---|---|---|---|---|
| 22:30 | 06:30 | 20 + 10 min | 8 h | 7 h 30 min | 93.8% |
| 23:00 | 07:00 | 30 + 30 min | 8 h | 7 h | 87.5% |
| 23:45 | 06:30 | 0 + 0 min | 6 h 45 min | 6 h 45 min | 100% |
| 00:30 | 07:15 | 15 + 25 min | 6 h 45 min | 6 h 5 min | 90.1% |
| 21:00 | 05:00 | 0 + 0 min | 8 h | 8 h | 100% |
| 13:00 | 14:30 | 10 + 0 min | 1 h 30 min | 1 h 20 min | 88.9% |
You were in bed for 8 hours. If it took 30 minutes to fall asleep and you were awake for another 30 minutes in the night, you slept about 7 hours.
The CDC lists 7 or more hours for adults aged 18 to 60 (from the American Academy of Sleep Medicine and Sleep Research Society consensus), 7 to 9 hours at 61 to 64 and 7 to 8 hours from 65. Teens aged 13 to 17 are listed at 8 to 10 hours and children aged 6 to 12 at 9 to 12. The calculator does not compare your result against these figures.
Time asleep divided by time in bed, as a percentage. 7 h 30 min asleep out of 8 h in bed is 93.8%. Sleep diaries use it, and insomnia treatment programs often treat about 85% or more as a reasonable level; a doctor or sleep clinician is the right person to interpret it for you.
No. Time in bed runs from lying down to getting up. Time asleep leaves out the minutes it took to fall asleep and the time you were awake, which is why those are separate inputs.
Because that is the usual overnight case: in bed at 23:00, up at 07:00. A daytime nap such as 13:00 to 14:30 is calculated within the same day.
Method/editorial reviewed 2026-10-19. The live calculator inputs and visible working remain the source of truth for the exact scenario above.
These calculators share this task context and lead to a genuinely different calculation.