Miso
EN
Coming soon to the App Store

Sleep debt calculator

Sleep debt is the gap between the sleep your body is used to and the sleep you actually got. Enter how long you slept on each of the last seven nights to see your debt and a sensible target for tonight.

The median of your sleep over the past month. Not sure? Use how long you usually sleep when you don't need an alarm.

Sleep over the last seven nights, hours
Sleep debt now…
Aim for tonight…

Calculated in your browser. Nothing is sent anywhere.

What sleep debt is

Every short night leaves a shortfall against your usual sleep. A few short nights in a row add up, and you notice it as lower energy, slower focus and a stronger pull toward naps and coffee. That accumulated shortfall is what people call sleep debt.

Why your usual sleep, not 8 hours

Most calculators measure debt against a fixed 8 hours. People differ, so a fixed number overcounts debt for short sleepers and hides it for long ones. This calculator, like Miso, starts from how long you usually sleep: the median of your sleep over the past month.

How the calculation works

  • Nights go in order, oldest first. A night more than 20 minutes shorter than your usual sleep adds its shortfall to the debt.
  • A night within 20 minutes of your usual sleep clears the debt. Sleep isn't repaid hour for hour: one full night restores most of what a few short ones took.
  • Tonight's target is your usual sleep duration plus a share of the debt, at most 30 minutes, and up to 20 minutes more after a bigger day. Together they never add more than 40 minutes.
  • Debt is capped at 6 hours, so one rough week doesn't turn into an impossible number.

These rules are Miso's model of everyday sleep, not a medical formula.

How to pay sleep debt back

  • Go to bed a little earlier rather than sleeping in a lot. A 20 to 40 minute shift is easier to keep and leaves your wake time where it is.
  • Keep the wake time steady across the week, weekends included.
  • After a short night, a short early afternoon nap can help. A long or late nap can push bedtime back.
  • Watch what cuts your nights short. Late coffee, alcohol and screens in bed are common, but the only way to know what matters for you is to check it against your own nights.

Can you catch up on sleep at the weekend?

Partly. A long weekend sleep clears part of the shortfall, but a big shift in wake time also moves your body clock, which makes Monday night harder. Smaller, steady extensions during the week work better than one big lie-in.

Let your Apple Watch count it for you

Miso reads every night from Apple Health, works out your usual sleep duration from the past month and shows tonight's sleep need. The number updates on its own, so there is nothing to enter.

Coming soon to the App Store
Miso sleep details: average sleep for the last 7 days and sleep debt

Questions

How much sleep debt is too much?

There is no universal line, because it depends on how long you usually sleep. The direction matters more: if debt keeps growing for a week or two, go to bed earlier for a few nights. If you are very sleepy during the day despite enough time in bed, talk to a doctor.

Do naps reduce sleep debt?

Yes, in Miso naps count toward the day's sleep. A short early nap helps more than a long late one, which can make the next night shorter.

How accurate is the calculator?

As accurate as the numbers you enter. Apple Watch records sleep automatically, which removes the guesswork, but no consumer device is a sleep lab.

More guides