Sleep Efficiency Calculator

Calculator and results

Quick answer

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.

Updated October 30, 2026By Shakeel Muzaffar
Try
Sleep diary arithmetic
One night or paired diary entries. The result describes your entered data, not a treatment decision.
Needed with bedtime to calculate that night’s time in bed; not required for diary or explicit-minute input.
When you got into bed. Used with the rise time to work out time in bed.
Optional: enter more than 0 and up to 1440 minutes. This replaces the clock fields, including a 24-hour interval.
Optional, in hours. Zero is allowed. A supplied total overrides awake-minute estimates; otherwise both minute fields below are required.
Required when total sleep is blank. Enter zero explicitly if there was no delay.
Required when total sleep is blank. Include all later waking, including before getting out of bed. Enter zero explicitly if none.
One value per night, 1 to 14 nights, in hours.
Same nights, same order, in hours.
Sleep efficiency
—
Descriptive comparison, not a diagnosis—
Time asleep (average)—
Time in bed (average)—
Time awake in bed (average)—
Nights represented—
How to use this result—

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

  1. Choose one night or a diary. The result summarizes entered data. It does not set a treatment schedule.
  2. 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.
  3. 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.
ResultMeaning
EfficiencyTime asleep divided by time in bed
ComparisonDescriptive reference interval, not a diagnosis
Duration and awake timeMinutes underlying the ratio, averaged for multiple entries
Night countHow many paired diary entries were included
InterpretationNo prescribed bedtime, restricted window or weekly adjustment
Your entriesCalculationYour resultCheck the inputsApply the stated modelRead with context
Use the stated method to understand how your inputs become a result. An estimate depends on both the entries and the model.

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.

The resultThe contextYour observations
Keep the result alongside its context and your observations. A single output cannot explain every part of your experience.

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

Time asleepTime in bed × 100

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

6.5 ÷ 8 × 100 = 81.25% ≈ 81.3%

For a diary, use total sleep divided by total time in bed. Do not average the nightly percentages when the intervals differ.

(4 + 6) ÷ (4 + 8) × 100 = 83.3%

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.

MeasureResultUse
Sleep6 h 30 minActual reported duration
In bed9 hIncludes time awake
Awake2 h 30 minDescribes the difference
Efficiency72.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:

GroupNamed by
High risk jobs, such as heavy machinery operators and drivers; transportation, construction and healthcare workAASM; Sleep Foundation
People prone to mania or hypomania; untreated bipolar disorderAASM; Sleep Foundation
Seizure disorders that are poorly controlledAASM; Sleep Foundation
Excessive daytime sleepinessAASM
Untreated sleep apneaSleep Foundation
Major illness or recent surgerySleep 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

MeasureWhat it tells youLimit
Sleep efficiencyHow much of your time in bed is spent asleepHigh efficiency can still mean too little sleep
Total sleep timeHow many hours you actually sleptSays nothing about time spent awake in bed
Time in bedThe span from getting into bed to getting upIncludes 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

Rounding
Percentage to 0.1%; durations to a minute; comparisons use the unrounded ratio
Boundary
No restricted window, bedtime prescription or weekly schedule adjustment

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

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 tools

This 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.