Sleep Optimization Tracker

Log your bedtime, wake time, caffeine, screen time, and exercise each day, and see how they line up with how rested you feel the next morning.

Log Today's Sleep

Your Averages

Avg Sleep Duration—
Avg Morning Energy—
Avg Screen Time—
Nights Logged0

Patterns We Noticed

Log at least 3 nights to see patterns here.

Sleep Log

DateBed → WakeDurationScreenCaffeineExerciseEnergyActions

No entries yet. Add your first night above.

How This Tracker Works

Sleep duration is calculated from your bedtime to your wake time, automatically adding a day if your wake time is earlier in the clock than your bedtime (an overnight sleep). Entries are saved privately in your own browser using local storage, not sent to any server, so your log stays on your device and clears if you clear your browser data.

Patterns are simple comparisons across your logged nights: average sleep duration and morning energy on nights with late caffeine versus without, high versus low screen time before bed, and exercise versus no exercise days. With only a few nights logged, patterns are just a starting signal, not a firm conclusion — the more consistently you log, the more meaningful the comparison becomes.

Frequently Asked Questions

How much sleep do adults actually need?

Most adults need 7 or more hours of sleep per night on a regular basis for optimal health, according to the CDC and the American Academy of Sleep Medicine.

Does caffeine really affect sleep hours later?

Caffeine has a half-life of roughly 5 to 6 hours, so a cup in the afternoon can still be partly active in your system at bedtime, which is why sleep experts often suggest cutting off caffeine 6 or more hours before bed.

Why track screen time before bed?

Screens can delay bedtime through engaging content and expose you to light in the evening, both of which are associated with a harder time falling asleep for many people.

Is my sleep data stored anywhere online?

No. This tracker stores your log only in your own browser's local storage. It is never uploaded, and clearing your browser data or using a different device or browser will clear or hide your history.

Should I worry about one bad night of sleep?

Occasional short nights are normal and usually not a health concern on their own. A consistent pattern of insufficient or poor-quality sleep over weeks is more worth addressing, including with a healthcare provider if it persists.

Read the Guide

Related Tools

Sources: Centers for Disease Control and Prevention — About Sleep; National Heart, Lung, and Blood Institute sleep guidance at nhlbi.nih.gov.

This tool is for general wellness tracking and is not medical advice. If you experience ongoing sleep problems, talk with a healthcare provider.