Night Shift Sleep Schedule Calculator
Enter your shift times and commute to plan a main sleep block after work and an optional nap before your next shift.
The night shift sleep schedule calculator turns your shift times and commute into a clock plan: when to lie down after work, when the alarm goes off for a main sleep of the length you choose, and, if you want one, when to lie down and wake for a short nap before you leave for the next shift. It is arithmetic from your entries, not medical advice.
Tips from NIOSH
The U.S. National Institute for Occupational Safety and Health (NIOSH, part of the CDC) publishes shift-work training for nurses. Its night-shift sleep page says to go directly to bed when you arrive home, to sleep as long as possible, and to make the bedroom very dark or wear an eye mask. It notes that night shift workers usually get less sleep, and poorer-quality sleep, than day shift workers, so they should spend as much time in bed as possible. Source: NIOSH, Module 9: Coping with the Night and Evening Shifts, Sleep.
The same page says that if you can take a nap before returning to work, you should: it can increase your overall sleep time and may help you stay alert during the night. This calculator's nap option follows that idea. NIOSH does not give a nap length or an alarm gap, so the 20-minute nap, the 10 minutes to fall asleep and the 60-minute gap before leaving are our editable planning values.
For days off, NIOSH suggests a compromise sleep schedule so your body always has some sleep hours that are the same every 24 hours, for example sleeping as soon as you get home on work nights. Source: NIOSH, Module 9, Sleep (Continued). This calculator plans one repeated shift; it does not plan days off or rotating rosters. See also the full NIOSH shift-work training for nurses.
Examples
A 7 PM to 7 AM shift with a 30-minute commute
An 11 PM to 7 AM shift
A longer commute and a longer sleep
Main sleep for a 7 PM to 7 AM shift by commute
| Commute each way | Lie down | Main sleep | Leave home |
|---|---|---|---|
| 0 min | 7:00 AM | 7:14 AM–2:14 PM | 7:00 PM |
| 30 min | 7:30 AM | 7:44 AM–2:44 PM | 6:30 PM |
| 60 min | 8:00 AM | 8:14 AM–3:14 PM | 6:00 PM |
| 90 min | 8:30 AM | 8:44 AM–3:44 PM | 5:30 PM |
Frequently Asked Questions
When should I sleep after a night shift?
How long should I sleep after a night shift?
Should I nap before a night shift?
Does this work for rotating shifts or days off?
Is this medical advice?
Related Information
Related sleep tools
- Sleep calculators and guides - every sleep calculator and bedtime guide in one place.
- Nap Calculator - When to set the alarm for a 20-minute or 90-minute nap.
- Caffeine Calculator: Half-Life and Bedtime - How much caffeine is left at bedtime, and when it drops to your chosen level.
- Sleep Cycle Calculator - Bedtimes and wake-up times from 90-minute planning blocks, sleep needed by age, and time in bed.
Sources and wording checked with Claude (AI-assisted). Not a medical review. Scope and limitations.
Key Terms
- Main sleep
- The longest block of sleep in your day, planned here to start after you get home from a shift.
- Time to fall asleep
- The minutes between getting into bed and falling asleep.
- Pre-shift nap
- A short nap taken before leaving for work, planned here from your leave time.
Sources
- NIOSH Training for Nurses on Shift Work and Long Work Hours, Module 9: Coping with the Night and Evening Shifts, Sleep — CDC, National Institute for Occupational Safety and Health
- NIOSH Module 9, Sleep (Continued) — CDC, National Institute for Occupational Safety and Health
- About Sleep — U.S. Centers for Disease Control and Prevention
Result
- Shift
- 7:00 PM–7:00 AM
- Commute each way
- 30 min
- Arrive home and lie down
- 7:30 AM
- Asleep at about
- 7:44 AM
Quick Tips
- •NIOSH advises going directly to bed when you arrive home and making the bedroom very dark or wearing an eye mask.
- •Treat the nap length, fall-asleep times and gap before leaving as dials: change them to match how you actually sleep.
- •If the result says the main sleep runs past your leave time, shorten the target or the commute rather than ignoring it.
- •Use the nap calculator for another nap length, and the caffeine calculator to see how much caffeine from a drink is left when you plan to lie down.