Calculator and results
Sleep efficiency is time asleep divided by time in bed, multiplied by 100. This calculator works out that ratio for one night or a diary of up to 14 nights. It shows duration alongside the percentage: high efficiency does not establish enough sleep, diagnose insomnia or determine a treatment schedule.
Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.
Saved results (0)
How To Use The Sleep Efficiency Calculator
- Choose one night or a diary. The result summarizes entered data. It does not set a treatment schedule.
- Enter time in bed and time asleep. For a night, use clock times or explicit minutes. Enter known sleep in hours, or leave it blank and supply both awake-minute estimates. Use zero explicitly when appropriate.
- Read duration with the ratio. Check sleep, awake time and number of nights. A high ratio with a short night is not proof of adequate sleep.
| Result | Meaning |
|---|---|
| Efficiency | Time asleep divided by time in bed |
| Comparison | Descriptive reference interval, not a diagnosis |
| Duration and awake time | Minutes underlying the ratio, averaged for multiple entries |
| Night count | How many paired diary entries were included |
| Interpretation | No prescribed bedtime, restricted window or weekly adjustment |
What awake time adds to your diary
The Sleep Foundation says doctors who treat insomnia typically aim for a sleep efficiency of at least 85%. It also notes that a healthy person usually takes 10 to 20 minutes to fall asleep, so a night with no awake time at all is not the goal. Efficiency is useful because it separates two different problems: not enough sleep, and too much time awake in bed. Someone who sleeps 6 hours in 6.5 hours of bed has a very different problem from someone who sleeps 6 hours in 9.
How To Calculate Sleep Efficiency
Sleep efficiency is time asleep divided by time in bed, multiplied by 100. Use the same units in the numerator and denominator.
Formula
Variables
- Time in bed
- Elapsed time from getting into bed to getting out, including time awake.
- Time asleep
- Your estimate of actual sleep. If unknown, subtract initial settling and all later awake time from time in bed.
Example
For a diary, use total sleep divided by total time in bed. Do not average the nightly percentages when the intervals differ.
Those two nights are 100% and 75%; their simple mean is 87.5%, which differs from the combined 83.3%. Missing entries must be corrected or removed as paired nights; they are not zero sleep.
The 85% and 90% references are descriptive context, not diagnostic thresholds or instructions to shorten sleep. A high ratio can accompany a very short sleep period.
Worked Example: 6.5 Hours Of Sleep In 9 Hours Of Bed
Six and a half hours asleep in nine hours in bed gives 6.5 / 9 x 100 = 72.2%. The other two and a half hours are time awake in bed. Those numbers alone do not determine what treatment or schedule is appropriate.
| Measure | Result | Use |
|---|---|---|
| Sleep | 6 h 30 min | Actual reported duration |
| In bed | 9 h | Includes time awake |
| Awake | 2 h 30 min | Describes the difference |
| Efficiency | 72.2% | A ratio, not a prescription |
For a two-night example, seven hours asleep in eight hours in bed and four hours asleep in six hours in bed combine to 11 / 14 x 100 = 78.6%. Averaging 87.5% and 66.7% directly would give a different value. The tool keeps these quantities paired and uses their totals.
Who Should Not Try Sleep Restriction Without A Clinician
Sleep restriction makes you sleepier at first. The AASM guideline lists daytime sleepiness and trouble concentrating as side effects that usually fade as time in bed is extended. For some people that early sleepiness is a real risk. The sources used here name these groups:
| Group | Named by |
|---|---|
| High risk jobs, such as heavy machinery operators and drivers; transportation, construction and healthcare work | AASM; Sleep Foundation |
| People prone to mania or hypomania; untreated bipolar disorder | AASM; Sleep Foundation |
| Seizure disorders that are poorly controlled | AASM; Sleep Foundation |
| Excessive daytime sleepiness | AASM |
| Untreated sleep apnea | Sleep Foundation |
| Major illness or recent surgery | Sleep Foundation |
Whatever your situation, the Sleep Foundation advises talking to your doctor before you start. The AASM guideline describes sleep restriction as a treatment where the patient is monitored by a clinician. The safest route is a CBT-I program or a clinician trained in it. Do not drive or do safety-critical work while you feel sleepy during the first weeks.
Why This Calculator Does Not Prescribe Sleep Restriction
Sleep restriction is a treatment component within cognitive behavioral therapy for insomnia. The AASM describes clinician assessment and monitoring, including circumstances in which restriction may be inappropriate. That is a different task from dividing two diary values.
This page deliberately does not generate a restricted sleep window, a bedtime prescription, a minimum treatment window or weekly time-in-bed changes. A few entered estimates cannot assess health conditions, excessive sleepiness, medicines or safety-critical work. Removing the recipe leaves the useful arithmetic available without presenting it as a personal treatment plan.
If insomnia persists, discuss evidence-based options with a qualified clinician. The insomnia guidance provides context for that discussion, rather than a substitute for assessment.
What Changes Your Sleep Efficiency
Time Spent Awake In Bed
Long sleep onset, waking in the night and lying in bed after waking early all lower the number. Each extra 30 minutes awake in an 8 hour night costs about 6 points.
Going To Bed Before You Are Sleepy
Extra time in bed does not add sleep if you are not sleepy, so efficiency falls. This is the pattern sleep restriction targets.
Habits Around Sleep
Caffeine, alcohol, late exercise and a noisy or bright room can all add awake time. The sleep hygiene basics cover these. The AASM advises against using sleep hygiene as the only treatment for chronic insomnia, so treat it as support rather than the whole plan.
How You Measure It
A diary and a wearable can give different totals for the same night, which changes the percentage. Pick one method and stick with it for the whole week.
Sleep Efficiency vs Total Sleep Time vs Sleep Duration
| Measure | What it tells you | Limit |
|---|---|---|
| Sleep efficiency | How much of your time in bed is spent asleep | High efficiency can still mean too little sleep |
| Total sleep time | How many hours you actually slept | Says nothing about time spent awake in bed |
| Time in bed | The span from getting into bed to getting up | Includes awake time |
Use efficiency together with total sleep. A person who sleeps 5 hours in 5.3 hours of bed has a high efficiency ratio and still a short night.
Common Mistakes With Sleep Efficiency
Chasing A Higher Percentage
Making time in bed shorter can raise the ratio without providing enough sleep. Do not use this result alone to restrict sleep.
Assuming Blank Means Zero
If total sleep is unknown, enter both awake-time estimates. A blank field cannot establish that no time was spent awake.
Mixing Incompatible Diary Nights
Keep time in bed and time asleep paired in the same order. Use one measurement approach consistently.
Judging A Night From One Number
A percentage does not describe sleep stages, daytime symptoms or the cause of waking. See sleep tracking and insomnia if watching scores increases worry.
Accuracy And Limitations
The ratio follows the entered estimates. It does not validate a wearable or establish clinical accuracy.
What It Calculates
- One-night or paired diary efficiency
- Time in bed across midnight
- Average sleep and awake time, including zero sleep
What It Does Not Determine
- A diagnosis or adequate sleep for an individual
- A safe sleep-restriction treatment plan
- The cause of waking or differences between trackers
Other planning tools are on the sleep calculators home page.
Rounding and input conventions
Sleep Efficiency Calculator FAQs
What does sleep efficiency measure?
It describes the fraction of entered time in bed spent asleep. It does not measure restorative sleep, sleep stages or a diagnosis.
Does a high percentage mean I slept enough?
No. Four and a half hours asleep in five hours in bed is 90%, but the sleep duration is still only four and a half hours.
Why is 85% mentioned?
It is a reference used in insomnia-treatment discussions, not a universal health pass mark or instruction to change your schedule.
Does this tool plan a CBT-I sleep window?
No. Treatment needs appropriate assessment and monitoring. This page provides diary arithmetic without a restriction schedule.
How is a diary average calculated?
Add hours asleep and hours in bed over the same nights, then divide the sleep total by the bed total and multiply by 100.
Can I enter a night with no sleep?
Yes. Enter zero total sleep, or awake-minute values equal to the whole time in bed. Zero in bed is not a valid denominator.
Why are both awake-minute fields required?
A missing estimate is not evidence of zero waking. Enter zero explicitly if appropriate, or enter a known total sleep value instead.
Can I shorten my time in bed from this result?
Do not make sleep-restriction or treatment changes from this ratio alone. Discuss persistent insomnia or excessive sleepiness with a clinician.
Is a tracker percentage the same as a diary percentage?
The arithmetic may be similar but the sleep estimates can differ. Keep the measurement method consistent when comparing nights.
Sources
- Edinger et al: Behavioral and psychological treatments for chronic insomnia disorder in adults, an AASM clinical practice guideline (J Clin Sleep Med, 2021; PMID 33164742) (CBT-I strong recommendation; sleep restriction conditional; window starts at average sleep; contraindicated groups; early sleepiness)
- Sleep Foundation: Sleep Restriction Therapy (diary method, six-hour minimum, 85 to 90% weekly rule with 15-minute steps, who should not try it)
- Sleep Foundation: Sleep Latency (sleep efficiency formula; at least 85% target; 10 to 20 min to fall asleep)
- NHLBI: Insomnia Treatment (CBT-I is a 6- to 8-week plan; sleep restriction sets a specific time in bed)
Related Calculators
For bedtimes and wake-up times in both directions, use the main sleep calculator. Explore every sleep timing, sleep need and sleep health tool in one place.
All sleep toolsThis calculator describes entered sleep estimates for education. It does not diagnose a disorder, establish sufficient sleep or prescribe a sleep-restriction plan. Treatment changes require appropriate clinical assessment. Avoid driving or safety-critical work when sleepy. Spotted an error? Let us know.
Using the controls and keeping a result
Use the plus and minus buttons beside an adjustable value, or type directly into the field. Numeric controls respect declared field limits; a combination of individually valid values may still fail the calculator’s consistency checks.
Clock buttons move by the field’s time step and wrap at midnight. Check the intended day separately. Hour and minute dropdowns move through their available options.
Check the refreshed result after changing a value. Use Calculate, when available, to validate the complete entry.
- Print opens the tool interface and its current results for printing, without the guide or navigation.
- Share sends the public tool URL. It does not include entered values. When sharing is unavailable, the page offers copying or a visible link.
- Embed displays self-contained code for the tool. It starts with public defaults and excludes the guide and your current entries.
Save keeps a result in this browser. It is not an account backup and may be removed when browser storage is cleared. Saved-results controls are omitted from the isolated embed.