Toolvito

Works on this device

Sleep Tracker

Write down each night: when you went to bed, when you got up and how long you lay awake. The tracker works out the time asleep, the sleep efficiency, weekly averages and how regular your times are. It is a record for you, not medical advice.

Enter your nights

Your values

Your own target, as hours (7.5) or as hours and minutes (7:30). Leave it empty for a log with no target.

You choose the scale and what it means, for example 1 to 5 where 5 is your best night. The tracker only averages your scores.

Nights

One row for each night, under the date you got up. Use the 24-hour clock. A bedtime later on the clock than the getting-up time is read as the evening before. Minutes awake in bed: add the time it took to fall asleep and the time you lay awake later. The quality score and the note may stay empty.

More options

This is off unless you turn it on. Saved entries stay in this browser only. Untick the box to delete them.

The log is worked out in this browser. It is not sent to a server.

Your result will show here

Add your nights, then choose Update. Or choose Try an example.

How to use the sleep tracker

  1. Add one row for each night. Enter the date you got up, the time you went to bed and the time you got up. Use the 24-hour clock.
  2. A night that passes midnight needs no second date. A bedtime later on the clock than the getting-up time is read as the evening before.
  3. Enter the minutes you lay awake in bed: the time it took to fall asleep plus the time awake later. Enter 0 if there was none.
  4. If you like, give the night a quality score on your own scale, and a short note.
  5. If you like, enter your own target for a night. Then the result compares each night with it.
  6. Choose Update. Choose Try an example to see a filled log.
  7. Tick Save my entries on this device to keep the log in this browser, or download it as a file. Download CSV gives the result as a spreadsheet file.

What the tracker works out

  • Time in bed = getting-up time − bedtime.
  • Time asleep = time in bed − minutes awake in bed.
  • Sleep efficiency = time asleep ÷ time in bed × 100. For the whole log it is all time asleep ÷ all time in bed.
  • Weekly averages: the mean of the nights of each week, by the date you got up. A week starts on Monday, or on Sunday if you choose that under More options.
  • Regularity: each bedtime and getting-up time is counted in minutes from the midnight at the start of the day you got up. A bedtime before midnight is a number below zero. The average is the mean of these numbers, and the spread is their standard deviation. A smaller spread means more regular times.
  • Against your target: time asleep − your target, for each night and in total.

Worked example

Three nights are logged, with a target of 7 hours. Night 1: bed at 23:00, up at 07:00 on 5 October 2026, 30 minutes awake. Night 2: bed at 00:30, up at 07:30 on 6 October, 20 minutes awake. Night 3: bed at 23:30, up at 06:30 on 7 October, 40 minutes awake.

The times in bed are 480, 420 and 420 minutes. The times asleep are 450, 400 and 380 minutes, so the average is 410 minutes, or 6 h 50 min. Sleep efficiency = 1,230 ÷ 1,320 × 100 = 93.2%.

Counted from midnight, the bedtimes are −60, +30 and −30 minutes. Their mean is −20, so the average bedtime is 23:40. The distances from the mean are −40, 50 and −10 minutes. The spread is the square root of (1,600 + 2,500 + 100) ÷ 3, which is 37.4 minutes.

Against the target of 420 minutes the nights are +30, −20 and −40 minutes. In total that is 30 minutes below the target.

Saving and privacy

  • The log is worked out in this browser. It is not put in the page address and is not sent to a server.
  • Your data stays on this device. Saving is off unless you tick Save my entries on this device. Saved entries stay in this browser until you untick the box. Anyone who uses this browser can see them.
  • You can download your entries as a file and open the file here later, also on another device.

Limits you should know

  • This is not medical advice. The tracker does not find or rule out a sleep problem, and it does not say if a number is good or bad. It only compares your nights with the target you type.
  • See a doctor about sleep problems that last, whatever this log shows.
  • The tracker cannot measure sleep. It has no link to a watch or a phone. You type the times yourself, to the minute.
  • The minutes awake are your own estimate, so the time asleep and the sleep efficiency are estimates too.
  • One row is one night under the date you got up. Naps are not part of the log, and two rows cannot have the same date.
  • The spread of getting-up times is large when these times fall on both sides of midnight, because times are counted from midnight.
  • A log holds up to 366 nights.

Related tools