A nurse in Manchester working 4 nights on, 4 days off uses the 4-on-4-off preset. The planner tells her to sleep 8am to 3pm after night shifts, wear sunglasses on the commute home, and seek bright light in the evening before her shift. On her first off day, the plan shows her how to transition back to a day schedule using morning light.
A factory worker on a 2-2-3 rotation (2 days, 2 late shifts, 3 nights, then off) uses the custom shift builder to enter his exact rotation. The planner shows the transition days between each shift type, with specific light exposure windows to shift his clock in the right direction at the right time.
A security guard working permanent nights uses the planner to understand why he feels tired on his off days. The plan recommends keeping a delayed sleep schedule even on off days rather than switching back to nights, which causes a constant circadian tug-of-war.
A newly qualified doctor starting a rotation with night shifts uses the continental preset (2 days, 2 nights, 4 off) to plan her first month. The planner shows her when to nap before her first night shift and when to use bright light to stay alert during the shift.
The planner uses the same circadian biology that powers the Jet Lag Calculator, adapted for the repeated phase shifts of shift work. Your circadian clock is anchored to your core body temperature minimum (CBT_min), which typically occurs about 2 hours before your natural wake time.
For night shifts, you need to delay your clock so that your body expects sleep during the day and alertness at night. The planner recommends seeking bright light in the evening (before CBT_min) and avoiding morning light (after CBT_min) using sunglasses on the commute home.
For day shifts, you need to advance your clock back to a normal schedule. The planner recommends bright morning light (after CBT_min) and avoiding evening light. On transition days between shift types, the plan adjusts the light windows to push your clock in the new direction.
Your chronotype affects how easily you adapt. Night owls adjust to night shifts more easily because their clocks naturally run later. Morning larks struggle more with nights but recover faster when switching back to days. The planner adjusts the CBT_min estimate based on your chronotype.
Caffeine timing matters because caffeine has a half-life of 5 to 6 hours. The planner sets your caffeine cutoff at 6 hours before sleep for night shifts and 8 hours for day shifts, ensuring caffeine does not reduce your sleep quality.
Input
4 On 4 Off Nights, intermediate chronotype, 30 min commute
Output
Night shift days: sleep 08:30-15:00, seek light 18:00-22:00, avoid light 04:00-08:00, caffeine cutoff 02:30. Off days: sleep 23:00-07:00, morning light to transition back.
The first off day is a transition day with morning light to shift back to days
Input
Continental rotation (2 days, 2 nights, 4 off), morning lark, 20 min commute
Output
Day shifts: sleep 21:00-04:40, seek light 04:40-08:40. Night shifts: sleep 08:20-15:00, seek light 19:00-23:00. Nap recommended on first night.
Morning larks have an earlier CBT_min, so light windows shift earlier
Input
Permanent nights (7 nights), night owl, 45 min commute
Output
All days: sleep 08:45-15:00, seek light 19:30-23:30, avoid light 03:30-07:30, caffeine cutoff 02:45. No transition needed.
Night owls adapt more easily to permanent nights
Things to keep in mind
Research the algorithm is based on
How does the shift work sleep planner work?
The planner estimates your circadian phase from your chronotype and shift schedule, then uses the light phase response curve to determine when you should seek or avoid bright light. For night shifts, it helps you delay your clock by recommending evening light and morning darkness. For day shifts, it helps you advance by recommending morning light. Each day shows your sleep window, light exposure windows, caffeine cutoff, and nap recommendations.
Why is shift work bad for sleep?
Shift work forces you to be awake when your circadian clock expects sleep and asleep when it expects wakefulness. Night workers produce less melatonin during daytime sleep, and their core body temperature does not drop as much, leading to lighter and shorter sleep. Over time, this causes chronic sleep debt, increased accident risk, and higher rates of cardiovascular disease and metabolic disorders.
What is the best sleep schedule for night shift workers?
The best approach is to maintain a delayed sleep schedule even on off days if you work nights regularly. Sleep from about 8am to 3pm after a night shift, wear sunglasses on the commute home, and use blackout curtains. If you rotate back to days, use bright morning light and avoid evening light to advance your clock back. The planner shows the transition plan for each day.
Should I nap before a night shift?
A 20-30 minute nap at around 6pm before your first night shift can help bridge the transition from a day schedule. Keep it short to avoid deep sleep inertia. Avoid napping after 3pm on days when you are transitioning back to a day schedule, as it will make it harder to fall asleep that night.
When should I stop drinking caffeine on a night shift?
Stop caffeine intake at least 6 hours before your planned sleep time. If you sleep at 8am after a night shift, your last caffeine should be at 2am. Caffeine has a half-life of 5-6 hours, so drinking it too close to bedtime reduces sleep quality even if you feel tired enough to sleep.
Can light therapy help with shift work?
Yes. Bright light exposure (at least 10,000 lux) during the first half of a night shift helps you stay alert and delays your clock. A light box at your workstation for 30-60 minutes can make a significant difference. Conversely, wearing sunglasses on your commute home prevents morning light from shifting your clock the wrong way.
This tool produces suggestions based on published circadian rhythm research for healthy adult shift workers. It is not medical advice. Individuals with sleep disorders, bipolar disorder, or those taking medications that affect sleep should consult a healthcare provider. The algorithm provides general guidance and does not account for individual variations in light sensitivity, age, or medical conditions. If you experience persistent insomnia, excessive daytime sleepiness, or symptoms of shift work sleep disorder, consult a sleep specialist.