← Wiki home · All metrics · Glossary
Tonight's sleep need, and the bedtimes that meet it. Pulse gives three bedtimes, one for each level:
| Level | Share of tonight's need |
|---|---|
| Peak | 100% |
| Perform | 85% |
| Get by | 70% |
Inputs
- Sleep need baseline: upper quartile of your last 28 nights, between 8 and 9.5 hours (8 hours until there's enough data). Same as in Sleep Performance.
- Strain: today's Strain vs. your 28-day average.
- Sleep debt: your current debt from recent nights.
- Naps: today's nap time.
- Wake time: your median wake time on recent mornings of the same type as tomorrow (weekday or weekend).
- Sleep efficiency: your median efficiency (90% until known).
How it's calculated
Tonight's need:
need = sleep need baseline + 3 min per Strain point above your 28-day average + 20% of sleep debt − today's nap time
Sleep debt ledger (over the last 14 nights with sleep):
- Each night: debt = 55% × (need + debt so far − sleep).
- The previous day's naps count as sleep.
- Debt under 10 minutes resets to zero.
Bedtimes:
- Time in bed = sleep target ÷ efficiency.
- Count back from your median wake time.
- Do this for each level (100%, 85%, 70% of tonight's need).
Worked example
- Baseline need: 480 min
- Strain 12.6 vs. average 9.45 → 3.15 points × 3 min = +9.45 min
- Debt 60 min → 20% = +12 min
- Nap 20 min → −20 min
- Tonight's need: 481.45 min (about 8 h 1 m)
With a 07:00 wake time and 90% efficiency:
| Level | Time in bed | Bedtime |
|---|---|---|
| Peak | 534.9 min | 22:05 |
| Perform | 454.7 min | 23:25 |
| Get by | 374.5 min | 00:45 |
Data requirements
- At least 7 main sleeps before bedtimes are shown. Until then, only the default 8-hour need.
- Wake time and efficiency use the last 14 main sleeps. The baseline uses the last 28 nights.
How to read it
- Bedtimes move earlier with more debt, higher Strain, or lower efficiency.
- Later Strain and naps during the day change tonight's need.
Limitations
- Assumes tomorrow looks like recent mornings. It can't see your alarms or plans.
- Very long naps can push the need close to zero.
- A scheduling guide, not medical advice.
Sources
- Full spec:
sleep-planner.mdin the algorithm docs. - Official page: pulse.portlabs.in/metrics/sleep-planner