What this result means
Enter estimated hours asleep and hours in bed for the same main sleep period. The calculator divides asleep time by time in bed and multiplies by 100. For an invented 7 hours asleep within 8 hours in bed, the result is 87.5%. This is a descriptive ratio, not a sleep-quality diagnosis. [1]
Match the two durations
Time asleep and time in bed must describe the same main sleep period. A diary may estimate time asleep by subtracting time to fall asleep and awake intervals; a wearable uses its own algorithm. Neither measurement is automatically the exact time the brain was asleep. [1][2]
Enter time in decimal hours. For example, 7 hours 30 minutes is 7.5; 8 hours 15 minutes is 8.25. Entering 7.30 for 7 hours 30 minutes would understate the time asleep.
The transparent calculation
For an invented night with 7 hours asleep and 8 hours in bed: 7 ÷ 8 × 100 = 87.5%. This number is the fraction of the entered in-bed interval estimated as asleep. It is not a score for how restorative the night felt. [1]
If the two entries are equal, the arithmetic gives 100.0%. If asleep time exceeds in-bed time, the entries cannot describe the same interval and the tool rejects them instead of showing a percentage above 100%. A zero in-bed interval is also invalid.
Why the denominator can change the answer
The conventional published ratio uses total sleep time divided by time in bed. Researchers have noted that “time in bed” can include reading or time after final waking, while some studies use a narrower sleep-episode denominator. Two calculators can therefore give different percentages from what appears to be the same night. [1]
Keep a note of how you defined the start and end of the in-bed interval. Compare like with like over time. A wearable-derived “sleep efficiency” may use a device-specific rest window rather than your diary’s bed-to-rise interval. [1][2]
A percentage cannot diagnose sleep quality
The calculation does not see sleep stages, breathing events, how refreshed you feel or why you were awake. A single low or high estimate does not establish an insomnia or sleep-apnoea diagnosis. Persistent problems, marked daytime sleepiness or symptoms such as witnessed pauses in breathing deserve assessment by a qualified professional. [1][3]
The research literature uses sleep continuity measures as part of a wider picture. This tool deliberately shows no pass/fail band or universal target, because the input method and clinical context matter. [1][3]
Rounding and privacy
The result rounds once to one decimal place using exact decimal arithmetic. For example, 7.5 ÷ 8 × 100 is exactly 93.75 and displays as 93.8%. Extra displayed digits would not make an estimated sleep duration more accurate.
The arithmetic runs in your browser. Entered durations and results are not placed in the page address or analytics details. Reset clears the current calculation.
Formula and assumptions
- Version
- Estimated sleep efficiency from matching durations, sleep-efficiency-descriptive-ratio-v1
- Rounding
- Compare both nonnegative decimal-hour entries exactly. Reject a zero denominator and time asleep above time in bed. Compute the exact decimal fraction and round once to one decimal place, with exact halfway values rounded up.
- Worked example
- Invented example: 7 hours estimated asleep ÷ 8 matching hours in bed × 100 = 87.5%. [1]
Who this is for — and when not to use it
Intended use
A private descriptive calculation for an adult or caregiver using two estimates from the same sleep period and the same definition of time in bed.
Not intended for
This calculator does not diagnose insomnia or sleep apnoea, set a clinical sleep-efficiency target, assess sleep stages, interpret wearable accuracy, prescribe bedtime or replace professional assessment.
Exclusions
- A ratio from unmatched dates or different sleep periods
- Sleep-stage or apnoea diagnosis
- A clinical cutoff or treatment recommendation
- Comparing devices or diaries that define time in bed differently
Evidence sources
- 1. Measuring Sleep Efficiency: What Should the Denominator Be? — Journal of Clinical Sleep Medicine, full text in PubMed Central. Accessed Sep 30, 2026.
- 2. Defining the rest interval associated with the main sleep period in actigraph scoring — Sleep, full text in PubMed Central. Accessed Sep 30, 2026.
- 3. Sleep quality: An expert consensus statement from the National Sleep Foundation — Sleep Health, indexed by PubMed. Accessed Sep 30, 2026.
