Falling asleep and sleep efficiency
Sleep Efficiency Calculator: What Percentage of Your Time in Bed You Sleep
Work out your sleep efficiency from one night or a week of sleep diary averages, see whether it is in the normal range, and learn how CBT-I uses the number.
Sleep efficiency is the share of your time in bed that you actually spend asleep. Divide your total sleep time by your time in bed and multiply by 100: 7 hours of sleep in 8 hours in bed gives 88%. Insomnia therapists treat 85% or higher as on track [3], and the National Sleep Foundation's own self-check, asleep for about 7 of your 8 hours in bed, lands in the same place [4].
The sleep efficiency formula
The formula fits on one line:
Sleep efficiency (%) = total sleep time ÷ time in bed × 100
The inputs are where it gets tricky. Nobody can watch the moment they drift off, so total sleep time has to be pieced together. The Consensus Sleep Diary, the standard form sleep researchers agreed on, asks when you got into bed, when you started trying to sleep, how long it took to fall asleep, how often and how long you woke in the night, your final wake-up and the time you got up [1]. Its core version doesn't ask how long you slept at all. That number is worked out from the others [1], and the calculator does the same:
- Time in bed = time out of bed minus time into bed
- Total sleep = (final wake-up minus lights out) minus minutes to fall asleep minus minutes awake during the night
Weekly mode is simpler. You give it your average time in bed and average time asleep from a diary, and it divides one by the other. A week of averages smooths out the odd bad night, which is why sleep restriction programs start from one to two weeks of diary data rather than a single morning [3].
What counts as time in bed
Say you get into bed at 10:30, scroll your phone until 11:00, and lie there for 15 minutes after your alarm. All of that is time in bed, even though you were never trying to sleep. Two researchers have argued that this makes the usual formula a little unfair. They proposed a different denominator: only the time you spend trying to sleep, from your first attempt to doze off through your final wake-up, plus any time spent trying to get back to sleep after it [2].
So for a single night the calculator gives you two numbers. One is the classic sleep efficiency. The other, the efficiency of your sleep window, counts only lights out to final wake-up and leaves out the reading and the lie-in. When the two are far apart, your sleep itself isn't the main problem. The gap is time you spend awake in bed by choice, and that is the easier part to change. Our guide on whether to get up when you can't sleep covers what to do with those minutes.
Worked example: one night and one week
| Diary entry | One night |
|---|---|
| Into bed / lights out | 10:30 PM / 11:00 PM |
| Time to fall asleep | 20 minutes |
| Awake during the night | 30 minutes in total |
| Final wake-up / out of bed | 6:30 AM / 6:45 AM |
| Time in bed | 8 h 15 min |
| Total sleep | 7 h 30 min minus 20 min minus 30 min = 6 h 40 min |
| Sleep efficiency | 81% (window efficiency: 89%) |
That night lands below 85%. But look at how much of the gap comes from half an hour of phone time and a slow start to the morning. Count only lights out to wake-up and it rises to 89%.
A week is quicker. Averages of 8 hours in bed and 7 hours asleep give 88%. The Sleep Foundation's own example, 6.5 hours of sleep in 9 hours in bed, gives 72% [3], the kind of number that tends to show up in an insomnia clinic.
Normal sleep efficiency, and how it changes with age
You won't find one official cut-off printed on a chart, but 85% is the figure you'll meet most often. Sleep restriction programs read a week below 85% as too much wakeful time in bed, and 85 to 90% as on target [3]. The National Sleep Foundation lists sleep efficiency as one of four markers of good sleep quality, next to how fast you fall asleep, how often you wake and how long you stay awake, and its self-check asks whether you slept about 7 of your 8 hours in bed [4].
Age moves the goalposts. In a meta-analysis of 65 studies of overnight sleep in healthy people, sleep efficiency fell through adulthood and was the only measure that kept falling after 60 [5]. A somewhat lower score at 70 than at 30 is expected and not, by itself, a sign that something is wrong. If the slow part of your night is falling asleep, see how long it should take to fall asleep. If it is a wide-awake spell in the early hours, why you wake at 3 a.m. looks at the usual causes.
How CBT-I uses sleep efficiency
Cognitive behavioral therapy for insomnia, or CBT-I, is the first treatment the American College of Physicians recommends for adults with chronic insomnia [8], and the American Academy of Sleep Medicine gives multicomponent CBT-I a strong recommendation [7]. One of its tools, sleep restriction therapy, runs almost entirely on this number. It sounds backward. You spend less time in bed so that the time you do spend there turns into solid sleep.
In a typical program, the clinician sets a fixed bedtime and wake time that match your average sleep (in the Sleep Foundation's description, never less than six hours in bed), then reviews your diary with you each week. Below 85%, and not too sleepy in the day, the window usually shrinks by about 15 minutes. Between 85 and 90%, it stays put. Above 90% and still short of sleep, it grows by about 15 minutes [3]. The calculator's weekly mode shows which of those three a program would usually point to, so you have something concrete to bring to the appointment. It does not set a schedule for you, and it is not meant to replace the person who does.
Limits and assumptions
The calculator trusts your diary, and diaries are estimates. Nobody times their 3 a.m. wake-ups to the minute. Use it to spot patterns over a week or two, not to grade a single night.
Consumer trackers won't settle the question either. They lack validation against a sleep lab study and FDA clearance [6], so a wearable score and a diary score can disagree without either being "right".
A high score doesn't mean you're getting enough sleep. Five hours of sleep in five and a half hours in bed scores 91%, and you would still be running on empty.
And sleep restriction is a treatment, not a life hack. It brings extra sleepiness at first, and it is generally avoided in people with untreated sleep apnea, uncontrolled seizures, untreated bipolar disorder, a major illness or recent surgery, or a job where drowsiness puts anyone at risk [3]. If you want to try it, do it with a doctor or a CBT-I therapist, not from a calculator result.
When low sleep efficiency needs a doctor
One low night is just a bad night. See a doctor if your efficiency stays below 85% for weeks and you feel it in the day: tiredness, low mood, trouble focusing. The same goes if a bed partner notices loud snoring or pauses in your breathing, or if you are sleepy enough to nod off while driving. Bring your sleep diary. It is the same record a CBT-I therapist would ask you to start with.
Frequently asked questions
What is a good sleep efficiency?
About 85% or higher. That is the line sleep restriction programs work with: a week below 85% points to a lot of wakeful time in bed, while 85 to 90% counts as on track [3]. The National Sleep Foundation's quick self-check puts it in everyday terms: were you asleep for about 7 of your 8 hours in bed [4]? That works out to roughly 88%.
What is the sleep efficiency formula?
Sleep efficiency = total sleep time ÷ time in bed × 100. You can't clock your own sleep directly, so a sleep diary works it out from the times you do know: the stretch from lights out to your final wake-up, minus the minutes it took to fall asleep and the minutes you lay awake in the night [1]. Sleep 6 hours 30 minutes out of 9 hours in bed and your efficiency is 72%.
Does sleep efficiency drop with age?
Yes, a little. A large analysis of overnight sleep recordings in healthy people found that sleep efficiency falls through adulthood, and it was the one measure that kept declining after age 60 [5]. So a 75-year-old with 82% is in a different place from a 30-year-old with the same score. Still, a sharp drop, or poor sleep that drags down your days, is worth raising with a doctor at any age.
Why does my sleep tracker show a different sleep efficiency?
Wearables estimate sleep from signals such as movement, and the American Academy of Sleep Medicine points out that they lack validation against a lab sleep study and FDA clearance, so they cannot be used to diagnose sleep problems [6]. A tracker may also start counting from when it thinks you fell asleep, not from when you got into bed. Pick one method and compare it with itself over time.
Can I do sleep restriction therapy on my own?
No, do it with a clinician. Sleep restriction makes you sleepier for the first weeks, and it is generally not advised for people with untreated sleep apnea, uncontrolled seizures, untreated bipolar disorder, a major illness or recent surgery, or a job where drowsiness puts people at risk [3]. A doctor or CBT-I therapist can check whether it suits you, set the window and adjust it with you week by week.
Sources
- Carney CE et al., Sleep. The Consensus Sleep Diary: Standardizing Prospective Sleep Self-Monitoring (2012)
- Reed DL, Sacco WP, Journal of Clinical Sleep Medicine. Measuring Sleep Efficiency: What Should the Denominator Be? (2016)
- Sleep Foundation. Sleep Restriction Therapy: How It Works for Insomnia
- National Sleep Foundation. What Is Sleep Quality?
- Ohayon MM et al., Sleep. Meta-Analysis of Quantitative Sleep Parameters From Childhood to Old Age in Healthy Individuals: Developing Normative Sleep Values Across the Human Lifespan (2004)
- Khosla S et al., Journal of Clinical Sleep Medicine. Consumer Sleep Technology: An American Academy of Sleep Medicine Position Statement (2018)
- Edinger JD et al., Journal of Clinical Sleep Medicine. Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline (2021)
- Qaseem A et al., Annals of Internal Medicine. Management of Chronic Insomnia Disorder in Adults: A Clinical Practice Guideline From the American College of Physicians (2016)
This page is general information, not medical advice. Sleep needs vary; if you have persistent insomnia, loud snoring, pauses in breathing or daytime sleepiness that affects your safety, see a doctor.