Design principles

Default parameters

ParameterDefaultAllowed range
Sleep target8 hours7–9 hours
Time to fall asleep20 minutes0–60 minutes
Planning cycle90 minutes80–110 minutes
Displayed planning window±10 minutesFixed display rule
Caffeine half-life5 hours4–7 hours in tool
Caffeine bedtime threshold25 mgPlanning rule, not a safety limit
Sleep scoreFive weighted components0–100 product score
Regularity snapshot7 nightsCircular clock-time deviation
Sleep diary view7 days7 or 14 calendar days

Sleep duration

Time in bed = wake date/time − bed date/time. If the clock wake time is earlier than bedtime, the calculator treats it as the next day. Estimated time asleep = time in bed − sleep latency − reported awake time.

Estimated cycles divide time asleep by your planning-cycle length. Estimated sleep efficiency divides time asleep by time in bed. Neither value measures sleep stages.

Sleep efficiency

Estimated sleep efficiency = estimated total sleep time ÷ total time in bed × 100. Total time in bed runs from getting into bed to getting out. Estimated total sleep subtracts time before trying to sleep, reported sleep latency, wake after sleep onset (WASO), and time after the final awakening.

Research and clinical settings do not always operationalize the denominator identically. This site uses the full time-in-bed convention and displays every subtracted component so the result is inspectable.

Calculating Sleep reflection score

This is a custom, non-validated wellness score. Duration contributes 35 points, estimated efficiency 25, entered schedule variation 20, latency plus nighttime awakenings 10, and the morning check-in 10.

The component rules are product design choices, not clinical thresholds. Only the final total is rounded.

Bedtime and wake-up windows

The center of a wake option is bedtime + latency + (cycle length × cycle count). A bedtime center works backward from the alarm using the same values.

To avoid presenting a falsely exact minute, we show a 20-minute window centered on each estimate. The “best fit” is the option whose estimated sleep duration is closest to your saved target. The width is a practical interface rule, not a claim that biological timing stays inside those exact bounds.

The cycle window is a product design rule, not a validated predictor of an individual’s sleep architecture. NIH states that cycles commonly restart every 80–100 minutes and that true stages are classified using sensor measurements.

Weekly sleep deficit

For each of seven nights, the tool calculates max(target − reported hours, 0), then adds those shortfalls. Time above the target is shown separately as “longer-night surplus.” It does not automatically cancel the deficit because recovery is not known to be a precise hour-for-hour transaction.

Caffeine cutoff

Remaining caffeine uses exponential decay: dose × 0.5(elapsed hours ÷ half-life). The displayed cutoff works backward from bedtime to the point at which the entered dose would decay to about 25 mg.

Caffeine half-life can vary far beyond our UI range. The output does not account for repeated doses, active metabolites, drug interactions, pregnancy, smoking, genetics, or medical conditions.

Seven-night regularity

Bedtimes and wake times are treated as angles on a 24-hour circle. We calculate a circular mean, then the average absolute shortest-clock distance from each time to that mean. This prevents midnight from creating a false 24-hour jump. Mid-sleep is the halfway point between each bedtime and its following wake time.

The displayed typical variation is the mean of bedtime and wake-time deviations. It is intentionally called a 7-Night Sleep Regularity Snapshot, not a formal Sleep Regularity Index (SRI). Formal SRI compares repeated binary sleep–wake states 24 hours apart.

Sleep diary and weekly reflection

Each diary night uses the same sleep-duration and efficiency formulas described above. The 7- and 14-day views include entries whose wake-up dates fall inside the selected calendar window. Average sleep and efficiency include recorded nights only; missing nights are not treated as zero.

Bedtime, wake-time, and mid-sleep variation use circular clock-time means and average absolute deviations. Social jet lag is shown only when the selected entries contain both Monday–Friday and weekend wake-up dates. Sleep debt adds only the recorded-night shortfall against the saved target.

The My Week reflection score applies the documented five-component sleep-score rules to the available recorded nights, averages each component, and rescales the available components to 100. It appears only after two valid nights. When no diary score is available, My Week may show a separately labelled saved-plan consistency signal instead.

Social jet lag snapshot

Simple social jet lag = absolute shortest-clock difference between workday mid-sleep and free-day mid-sleep. The result shows direction as well as magnitude. It does not apply a sleep-duration correction; researchers have proposed alternative sleep-corrected formulas.

Night-shift schedule planner

The main sleep starts after shift end, commute, and the selected wind-down. A selected pre-shift nap is subtracted from the desired total to size the main window, which never falls below 4½ hours in the planner. The nap ends one hour before departure for the next shift.

The estimated caffeine cutoff is five, six, or eight hours before main sleep for lower, average, or higher sensitivity. The four-hour “anchor” is a planning cue inside the main sleep window, not a validated treatment prescription. Light-window prompts and transition notes are general fatigue-planning cues and cannot determine an individual circadian phase.

Nap timing

Alarm time is lie-down time + expected latency + selected sleep duration. Quick options use 20 and 30 minutes asleep; the longer option uses a 90-minute planning estimate. These are convenient choices, not a guarantee of a particular stage on waking.

Chronotype quiz: original version 1

The Chronotype Test uses seven original questions about preferred waking, sleep onset, morning alertness, demanding work, evening alertness, daily rhythm, and early concentration. It is an educational self-assessment, not the MEQ, rMEQ, or a clinically validated instrument.

Each answer contributes 0–4 points, with earlier preferences scoring higher. Total = sum of all seven answers (0–28). The product-defined bands are 0–8 Evening, 9–11 Evening-Leaning, 12–16 Intermediate, 17–19 Morning-Leaning, and 20–28 Morning. These are descriptive interface rules, not validated research cutoffs, probabilities, or a conversion to standard MEQ scores.

Interpretation flags do not change the score. We flag a discrepancy of three or more option steps between preferred waking and sleep onset, reported rotating or overnight work, free-day alarm use, recent sleep loss, irregular schedules, and an age below 18. The discrepancy threshold is a transparent product heuristic; it cannot establish that a person's sleep preferences are physiologically impossible. All adults, including those 65 and over, remain within the intended adult audience.

The result's daily rhythm reproduces selected time ranges. It does not predict hourly energy, infer melatonin timing, prescribe a perfect bedtime, or alter a saved sleep-duration target. Lion, Bear, Wolf, and Dolphin labels are not assigned: irregular or light sleep is a different dimension from morning–evening preference.

Optional sleep-timing analysis

Inputs describe usual actual sleep onset and final waking before workdays and free days, 1–6 work or study days per week, free-day alarm use, and shift work. Profile wake times can be filled only on request; users must confirm actual sleep times before calculation.

Example, not user data: five workdays at 23:30–07:00 yield 7h 30m sleep and a 03:15 midpoint. Two free days at 00:30–09:00 yield 8h 30m sleep and a 04:45 midpoint. The raw gap is 1h 30m; weekly average duration is about 7h 47m; eligible MSFsc is approximately 04:24. Calculations retain precision until display rounding.

These estimates use self-reported usual clock times. They omit naps, sleep fragmentation, daylight-saving clock changes, and direct biological measurements. References describe research methods; they do not validate this implementation or its original quiz. See the chronotype sources.

What this site cannot know

A clock-time tool cannot determine when you enter REM or deep sleep, whether you have sleep apnea, how much sleep you biologically need, or why you feel tired. It does not read a wearable and is not validated as a medical device.

See the source list and medical disclaimer.

Your sleep profile

Saved only in this browser and shared across every calculator.

Timezone: your device timezone. Change it in your device settings.

Chronotype: No saved result. Take or review the test. Your type never changes your sleep target.