Shift Work Sleep Calculator

Night shifts flip your sleep upside down. Enter when your shift ends and how long it takes to get home, and get a sleep window that protects your rest.

Your sleep window after the shift

For information only, not medical advice. This calculator uses average sleep-cycle figures; your own cycles vary. If you have trouble sleeping for weeks, snore loudly, or feel very sleepy during the day, talk to a doctor.

How to use this calculator

1

Enter the time your night shift ends.

2

Enter your commute home in minutes.

3

Choose your target sleep — 7.5 hours (5 cycles) suits most adults.

4

Sleep in the window shown, in a dark, cool, quiet room, and keep the same core hours on days off.

Worked example

Night shift ends 7:00 AM, 30-minute commute, target 7.5 hours. You get home at 7:30 AM, wind down for 30 minutes, and get into bed at 8:00 AM. Sleep 8:00 AM–3:30 PM for a full 7.5 hours (5 sleep cycles). That leaves the late afternoon and evening free before the next shift.

Wear sunglasses on the way home: bright morning light tells your body clock it is time to wake up, which makes falling asleep harder.

Frequently asked questions

Go to bed as soon as you can after getting home and winding down for about 30 minutes. For a shift ending at 7:00 AM with a 30-minute commute, that means sleeping about 8:00 AM–3:30 PM for 7.5 hours.

The same as everyone else: 7–9 hours for most adults. Shift workers often get less because daytime sleep is lighter and shorter, so protecting the full window matters.

Anchor sleep is a core block of at least 4 hours kept at the same time every day, including days off. It steadies your body clock when your schedule keeps changing.

A short nap of 20–30 minutes before a night shift can help, or a 90-minute nap for one full cycle. Avoid napping so late that it steals sleep from your main daytime block.

Make the room as dark as possible with blackout curtains or a sleep mask, keep it cool and quiet with earplugs or white noise, and tell household members your sleep hours. Turn your phone to silent.

Rotating shifts make regular sleep harder, and long-term night work is linked to poorer sleep and health. A fixed shift pattern, regular anchor sleep, and good sleep habits reduce the impact. Talk to a doctor if sleep problems persist.