Sleep Calculator for Shift Workers
Plan A — one full sleep after your shift
Wind down and get in bed by 7:45 AM (45 min after your shift). Wake at the end of a complete 90-minute cycle:
2:00 PM
4 cycles · 6h sleep
3:30 PM
5 cycles · 7.5h sleep
Recommended wake time
5:00 PM
6 cycles · 9h sleep
Recommended wake time
Plan B — split sleep: anchor + pre-shift nap
When a full block isn't possible (common on nights), keep a fixed 4.5-hour "anchor sleep" at the same time every day, then top up with one full-cycle nap before work:
- Anchor sleep
- 7:45 AM → 12:30 PM
- Pre-shift nap (90 min, one full cycle)
- 8:45 PM → 10:30 PM
Keeping the anchor window identical on days off is what stabilizes your body clock.
Caffeine cutoff: no coffee, energy drinks, or pre-workout after 1:45 AM — caffeine within 6 hours of bedtime measurably shortens sleep.
The core conflict of shift work: your body clock runs on daylight, your roster doesn't. Take a night shift (11 PM–7 AM). Plan A — one full sleep: in bed by 7:45 AM (allowing 45 minutes to commute and decompress), waking at a cycle boundary at 2:00, 3:30, or 5:00 PM. Plan B — split sleep: a fixed anchor block of 7:45 AM–12:30 PM every single day (days off included) plus a 90-minute pre-shift nap from 8:45–10:30 PM. Both plans share one hard rule: no caffeine after 1:45 AM. Enter your shift and this calculator builds both plans for you.
Which plan should you use?
Plan A (one block) is always the first choice. A single 6–9 hour stretch gives you the most complete distribution of deep and REM sleep — the closest thing to a day worker's night. The calculator offers three wake times at 4, 5, and 6 cycles (6, 7.5, and 9 hours); pick whichever doesn't collide with your next shift.
Plan B (split sleep) is the realistic fallback for nights. Sleeping seven-plus daytime hours is impossible for most people — light, noise, family. Splitting solves it in two pieces:
- Anchor sleep: a fixed 4.5-hour core block (e.g., 7:45 AM–12:30 PM) that never moves — a standard concept in sleep medicine. The unchanging anchor gives your body clock one reliable daily reference point, on workdays and days off alike.
- Pre-shift nap: one full 90-minute cycle (e.g., 8:45–10:30 PM) with a 30-minute buffer to shake off grogginess before clocking in. It tops up your total and, ending at a cycle boundary, wakes you clean.
Evening shifts (3–11 PM) usually only need Plan A — in bed by 11:45 PM, up between 6:00 and 9:00 AM, barely off normal. Plan B is built for nights and brutal 4 AM starts.
Making daytime sleep actually work
Sleeping by day fights a million years of wiring, so the environment has to compensate:
- Dark: blackout curtains or an eye mask — the darker the better. Morning light is the strongest "wake up" signal there is; wearing sunglasses on the commute home after nights (standard occupational-health advice) keeps that signal from sabotaging your sleep onset.
- Cool and quiet: a bedroom on the cool side (around 64–68°F / 18–20°C), earplugs or white noise against the waking world. Make sure your household knows your "night" runs from 8 AM to 2 PM.
- A ritual: the same pre-sleep sequence you'd use at night — wash up, curtains, phone out of reach — and no work messages during your 45-minute wind-down.
Two hard rules: caffeine timing and rotation direction
Caffeine cutoff = six hours before bed. Published sleep research shows caffeine consumed even six hours before bedtime still measurably shortens total sleep. For a night shifter with a 7:45 AM bedtime, that means nothing caffeinated after 1:45 AM — coffee, energy drinks, pre-workout, all of it. Use it freely in the first half of the shift, white-knuckle the second half. That trade is the hardest and the most important part of the whole plan.
Rotate forward, not backward. Schedules that rotate day → evening → night are measurably easier to adapt to than the reverse — a standard finding in circadian research, since the body clock delays more easily than it advances. If you have any say in your roster, push for forward rotation with at least 1–2 weeks per block; rapid flip-flopping is the most damaging pattern.
How to use this calculator
- Tap a shift preset — Night (11 PM–7 AM), Evening (3–11 PM), or Early (4 AM–12 PM) — or set your own start and end times below.
- Read Plan A: bedtime (shift end + 45 minutes) and three cycle-aligned wake times; pick one.
- Read Plan B: the fixed anchor block plus your pre-shift nap start and wake times.
- Note the caffeine cutoff — shared by both plans.
- On days off, hold the anchor block (Plan B) or roughly the same sleep window (Plan A). Don't flip all the way back to a daytime schedule.
Frequently asked questions
How many hours should a night-shift worker sleep?
The target doesn't change: 7–9 hours for adults. The reality is that shift workers average less (which is exactly why Plan B exists) — anchor 4.5 hours plus a 1.5-hour nap is a 6-hour floor configuration; get above 7 whenever you can. A large body of published research links chronically short sleep to health risks, which is why shift workers should treat sleep as part of the roster, not an afterthought.
What is anchor sleep?
A core block of 3–4.5 hours that happens at the same time every day — days off included. It gives your circadian rhythm one fixed daily anchor: whatever else moves, that block doesn't. The payoff is faster adaptation and less chaos on days off. Everything around it gets topped up with naps and flexible sleep.
How should I sleep on my days off?
Two schools. The strict one keeps the anchor block unmoved (the stablest option, recommended if your shifts rotate often). The compromise shifts the anchor 2–3 hours later to share half a day with family. The universal mistake is flipping fully back to a daytime schedule every weekend and slamming back on Monday — that's a transatlantic flight's worth of jet lag, weekly.
Does melatonin help with shift work?
There's research supporting melatonin for daytime sleep onset and jet-lag-style adjustment, but dose and timing are finicky (typically far below retail doses, taken 30–60 minutes before the intended sleep) and long-term data is limited. It belongs in the "ask your doctor first" category — this page doesn't recommend a specific regimen.
What about early shifts with a 4–5 AM wake-up?
The pain point shifts to falling asleep: you need to be out by 8–9 PM while your body clock is still wide awake. Run the night-shift playbook in reverse — dim lights an hour before bed, no caffeine after 2 PM, and bright light the moment you wake. Choose the Early preset and align Plan A's wake times with your clock-in.
What are the long-term health considerations of shift work?
The links between long-term shift work and metabolic and cardiovascular risk are an active area of occupational-medicine research (association isn't proof of causation, but the evidence keeps accumulating). The actionable advice: keep one plan consistent, hold the caffeine line, get regular checkups, and anchor your meals and exercise too. If you're dealing with persistent insomnia, mood problems, or crushing daytime sleepiness, see a sleep-medicine specialist — shift work disorder (SWD) is a formal diagnosis with real treatments.
Data sources: The cycle model (90-minute cycles, 15 minutes to fall asleep) matches this site's other sleep calculators; the six-hour caffeine cutoff comes from published sleep research; anchor sleep and forward-rotation guidance are standard recommendations in sleep medicine and occupational health. Every example time was computed by this page's calculator — the night-shift example is the default input, so selecting the Night preset reproduces it exactly. Related tools: sleep calculator, nap calculator, bedtime calculator, all health calculators.
Disclaimer: This calculator uses standard sleep-science models from published research and occupational-health guidance. Results are for reference only and are not medical advice. For persistent severe sleepiness, insomnia, or mood problems, consult a physician — shift work disorder is a recognized diagnosis with established treatments.
Related calculators
- Sleep Calculator
- Sleep Cycle Calculator
- Bedtime Calculator
- Nap Calculator
- Sleep Debt Calculator
- TDEE Calculator