Biphasic Sleep Calculator: Core Sleep + Nap Schedule
Plan a science-backed biphasic sleep schedule with a core night sleep and strategic daytime nap tailored to your wake time.
Built by Adil Sattar · Educational tool, not medical advice
Best for most people — avoids deep sleep, no grogginess, fits any schedule.
The exact formula this calculator uses
Places a fixed 6.5-hour core sleep ending at your wake time and a daytime nap starting 7 hours after waking, then totals the sleep.
Formula
Core bedtime
CoreBed = WakeTime − 390 minWraps around midnight (mod 1440 minutes). Core wake equals the entered wake time.
Nap start
NapStart = WakeTime + 420 min (7 h)Code comment: '~7h after wake = early afternoon'. Wraps past midnight if wake time is late.
Nap end
NapEnd = NapStart + NapLength + 5 minThe extra 5 minutes is an allowance for falling asleep; the displayed window is therefore NapLength + 5 min long.
Total daily sleep
Total = 390 + NapLength (minutes) -> floor(Total/60) h and Total mod 60 mThe 5-minute onset allowance is not counted as sleep. Minutes part is omitted when it is 0.
Inputs
| Input | Meaning | Range / options |
|---|---|---|
| WakeTime | Required wake time | time input, default 06:30 |
| NapLength | Nap duration in minutes | buttons: 20 (Power nap), 30 (Extended), 90 (Full cycle); default 20 |
Constants and where they come from
- Core sleep: 390 min (6.5 h). rule-of-thumb used by this tool; fixed regardless of inputs
- Nap offset after waking: 420 min (7 h). rule-of-thumb used by this tool (code comment: early afternoon)
- Sleep-onset allowance: 5 min. rule-of-thumb used by this tool
Cutoffs and labels
- No thresholds or bands. Nap-length helper text is fixed per button (20: 'Best for most people...'; 30: 'Slightly more restoration...'; 90: 'Full sleep cycle including REM...').
- Results are cleared whenever wake time or nap length changes; they appear only after pressing the Build button.
Worked example
Inputs: WakeTime = 06:30, NapLength = 20
- CoreBed = 06:30 − 390 min = 00:00
- NapStart = 06:30 + 420 min = 13:30
- NapEnd = 13:30 + 20 + 5 = 25 min -> 13:55
- Total = 390 + 20 = 410 min = 6h 50m
Result: Core sleep 00:00 -> 06:30; nap 13:30 -> 13:55; total 6h 50m. Other nap lengths at the same wake time: 20-min nap: nap 13:30-13:55, total 6h 50m; 30-min nap: nap 13:30-14:05, total 7h; 90-min nap: nap 13:30-15:05, total 8h.
Core sleep, nap offset and onset allowance are fixed, so only the clock times shift with your wake time; nothing is personalised to chronotype, age or sleep need. It does not check that the nap falls before your bedtime or in daylight (a late wake time can put the nap after midnight).
Formula checked against the calculator's code: November 2026. Written out by Adil Sattar. Found a mistake? Tell us.
Frequently asked questions
What is biphasic sleep?+
Biphasic sleep is a sleep pattern divided into two distinct periods rather than one continuous overnight block. The most common form is a shorter core night sleep (5.5–6.5 hours) plus a daytime nap (20–90 minutes). Historical and anthropological evidence suggests that pre-industrial biphasic sleep (first and second sleep with a waking interval) was the human norm before artificial lighting.
Is biphasic sleep healthier than monophasic?+
For some individuals, particularly afternoon chronotypes, strategic biphasic sleep can improve alertness, cognitive performance, and mood versus a single consolidated sleep period of the same total duration. A well-known 1995 NASA study on long-haul pilots found that a 26-minute nap improved task performance by 34% and physiological alertness by up to 54%. However, biphasic sleep is not universally superior — morning chronotypes often perform better with consolidated sleep.
What is the best biphasic sleep schedule?+
The most evidence-backed biphasic schedule is 6–6.5 hours of core night sleep plus a 20–30 minute early-afternoon nap (1–3 PM for most adults). This aligns the nap with the natural post-lunch circadian dip, avoids deep sleep during the nap (preventing sleep inertia), and preserves adequate homeostatic drive for the subsequent night.
Will a daytime nap affect my night sleep?+
A poorly timed or too-long nap will reduce nighttime sleep drive (adenosine) and make it harder to fall asleep at night. The key rules: keep naps under 30 minutes (or a full 90-minute cycle if you have time), take them before 3 PM, and ensure your core night sleep is at least 6 hours.
What is first and second sleep?+
First and second sleep refers to the pre-industrial biphasic pattern described in historical records (Dickens, Chaucer, medical texts) where people slept 3–4 hours, woke for 1–2 hours of quiet activity, then slept 3–4 more hours. Sleep historian Roger Ekirch documented hundreds of historical references to this pattern. Modern artificial light shifted humans toward consolidated monophasic sleep.
How long should a biphasic nap be?+
For most people the ideal biphasic nap is 20–30 minutes — long enough to enter light NREM sleep for restoration but short enough to avoid slow-wave sleep onset (which causes sleep inertia on waking). Advanced biphasic practitioners take a full 90-minute nap to complete one full sleep cycle including REM, but this requires careful timing and schedule flexibility.
Related calculators
Power Nap Calculator: Best Nap Length & Start Time
Nap optimizer calculator: find the perfect nap length for your goal, whether it's alertness, recovery, or creativity.
OpenSleep Cycle Calculator: Plan Sleep in 90-Minute Cycles
Sleep cycle calculator: find the optimal bedtime or wake time aligned with your 90-minute sleep cycles.
OpenSleep Debt Calculator: How Many Hours of Sleep Do You Owe?
Sleep debt calculator: find out how many hours of sleep you owe your body and get a step-by-step plan to repay it.
Open