Sleep Debt Calculator
Two sliders. Your sleep debt over the last two weeks.
30 min earlier than usual, to pay the debt down
Sleep need and wake time
Plan the next nights in the bedtime calculator →
Your numbers stay in your browser. Nothing is sent anywhere. An estimate, not medical advice.
Two averages get you this far.
SleepLedger reads your actual sleep from Apple Health, updates your debt every morning, and plans your bedtimes for the nights ahead. Free to download; the full 7-day plan is part of Premium.
Download on the App StoreHow it is calculated
- Two weeks count as 10 weekday nights and 4 weekend nights.
- Each night adds the hours you needed minus the hours you slept. A night with extra sleep pays earlier shortfalls back, hour for hour. Debt never goes below zero.
- Levels: under 1 hour is Good, 1 to 3 hours Mild, 3 to 5 hours Moderate, 5 hours or more High.
- Bedtime moves 15 minutes earlier for each hour of debt, up to 30 minutes. With less than half an hour of debt it does not move.
- Nights to pay back: each night at the earlier bedtime repays the minutes you went to bed early. As the debt shrinks, so does the shift, which is why the last hours take longer.
These are the rules the SleepLedger app uses with its default settings. In the app you can change the 30-minute limit, so the numbers there can differ. The 15-minute rule is how the app works, not a medical recommendation.
Questions
Why does paying it back take so long?
The calculator moves bedtime at most 30 minutes earlier, so one night repays at most half an hour. Fifteen hours of debt takes about a month that way. A long sleep on a free day repays more at once; the app counts that when it reads your real sleep.
How much sleep do I need?
Eight hours is the starting value here and in the app. If you regularly wake up rested without an alarm after a different amount, use that instead.
Is this the number the app would show me?
The rules are the same, but the app works night by night from the sleep recorded in Apple Health instead of two averages, so its number is more exact.