Skip to main content

Sleep Diary and Sleep Efficiency Calculator (7-Night Log)

Log seven nights: when you got into bed, how long it took to fall asleep, how long you were awake in the night, and when you woke and got up.

Get time in bed, total sleep, sleep efficiency and weekly averages, a chart, and a diary you can print for your doctor.

Last updatedHow we build & check our tools

Interactive Tool

Loading interactive tool…

Enter your values once it appears to see your results.

Results will appear here once the tool finishes loading. Everything runs locally in your browser.

What a sleep diary records

A sleep diary is the record sleep clinicians ask for first, because it shows what one bad night cannot: the pattern. This one follows the core Consensus Sleep Diary, the standard form agreed by sleep researchers (Carney et al., Sleep, 2012). Each morning you note:

  • The time you got into bed, and the time you started trying to sleep.
  • How many minutes it took to fall asleep.
  • How many times you woke in the night, and for how many minutes in total.
  • Your final wake-up time, and the time you got out of bed.
  • A sleep quality rating, here 1 (very poor) to 5 (very good).

This diary adds the daytime items the CDC suggests tracking: naps, caffeine, alcohol and exercise. Fill it in within an hour of getting up. Estimates are fine and are what the standard form asks for; do not watch the clock at night to get exact numbers.

How the numbers are calculated, with a worked night

Three numbers come out of each night:

  • Time in bed = time out of bed minus time into bed.
  • Total sleep = time from trying to sleep to final wake-up, minus the minutes it took to fall asleep, minus the minutes awake in the night.
  • Sleep efficiency = total sleep divided by time in bed, as a percentage.

A worked night: into bed at 10:45 p.m., lights out at 11:00, 30 minutes to fall asleep, two wake-ups totaling 25 minutes, final wake at 6:30 a.m., up at 6:45. Time in bed is 8 h 00 min. The sleep window from 11:00 to 6:30 is 7 h 30 min; subtract 30 and 25 minutes and total sleep is 6 h 35 min. Efficiency is 395 / 480 = 82.3%.

The calculator handles nights that cross midnight, bedtimes after midnight and daytime sleep after a night shift by laying the four times out in order. It flags entries that cannot all be true, such as more minutes awake than the time between lights out and waking. The weekly figures are simple averages of the nights you filled in.

Reading your sleep efficiency

Sleep efficiency answers one question: of the time you spent in bed, how much were you asleep? In the example week the diary starts with, the average is 82.2%: about 6 h 37 min asleep out of 8 h 05 min in bed.

Therapists who deliver cognitive behavioral therapy for insomnia (CBT-I) use efficiency to adjust how long a person spends in bed; a 2025 best-practice review recommends 85% or higher as the point at which time in bed is expanded (Cuddihy, Grandner and Nowakowski). Some protocols use 90%. That makes 85% a working number for treatment, not a diagnosis, and this diary does not tell you whether anything is wrong.

The "nights with and without" lines compare your own averages, for example nights after afternoon caffeine against nights without. With seven nights these are a starting point for a conversation, not proof that one thing causes another. To plan a bedtime, use the sleep calculator; to total up a week of short nights, the sleep debt calculator.

When to talk to a clinician

The CDC recommends 7 or more hours of sleep for adults 18 to 60, 7 to 9 hours at 61 to 64, and 7 to 8 hours from 65 (CDC, About Sleep). It also says to talk to your healthcare provider if you regularly have problems sleeping, and that your provider may ask you to keep a sleep diary.

The American Academy of Sleep Medicine's patient site suggests booking an appointment with a sleep doctor if trouble sleeping has gone on for at least three months (AASM, Insomnia). For long-running insomnia in adults, the AASM's 2021 guideline makes one strong recommendation: multicomponent CBT-I (Edinger et al., J Clin Sleep Med, 2021). A clinician will usually start by looking at a diary like this one, so print it and bring it.

Frequently Asked Questions

Common questions about the Sleep Diary and Sleep Efficiency Calculator (7-Night Log)

Divide your total sleep time by your time in bed and multiply by 100. Total sleep is the time from trying to sleep to your final wake-up, minus the minutes it took to fall asleep and the minutes you were awake in the night. Example: 395 minutes asleep out of 480 in bed is 82.3%. The diary does this for each night and averages the week.

Sources & References

The Consensus Sleep Diary (Carney et al., 2012)

Standardized core diary items: into bed, tried to sleep, sleep onset latency, awakenings and their duration, final awakening, rise time, quality. Sleep 35(2):287-302, doi:10.5665/sleep.1642.

About Sleep

Recommended hours by age (7 or more for adults 18-60); talk to a provider if you regularly have problems sleeping; providers may ask for a sleep diary. Checked 2026-11-17.

Insomnia

Short-term vs chronic insomnia (at least three times a week for at least three months); when to see a sleep doctor. Checked 2026-11-17.

Behavioral and psychological treatments for chronic insomnia disorder in adults (Edinger et al., 2021)

AASM clinical practice guideline; strong recommendation for multicomponent CBT-I. J Clin Sleep Med 17(2):255-262, doi:10.5664/jcsm.8986.

Implementation of stimulus control and sleep restriction therapy (Cuddihy, Grandner and Nowakowski, 2025)

Recommends 85% sleep efficiency or higher as the cut-off for expanding time in bed. J Behav Cogn Ther, doi:10.1016/j.jbct.2025.100542.