FitMesh Sync
← All articles

Sleep

Sleep efficiency: formula, calculation and interpretation

How much of the time you spend in bed is actually sleep? The formula is simple, but the number you get depends on how you define "time in bed": this guide covers the formula, a full worked example, and the limits worth knowing before you trust it.

CategoryGuide
DateJuly 18, 2026
Reading time8 min read
Sleep efficiency: formula, calculation and interpretation

TL;DR

  • Sleep efficiency = Total Sleep Time divided by Time in Bed, multiplied by 100.
  • Example: 8 hours in bed, 7 hours asleep → efficiency = 87.5%.
  • The "time in bed" denominator doesn't have one single definition in the literature: different tools can give different numbers for the same night.
  • There's no universal "good/bad" threshold applied here: CBT-I uses professional-guided operational thresholds, not an automatic judgment on a single calculation.
  • You can calculate it for free, in your browser, with FitMesh Labs' Sleep Efficiency Calculator: no data sent to a server.

Sleep efficiency is one of the most cited metrics in sleep research: it relates how much time you spend in bed to how much of that time is actually sleep. It underlies many cognitive behavioral therapy for insomnia (CBT-I) protocols, and it's the metric many wearables report as part of their sleep score. This guide covers the exact formula, a full worked example, and why two different tools can give you slightly different results for the same night.

The formula

Sleep Efficiency (%) = Total Sleep Time ÷ Time in Bed × 100. Total Sleep Time (TST) is how much you actually slept. Time in Bed (TIB) is how long you stayed in bed in total, sleep plus wakefulness: sleep onset latency, night-time awakenings, and the time spent awake in bed before getting up in the morning.

Full worked example

You go to bed at 11:30 PM and get up for good at 7:15 AM: time in bed = 7 hours 45 minutes (465 minutes). It takes you 15 minutes to fall asleep, you're awake 20 minutes during the night, and you stay awake in bed 5 minutes after your final wake-up before getting up: total awake time = 40 minutes. Sleep time = 465 − 40 = 425 minutes. Sleep efficiency = 425 / 465 × 100 ≈ 91.4%.

You can redo this exact calculation, and try your own numbers, with the FitMesh Labs Sleep Efficiency Calculator: simple mode (just time in bed and time asleep) or advanced mode (with clock times, latency and awakenings), all calculated in your browser, no data sent to a server.

Time in bed vs. time asleep: why the difference matters

Low efficiency doesn't necessarily mean "little sleep": it can mean you spend a lot of time in bed awake, from difficulty falling asleep, frequent awakenings, or simply the habit of staying in bed awake before getting up (reading, on your phone). Efficiency isolates this from absolute sleep time: two nights with the same number of hours slept can have very different efficiencies depending on how much extra time you spent in bed not sleeping.

Why the denominator is debated

The definition this guide uses (TST / TIB × 100) is the most common, but it's not the only one in the literature. A study published in the Journal of Clinical Sleep Medicine (Reed & Sacco, 2016) shows that choosing a different denominator (for example "sleep episode duration" instead of raw time in bed) can shift the result by several percentage points for the same night. That's not a flaw in the formula: it's one more reason to know exactly which definition the tool you're looking at is using, before comparing numbers across different devices.

How wearables estimate sleep time

  • Actigraphy: estimates sleep from movement (accelerometer): less movement = likely sleep. The historical method, also used in clinical research, but can confuse being still while awake with sleep.
  • PPG (photoplethysmography): adds heart rate/HRV signal to movement to classify sleep stages more precisely, typical of modern rings and watches.
  • Sleep diary (self-report): what you perceive when you wake up, often less precise for exact latency and brief awakenings you don't remember, but it's the only method that needs no device.

Limits

Sleep efficiency is not a diagnosis and doesn't replace a clinical assessment (polysomnography, professional actigraphy, a consultation with a sleep physician). A single number, a single night, says little: the sleep literature treats efficiency as most useful as a trend over time, under comparable conditions, not as an isolated value to judge.

Frequently asked questions

What is a good sleep efficiency?+

There's no universally valid number applied here: CBT-I therapy often uses 85% as an operational threshold (below which time in bed is shortened), but that's a clinical protocol guided by a professional, not an automatic judgment on a single calculation.

Why does my efficiency differ between apps?+

Because the "time in bed" denominator doesn't have a single definition (see above): different apps and devices can calculate it slightly differently, and the estimate of when you fell asleep/woke up varies by sensor (actigraphy vs. PPG vs. diary).

Can sleep efficiency exceed 100%?+

Numerically, yes, if the recorded/derived sleep time exceeds time in bed: it's almost always a sign that one of the entered or estimated values is inconsistent, not a physiologically valid result.

What's the difference between sleep efficiency and sleep duration?+

Sleep duration is an absolute number (how many hours you slept). Efficiency is a ratio (what fraction of time in bed was sleep). You can sleep few hours with high efficiency (little time in bed awake), or many hours with low efficiency (a lot of time in bed awake).

Is my data sent or saved anywhere?+

No: the FitMesh Labs Sleep Efficiency Calculator calculates entirely in your browser. No network request, no server-side saving, no data in the URL.

Medical disclaimer

The information in this article is for informational purposes only and does not replace advice from your physician, pharmacist or healthcare professional. FitMesh Sync is a fitness/wellness app, not a medical device, and does not diagnose or treat any conditions. For symptoms, clinical questions or treatment decisions always consult your primary care physician.

M

Written by

Matteo Pizzi

Founder & Solo Dev, FitMesh Sync · Fosforonero

Italian software developer. I built FitMesh Sync to fill the gap between my smartwatch and a real personal dashboard. Privacy-first, indie, EU servers.

More about the project

Keep reading