Sleep Quality Calculator

Estimate sleep duration and efficiency from reported times. Review separate measures without a validated score or medical diagnosis.

Estimate your sleep duration and efficiency from one night of self-reported times. This is not a validated sleep score or a medical assessment.

Enter your sleep details

Use your best estimate for one sleep period. Your entries stay in this browser and are cleared when you reset the form.

When you got into bed and began trying to sleep.

Enter the time you left bed after your final waking.

minutes

Minutes from trying to sleep until you fell asleep.

minutes

Add awake minutes after you first fell asleep, excluding the final waking.

minutes

Minutes awake in bed after your last waking and before getting up.

count

Optional. Enter a whole number from 0 to 100.

How rested you felt on waking

This is your own rating. It does not change the calculated metrics.

What this sleep quality calculator measures

This tool estimates time asleep and sleep efficiency from your own report of one sleep period. It also displays your morning restfulness rating and remembered awakenings separately. It does not calculate a validated sleep score or measure sleep stages.

Features

  • Estimate time in bed, time asleep, and sleep efficiency.
  • Keep restfulness and remembered awakenings as separate details.
  • Review the formula and copy a summary for your own use.
  • Use the calculator in your browser without saving entries.

How to use this estimate

  1. Enter when you got into bed to sleep and when you left bed.
  2. Estimate minutes to fall asleep and minutes awake during the night.
  3. Optionally record remembered awakenings and rate how rested you felt.
  4. Calculate to see each result separately. Use Reset to clear the form.

Method and limitations

Time in bed is the elapsed interval from getting into bed to sleep until leaving bed after the final waking. If the end time is earlier than the start time, the calculator treats it as the following day. Equal times are rejected.

Estimated time asleep = time in bed − time to fall asleep − awake time after first falling asleep − awake time after final waking. Estimated sleep efficiency = estimated time asleep ÷ time in bed × 100.

Sleep efficiency definitions can use different time-in- bed boundaries across settings. This page states its boundary explicitly; its estimate is only as accurate as the times and durations you report. See the research discussion of sleep-efficiency denominators.

This tool does not infer sleep stages, diagnose a condition, or decide whether your sleep is healthy. The American Academy of Sleep Medicine cautions that consumer sleep technology should not replace medical evaluation.

Privacy

Calculations happen in this page. Your entries are not stored in browser storage or sent to a calculator service. They remain in the form until you reset it or leave the page. Copy summary writes to your clipboard only when you choose that button.

Frequently asked questions

Is this a validated sleep quality score?

No. This calculator shows separate estimates from the information you enter. It does not create a validated questionnaire score or an overall sleep quality grade.

How is sleep efficiency estimated?

The estimate divides reported time asleep by the time from getting into bed to leaving bed, then multiplies by 100. Time asleep is estimated by subtracting reported awake periods from time in bed.

Can this result diagnose a sleep disorder?

No. It is a self-reported estimate and cannot diagnose or rule out a sleep disorder.

Does the calculator save my entries?

No. Your entries stay in the page while it is open. Reset clears them; the calculator does not save them or send them to a server.

Sources and related tools

Infinio Tools
© 2026 Infinio Labs