How To Calculate Hours Of Sleep: Time In Bed vs Time Asleep

Quick Answer: Find the elapsed time from bedtime to wake time, crossing midnight when needed. Then subtract the time it took to fall asleep and the time you spent awake in the night. The result is your time asleep. Most adults should regularly get 7 or more hours of it. People tend to over-report: one study found reports about 0.8 hours higher than measured sleep.

Skip the math with our sleep duration calculator.

How Do You Calculate Hours Of Sleep?

Use three steps. First, find your time in bed, from the moment you turn the lights out to the moment you get up. Second, estimate how long you took to fall asleep and how long you were awake in the night. Third, subtract those from your time in bed. The answer is the sleep you actually got.

This is basic arithmetic, not a medical formula. A quick example is below, and you can try other bedtimes with a page like how many hours of sleep from 11 pm to 7 am.

Time in Bed Versus Time Asleep A worked example. Time in bed is 7 hours 30 minutes, or 450 minutes. Subtract 20 minutes to fall asleep and 30 minutes awake in the night. Time asleep is 400 minutes, or 6 hours 40 minutes. Example Night: 11:00 pm to 6:30 am In bed450 min Awake20 + 30 min Asleep400 min 400 minutes is 6 hours 40 minutes. Our own arithmetic.

What Is Sleep Efficiency?

It is the share of your time in bed that you spend asleep. Divide minutes asleep by minutes in bed and multiply by 100. In the example, 400 divided by 450 is about 89 percent. This is our own calculation to show the idea, and we did not find a source for a single “good” cutoff, so we do not give one.

Sleep efficiency tends to fall as people get older. A meta-analysis of 65 studies with 3,577 healthy people aged 5 to 102 found that in adults, total sleep time and sleep efficiency decreased with age, while time to fall asleep and time awake after sleep onset increased. Only sleep efficiency kept decreasing after age 60 (Ohayon and colleagues, 2004).

Measure How to work it out
Time in bed Elapsed time from lights out to waking, crossing midnight when needed
Time asleep Time in bed minus time to fall asleep minus time awake at night
Sleep efficiency Time asleep divided by time in bed, times 100

How Many Hours Should You Be Aiming For?

The American Academy of Sleep Medicine and the Sleep Research Society say adults should sleep 7 or more hours per night on a regular basis to promote optimal health (Watson and colleagues, 2015). Note that this refers to sleep, not time in bed. If you spend 7 hours in bed and lie awake for 45 minutes, you slept less than 7 hours.

For the floor below that recommendation, see our guide on minimum sleep needed.

For a wider view by age, read how much sleep you need.

Why Do People Over-Report Their Sleep?

Because it is hard to judge time while you sleep or doze. In a study of 669 middle-aged adults, researchers compared answers about usual sleep with 3 days of wrist actigraphy. Average measured sleep was 6 hours, while the average self-report was 6.8 hours. The correlation between the two was 0.47 (Lauderdale and colleagues, 2008).

The gap was larger for short sleepers. People who slept 5 hours over-reported by about 1.2 hours, while those who slept 7 hours over-reported by about 0.4 hours. The authors concluded that reports are moderately correlated with measured sleep but biased by systematic over-reporting. So a quick guess at your sleep is likely to be a bit generous, most of all when your sleep is short.

How Much People Over-Reported Sleep From a study of 669 adults. People who slept 5 hours over-reported by 1.2 hours. People who slept 7 hours over-reported by 0.4 hours. Average measured sleep was 6 hours and average reported sleep was 6.8 hours. Over-Reporting by Measured Sleep 5 hours+1.2 hours 7 hours+0.4 hours Average: measured 6 hours, reported 6.8 hours. Source: Lauderdale and colleagues, 2008.

How Much Time In Bed Do You Need For 7 Hours Of Sleep?

Work backward from the sleep you want. If you want 7 hours asleep and usually lose 20 minutes falling asleep and 30 minutes awake at night, you need 7 hours 50 minutes in bed. That is our own arithmetic, and your numbers will differ.

With a 6:30 am wake-up, that means lights out at about 10:40 pm. The same math is why a person with lower sleep efficiency needs more time in bed to reach the same sleep. A person who falls asleep in minutes and stays asleep needs less.

What Mistakes Make The Count Wrong?

These are common slips from the arithmetic above, not findings from the studies:

  • Counting from when you got into bed, not from lights out.
  • Forgetting the time you were awake in the night.
  • Rounding every night up, which adds a generous bias.
  • Treating a phone’s “time in bed” as time asleep.
  • Using one night instead of an average of 7 days.

Since the over-reporting study found the gap grew for shorter sleepers, a short week is where a careful count matters most.

Why Do The Numbers Change With Age?

The same time in bed gives less sleep as we get older. The meta-analysis found that in adults, the time it takes to fall asleep and the time awake after sleep onset both increased with age. Because of that, an older adult may need more time in bed to reach the same hours asleep.

The authors also noted that the size of these age effects depended on whether participants had been screened for disorders such as sleep apnea, so the pattern is not identical in every group.

Can A Sleep Diary Help?

Yes, because writing it down each morning beats memory. An expert group built a standard Consensus Sleep Diary with input from sleep experts, and tested it with focus groups of good sleepers, people with insomnia and people with sleep apnea. The core diary was written at about a third-grade reading level, so it is quick to fill out (Carney and colleagues, 2012).

The authors called it a living document that still needs to be tested, refined and validated. A diary also relies on your own estimates, so it carries some of the same bias. Use it to spot patterns across a week, not to settle one night.

How Accurate Are Trackers At Counting Sleep?

It depends on the device and the measure. A systematic review screened 504 candidate articles, included 8, and compared three wearables with lab sleep recordings. WHOOP’s average total sleep time differed from the lab reference by about 1.4 minutes, and the review rated Fitbit Charge 4 and Garmin Vivosmart 4 as moderately accurate for total sleep time and stages (Schyvens and colleagues, 2024).

Those are averages across studies, not a promise for your wrist, and the individual error can be bigger. For stage numbers the gaps were larger, for example about 21 minutes for REM sleep on WHOOP. Our guide to how accurate sleep trackers are goes deeper.

What Should You Do With The Number?

These are practical suggestions, not findings from the studies above:

  • Count time asleep, not time in bed, when you compare with the 7 hour target.
  • Add 15 to 30 minutes of buffer to your plan if you often lie awake.
  • Average your week rather than judging one night.
  • Use a tracker for trends, and trust your daytime energy as a check.
  • Keep your wake time steady, then set bedtime from it.

If you often come up short, our sleep debt guide explains how to think about a running shortfall.

When To See A Doctor

Talk to a doctor if you spend 8 or more hours in bed and still feel unrested, lie awake most nights, snore loudly or stop breathing in your sleep, or fall asleep at unsafe times. Low sleep efficiency can be a sign of insomnia or a sleep disorder.

If you feel unsafe to drive, do not drive. If you feel hopeless or think about harming yourself, call or text 988 in the US.

FAQs About How To Calculate Hours Of Sleep

How Do I Calculate My Hours Of Sleep?

Find the elapsed time from bedtime to wake time, crossing midnight when needed. Then subtract the time to fall asleep and the time awake at night.

Is Time In Bed The Same As Time Asleep?

No. Time in bed includes the time you spend falling asleep and awake at night, so time asleep is always shorter or equal.

How Many Hours Of Sleep Do Adults Need?

The AASM and SRS statement says adults should sleep 7 or more hours per night on a regular basis.

What Is A Good Sleep Efficiency?

We did not find a verified cutoff in the sources we read, so we do not give one. A very low percentage that persists is worth discussing with a doctor.

Why Does My Sleep Feel Longer Than My Tracker Says?

People tend to over-report. In one study of 669 adults, the average report was 6.8 hours against 6 hours measured.

Does Sleep Efficiency Change With Age?

Yes. A meta-analysis found sleep efficiency decreases with age in adults, and it was the only measure that kept falling after age 60.

Are Sleep Trackers Good Enough To Count Hours?

For total sleep time, a review found small average differences for WHOOP and moderate accuracy for Fitbit Charge 4 and Garmin Vivosmart 4. Stage numbers were less reliable.

Your Next Step

Turn your time in bed and time asleep into one percentage.

Calculate Sleep Efficiency

Sources