Coffee is how a lot of nurses survive 3 a.m. It is also why a lot of nurses lie awake at 10 a.m. with the blackout curtains closed, wondering why they cannot fall asleep after a 12-hour shift.
The problem is rarely the coffee itself. It is the timing. Caffeine stays in your body for hours, and on night shift, your “evening” cup lands right before bed.
This free calculator shows you exactly where your cutoff falls. Add your wake-up time, your sleep time, and every drink you have in a day. You get your last-caffeine time, your daily total, an estimate of how much caffeine is still active when you lie down, and the one swap that helps the most.
It takes about a minute, works on your phone, and nothing you enter is saved.
Find Your Caffeine Cutoff
STEP 1: YOUR SLEEP
STEP 2: HOW CAFFEINE HITS YOU
STEP 3: YOUR DRINKS TODAY
Amounts are typical averages. Coffee shop drinks and some energy drinks can be much stronger, so check labels when you can.
Your answers stay in your browser. Nothing is sent or saved. Estimates only, not medical advice.
How to Fill In the Calculator
You wake up at. When you get up before a shift, not when your alarm first goes off.
You go to sleep at. When you usually fall asleep after work. For most 7 p.m. to 7 a.m. nurses, that is somewhere between 8 and 10 a.m.
How caffeine hits you. Pick “Slower” if one coffee leaves you jittery for hours, if you are pregnant, or if you take medicines that slow how your body clears caffeine. Pick “Faster” if you can drink coffee late and still sleep. Most people should start with “Average.”
Your drinks today. Add up to six drinks at the time you usually have them. Count everything with caffeine, including tea, soda, energy drinks, pre-workout, and chocolate.
How Much Caffeine Is in Common Drinks?
The calculator uses typical averages. Real amounts vary a lot by brand, brew strength, and cup size, so check labels when you can.
| Drink | Typical caffeine | Note |
|---|---|---|
| Brewed coffee, 8 oz | About 95 mg | Coffee shop cups are often 12 to 20 oz |
| Espresso, 1 shot | About 63 mg | A latte usually has 2 shots |
| Cold brew, 12 oz | About 150 mg | Concentrates can be much stronger |
| Decaf coffee, 8 oz | About 2 mg | Not zero, but very low |
| Black tea, 8 oz | About 47 mg | Steep time changes it |
| Green tea, 8 oz | About 28 mg | A gentler late option |
| Cola, 12 oz can | About 34 mg | Diet versions are similar |
| Energy drink, 8.4 oz | About 80 mg | Larger cans often have 160 mg or more |
| Pre-workout, 1 scoop | Often 150 to 300 mg | Always check the label |
| Dark chocolate, 1 oz | About 12 mg | Adds up on a snack-heavy night |
What Your Results Mean
Your result has five parts.
- The verdict. Tells you how much caffeine is likely still active at bedtime.
- Your cutoff time. The latest time for your last caffeinated drink, about 6 hours before sleep.
- Your daily total. Shown on a meter next to the 400 mg daily amount the FDA says is generally safe for most healthy adults.
- The caffeine curve. A bar for every hour from wake-up to sleep, so you can see when caffeine stacks up.
- Drink by drink. Each drink, how much of it is left at bedtime, and if it landed before or after your cutoff.
UP TO 34 MG LEFT
Clear for sleep
Less than one can of cola is still active. Caffeine is unlikely to be what keeps you up.
35 TO 95 MG LEFT
Some caffeine left
Somewhere between a can of cola and a cup of coffee. Move your latest drink earlier.
OVER 95 MG LEFT
Still wired at bedtime
More than a full cup of coffee. Late drinks or a big total are working against your day sleep.
These bands are a practical rule of thumb based on common drinks, not a medical cutoff.
How the Calculator Works
- Half-life. Caffeine’s half-life is how long your body takes to clear half of it. In healthy adults it averages about 5 hours, but it can range from roughly 2 to 10 hours. The calculator uses 4 hours for “Faster,” 5 for “Average,” and 7 for “Slower.”
- What is left at bedtime. For each drink, the calculator halves the caffeine for every half-life between that drink and your sleep time, then adds the drinks together.
- The 6-hour cutoff. In a well-known sleep study, a dose of caffeine taken 6 hours before bed still cut total sleep by more than an hour. That is why your cutoff is set 6 hours before sleep.
- The daily total. All drinks added together and compared with 400 mg, the FDA’s general guide for healthy adults.
- What it skips. The calculator treats each drink as if it hits all at once. In real life, caffeine peaks about 30 to 60 minutes after you drink it.
Sample Cutoffs for Common Night Shift Schedules
Your cutoff moves with your sleep time, not your shift.
| You fall asleep at | Last caffeine by | Good late-shift swaps |
|---|---|---|
| 8:00 a.m. | 2:00 a.m. | Decaf, herbal tea, cold water |
| 9:00 a.m. | 3:00 a.m. | Half-caf before 3, then decaf |
| 10:00 a.m. | 4:00 a.m. | Green tea early, then decaf |
| 1:00 p.m. (later sleeper) | 7:00 a.m. | Skip the drive-home coffee |
Smart Swaps for After Your Cutoff
AFTER YOUR CUTOFF
Swap This for That
Common Caffeine Mistakes on Night Shift
- The 5 a.m. “push through” coffee. It feels like it helps you finish, but it is still working when you try to sleep.
- The drive-home coffee. If you are too tired to drive, caffeine is not a safe fix. Nap first or get a ride.
- Forgetting soda and pre-workout. They count too.
- Coffee shop sizes. A large coffee shop brew can hold two or three times the caffeine of an 8 oz cup at home.
- A huge first cup. Small cups spread across the first half of your shift work better than one giant one.
Who Should Talk to a Doctor First
GOOD TO KNOW
This calculator gives estimates based on typical drinks. It is not medical advice.
If you are pregnant or trying to get pregnant, ACOG advises keeping caffeine under 200 mg a day. Check with your provider about your own limit.
Talk to a doctor or pharmacist about caffeine if you have a heart condition, high blood pressure, anxiety, or reflux, or if you take medicines that interact with caffeine. Get help right away for chest pain, a racing heartbeat, or confusion after a lot of caffeine.
Put Your Cutoff to Work
- Build your full day around sleep with the Night Shift Sleep Schedule Planner.
- Time your bright light and sunglasses with the Night Shift Light Plan Generator.
- Set up a decaf lane and a tea corner with these home coffee bar ideas for night shift nurses.
- Get more day sleep habits in sleepmaxxing for nurses and this routine after a night shift.
- Heading back to days? Plan caffeine around the switch with this guide to flipping your sleep schedule.
- See all our free nurse tools.
Frequently Asked Questions
CAFFEINE FAQ
What Nurses Ask About Caffeine
Q1When should night shift nurses stop drinking caffeine?OPEN
Stop about 6 hours before you plan to sleep. If you fall asleep at 9 a.m., your last caffeine should be around 3 a.m. If caffeine hits you hard, stop even earlier.
Q2How long does caffeine stay in your system?OPEN
Caffeine’s half-life averages about 5 hours in healthy adults, so half of a 9 p.m. coffee is still active around 2 a.m. It can range from about 2 to 10 hours depending on the person.
Q3How much caffeine is too much for a nurse on a 12-hour shift?OPEN
The FDA says up to 400 mg a day is generally safe for most healthy adults. That is about four 8 oz cups of brewed coffee. If you are pregnant, ACOG advises staying under 200 mg.
Q4Does caffeine still affect sleep if I can fall asleep after drinking it?OPEN
Yes. Many people fall asleep fine but get lighter, shorter sleep. Caffeine can cut deep sleep even when it does not keep you awake.
Q5What can I drink instead of coffee late in a night shift?OPEN
Decaf coffee, herbal tea like peppermint or rooibos, sparkling water, or ice water. Pair it with bright light, a short walk, and a protein snack for an energy lift.
