- shiftEndHour24: Hour your night or rotating shift ends (e.g., 7.0 = 7:00 AM).
- commuteAndWindDownMinutes: Minutes from shift end until you are in a darkened bedroom ready to sleep.
- coreSleepCycles: Complete 90-minute cycles in your main daytime sleep block (4 cycles = 6.0 hrs + 1.5 hr pre-shift nap).
Rounding: Time-of-day outputs format to 12-hour AM/PM clock notation; countdown intervals report exact integer days, weeks, and hours.
Worked Example: Shift Worker Sleep Planner Worked Example
Compute daytime core sleep block, pre-shift power nap, and caffeine cutoff for night/rotating shifts.
- Select your wake-up time, sleep cycle target, or upcoming milestone countdown window.
- Evaluate the cycle or calendar equation: DayCoreSleepStart = ShiftEndHour + CommuteWindDownHrs; LastShiftCaffeine = ShiftEndHour − 5 hrs.
- Review the primary target time/countdown, supporting checkpoints, and 3 custom SVG diagrams.
Result: Computes Shift Worker Sleep Planner via DayCoreSleepStart = ShiftEndHour + CommuteWindDownHrs; LastShiftCaffeine = ShiftEndHour − 5 hrs.
Health & Fitness · Sleep & Circadian Science
Shift Worker & Night-Shift Anchor Sleep, Melatonin & Circadian Transition Calculator: inputs, method, and how to read the result
Compute daytime core sleep block, pre-shift power nap, and caffeine cutoff for night/rotating shifts.
Choose inputs for the case you are checking
The defaults are illustrative. Replace them with values for your case and keep the units shown beside each field.
- Shift End Hour24: Hour your night or rotating shift ends (e.g., 7.0 = 7:00 AM).
- Commute And Wind Down Minutes: Minutes from shift end until you are in a darkened bedroom ready to sleep.
- Core Sleep Cycles: Complete 90-minute cycles in your main daytime sleep block (4 cycles = 6.0 hrs + 1.5 hr pre-shift nap).
What the calculation includes
With the default values shown, Daytime Anchor Sleep Wake-Up Alarm is 2:00 PM. The calculation follows Shift Worker Sleep Planner Formula; the formula and variable definitions above show how the inputs combine.
One-input check: With the other defaults held constant, changing Shift End Hour24 from 7 hr (24h) to 8 hr (24h) changes Daytime Anchor Sleep Wake-Up Alarm from 2:00 PM to 3:00 PM. This is a comparison inside the calculator's stated model, not a prediction.
Where to use caution
- Sleep cycle calculations use the standard 90-minute ultradian NREM/REM cycle (Aserinsky & Kleitman; National Sleep Foundation).
- Individual sleep cycle lengths vary between 80 and 110 minutes; treat cycle-aligned times as practical estimates, not medical advice.
Scope: Global NSF, AASM & ISO 8601 Standard Check the assumptions and limitations against your situation before relying on the estimate.
More in Health & Fitness: Bedtime & 90-Minute Sleep Cycle Calculator (Wake-Up Finder, Age Guide & Daily Circadian Plan), Days Until Christmas Countdown Calculator (Weeks, Weekends, Shopping Days & Christmas Eve), Date Difference & Business Days Calculator.