CBT-I Diary Snapshot
{{ formatPercent(avgEfficiency) }}
Average sleep efficiency across {{ entries.length }} night(s)
Avg TST {{ formatHours(avgTstHours) }} Avg TIB {{ formatHours(avgTibHours) }} Avg SOL {{ formatMinutes(avgSolMinutes) }} Avg WASO {{ formatMinutes(avgWasoMinutes) }} 7-night SE {{ formatPercent(rollingSevenEfficiency) }} Cadence {{ reviewCadenceLabel }} Regularity {{ formatFixed(regularityScore, 0) }}/100 Trend {{ trendLabel }} Goal gap {{ formatSignedPercent(avgEfficiency - efficiencyGoalValue) }} {{ riskBand }} Latest {{ lastEntry.date }}
min:
min:
min:
%
Date Bed Up TIB (h) TST (h) SOL WASO Awake # SE % Quality Nap Wake drift 7-night SE Regularity Risk Copy
{{ row.date }} {{ row.bedtime }} {{ row.out_of_bed }} {{ formatFixed(row.tib_hours, 2) }} {{ formatFixed(row.tst_hours, 2) }} {{ formatFixed(row.sol_min, 0) }} {{ formatFixed(row.waso_min, 0) }} {{ formatFixed(row.awakenings, 0) }} {{ formatFixed(row.sleep_efficiency, 1) }} {{ qualityLabel(row.quality) }} {{ formatFixed(row.nap_min, 0) }} {{ formatFixed(row.wake_drift_minutes, 0) }} {{ formatFixed(rollingSevenEfficiency, 1) }} {{ formatFixed(regularityScore, 0) }} {{ riskBand }}
Priority Action Why now Checkpoint Metric focus Copy
{{ row.priority }} {{ row.action }} {{ row.reason }} {{ row.checkpoint }} {{ row.metric }}
No review guidance available.

                    
:

Introduction

CBT-I Sleep Diary Tracker helps you work faster by turning raw inputs into a clear result package.

In practice, it tracks events over time and keeps a running summary so you can make decisions without rebuilding the logic by hand each time.

Use it when you need repeatable output from the same logic, whether you are doing a quick check, preparing a report, or comparing multiple scenarios side by side.

Typical workflow: enter the minimum required fields, run once for a baseline, then adjust one assumption at a time to see how the output changes.

This output is informational and does not replace professional evaluation, diagnosis, or treatment.

Everyday Use and Decision Guide

Start with a plain baseline run before exploring advanced controls. That gives you an anchor result and makes later changes easier to interpret.

In day-to-day use, most people cycle through three moves: set core inputs, compare outcomes, and export a clean snapshot for records or collaboration. The goal is not just getting a number, but understanding what changed and why.

  • If you are unsure where to start, fill only the first core field (Night date) and review the baseline output before touching advanced settings.
  • If the result swings too much between runs, lock one reference input (Bedtime) so comparisons remain fair.
  • If a result looks unrealistic, re-check units, percent vs absolute values, and date/time formats before recalculating.
  • If you need to share the output, use the built-in copy/download controls after confirming values are complete.

Technical Details

The processing path is deterministic for the same inputs: values are normalized, validated, and then transformed into history rows, rollups, and current status. Invalid entries are constrained or flagged before result rendering.

The workflow runs locally in your browser for normal calculations and formatting.

Some preferences are stored locally in your browser to restore your last-used setup.

Inputs and outputs
Field Type Role
Night dateInputUsed in computation or validation
BedtimeInputUsed in computation or validation
Out-of-bed timeInputUsed in computation or validation
Sleep onset latencyInputUsed in computation or validation
Wake after sleep onsetInputUsed in computation or validation
Number of awakeningsInputUsed in computation or validation
DateOutputShown in the results panel
BedOutputShown in the results panel
UpOutputShown in the results panel
TIB (h)OutputShown in the results panel
TST (h)OutputShown in the results panel
SOLOutputShown in the results panel

Detected export paths include CSV, JSON, DOCX outputs. Chart tabs are included for visual comparison.

Step-by-Step Guide

Use this sequence for predictable runs and cleaner comparisons.

  1. Review the main form and identify the minimum fields needed for a first run.
  2. Enter core inputs: Night date, Bedtime, Out-of-bed time.
  3. Open advanced options only after you confirm the baseline output looks reasonable.
  4. Use the primary action controls (Add entry, Reset form, Clear diary) and read the summary panel first.
  5. Inspect detailed rows or tabs to confirm assumptions, edge cases, and warnings.
  6. Copy or download the result set when you are ready to document or share it.

After one complete pass, keep the same baseline and change only one variable per rerun.

Interpreting Results

Read the top summary first, then open detailed rows to confirm how each input contributed to the final output.

When values sit near thresholds, small input edits can flip interpretation labels. Treat boundary results as prompts for a second run rather than final answers.

  • Stable/expected: Inputs pass validation, outputs are internally consistent, and guidance suggests normal follow-through.
  • Borderline: Values sit close to decision boundaries; re-run with confirmed units and one adjusted assumption.
  • Outlier: Inputs or context produce unusual output; inspect warnings and review each field before acting.

Worked Examples

  1. Baseline run with Night date
    Input snapshot: Night date: 2026-02-28; Bedtime: 12:30; Out-of-bed time: 12:30
    Key processing note: Use default advanced settings and run once.
    Final output: You get a stable baseline output you can compare against later runs.
    What this means: This establishes a reference point before optimization.
  2. Sensitivity check
    Input snapshot: Night date: 2026-02-28; Bedtime: 12:30; Out-of-bed time: 12:30; adjust one advanced setting only.
    Key processing note: Re-run and compare summary deltas and warnings.
    Final output: You see which setting most strongly affects the final outcome.
    What this means: This prevents over-tuning multiple variables at once.
  3. Share-ready snapshot
    Input snapshot: Night date: 2026-02-28; Bedtime: 12:30; Out-of-bed time: 12:30
    Key processing note: Confirm result rows, then copy or download exports.
    Final output: Detected export paths include CSV, JSON, DOCX outputs.
    What this means: This creates a portable record for reports or team handoff.

FAQ

Does this tool store my data on a server?

Some preferences are stored locally in your browser to restore your last-used setup. The workflow runs locally in your browser for normal calculations and formatting.

How accurate are the results?

Accuracy depends on input quality and model assumptions. Treat the output as decision support, not guaranteed truth.

What formats does it accept and return?

Input handling follows the on-page fields, and outputs are presented as history rows, rollups, and current status.

Can I use it when I am offline?

Yes for core use, because no mandatory remote API call was detected for the main workflow.

Is there a cost or license restriction inside this tool UI?

No paywall controls are declared in this package. Review site-wide terms for broader usage policy.

What should I do when the result is borderline?

Repeat the run with one changed assumption at a time, then compare outputs before making a decision.

Glossary

Session
One continuous period of recording activity.
Event row
A single logged action in the timeline.
Baseline
Reference value used for comparison.
Spread
Difference between highest and lowest values.
Trend
Direction of change across recent entries.
Snapshot
Exported copy of the current session state.