Sleep Quality Calculator
Sleep efficiency is one of the clearest single measures of sleep quality: the share of your time in bed that you spend actually asleep. This calculator takes the total minutes you were in bed, how long you took to fall asleep, and how many minutes you were awake during the night, then returns your time asleep, your sleep efficiency percentage, and an estimate of completed 90-minute sleep cycles. The math is transparent, so the numbers reflect your own night. It is a tracking tool, not a medical assessment.
Sleep efficiency formula
Time asleep = time in bed - minutes to fall asleep - minutes awake
Sleep efficiency = time asleep / time in bed * 100
Hours asleep = time asleep / 60
Estimated cycles = time asleep / 90
Sleep efficiency is the recognized ratio of time asleep to time in bed. The cycle estimate divides time asleep by the typical 90-minute cycle length; actual cycles vary, so treat it as approximate.
Sleep notes
- A sleep efficiency of 85 percent or higher is commonly cited as a guideline for efficient sleep.
- The CDC recommends most adults get 7 or more hours of sleep per night.
- A full sleep cycle averages about 90 minutes but varies by person and through the night.
- Less time awake in bed raises efficiency; consistency helps.
- This tool does not diagnose; see a professional for persistent sleep problems.
Sleep quality: frequently asked questions
What is sleep efficiency?
Sleep efficiency is the percentage of time in bed that you spend actually asleep. It equals total sleep time divided by total time in bed, times 100. It is a standard sleep-science metric: clinicians often regard 85 percent or higher as efficient sleep, though this is a guideline, not a diagnosis.
How is sleep efficiency calculated here?
Time in bed is the minutes from when you got into bed until you got up. Time asleep is time in bed minus the minutes to fall asleep and any minutes awake during the night. Efficiency is time asleep divided by time in bed, times 100.
How are sleep cycles estimated?
A typical full sleep cycle runs about 90 minutes. The calculator divides your estimated time asleep by 90 to approximate the number of completed cycles. Real cycle length varies between people and across the night, so treat this as a rough estimate.
Is this a medical assessment?
No. It computes transparent arithmetic from the figures you enter and is not a diagnostic tool. If you have persistent sleep problems, consult a healthcare professional or a sleep specialist.
How can I improve sleep efficiency?
Efficiency rises when the time you spend awake in bed falls. Consistent sleep and wake times, limiting time in bed when not sleeping, and good sleep hygiene are commonly recommended. Use the calculator to track your efficiency over time.
Official sources
- U.S. Centers for Disease Control and Prevention: About Sleep.
- U.S. National Heart, Lung, and Blood Institute: Sleep and sleep deprivation.
Reviewed by the CalculatorHub team, edited by James Graham, 16 June 2026. See our methodology.