Night Shift Sleep Calculator

Turn your actual shift, commute, wind-down, sleep target, nap preference, and caffeine sensitivity into one readable plan.

Build your next night-shift plan

Calculated on your device
Updates as you change it

How the schedule is assembled

  1. Shift end + commute = estimated arrival home.
  2. Arrival + wind-down = main sleep start.
  3. Your sleep target is split between the selected nap and main sleep.
  4. The nap ends one hour before you leave for the next shift.
  5. The caffeine cutoff is 5, 6, or 8 hours before main sleep.

A 7 PM–7 AM example

With a 30-minute commute, 45-minute wind-down, 7½-hour target, and 90-minute nap, the main sleep begins at 8:15 AM and lasts 6 hours. The nap is placed before the next commute.

If the requested sleep windows overlap, the result flags the conflict instead of silently compressing your schedule.

What the planner can coordinate

It combines clock constraints that are easy to lose track of after an overnight shift: commute, settling time, main sleep, nap, caffeine, and preparation for work.

What it cannot promise

It cannot determine your circadian phase, guarantee sleep or alertness, account for every health condition or medication, or decide whether you are safe to drive. Never use a calculated schedule to override signs of dangerous fatigue.

Planning rules reviewed September 4, 2026 · See the NIOSH shift-work sources.

Common questions

When should I sleep after a night shift?

This planner starts after your shift ends, adds your commute and wind-down, then places the main sleep window. The best real-world timing also depends on caregiving, noise, light, and how sleepy you feel.

What is anchor sleep?

Here, anchor sleep means a four-hour core inside the main sleep window that you try to protect across consecutive night shifts. It is a practical planning label, not a treatment prescription.

Should I take a nap before a night shift?

A planned nap can add sleep and support alertness for some workers. This tool offers a 20-minute or 90-minute planning option and leaves an hour after the nap before the commute.

When should I stop caffeine on a night shift?

The calculator works backward from the planned main sleep start by five, six, or eight hours based on the sensitivity setting. That is a conservative planning rule, not a metabolism measurement.

Can this treat shift work sleep disorder?

No. Persistent insomnia, excessive sleepiness, or safety problems related to shift work deserve assessment by a qualified clinician or occupational health professional.

Your sleep profile

Saved only in this browser and shared across every calculator.

Timezone: your device timezone. Change it in your device settings.

Chronotype: No saved result. Take or review the test. Your type never changes your sleep target.