How Much Caffeine Is in a Can of Soda? Calculator
Estimate the caffeine in your favorite soda by brand and container size, then see how it stacks against your daily limit. Built for quick caffeine tracking, not medical diagnosis.
Wondering how much caffeine is in a can of soda? This calculator gives you a brand-specific estimate based on the soda you pick, the container size you drink, and how many servings you've had today. A standard 12 fl oz can of Coca-Cola has around 34 mg of caffeine, a Diet Coke has about 46 mg, and a Mountain Dew comes in near 54 mg — but a 20 fl oz bottle or a 16 fl oz energy-style can changes that math significantly. Use it to track intake against the FDA's general 400 mg daily ceiling for adults.
Caffeine content varies widely across sodas. Regular colas usually fall between 20–35 mg per 12 oz, while citrus and 'kick' sodas like Mountain Dew, Sun Drop, or Pepsi Zero can hit 55–69 mg per can. Caffeine-free sodas (Sprite, 7UP, Fanta, A&W Root Beer, most ginger ales) contain 0 mg. Because sensitivity differs by body weight, pregnancy status, and medication use, this tool also factors in your personal daily ceiling — for example, pregnant individuals are typically advised to stay under 200 mg/day, roughly four 12 oz Cokes.
How it works: Pick your soda, set the container size and how many servings you've had today, choose your personal daily limit, and the calculator returns total caffeine plus how much headroom you have left.
Do not exceed 400 mg of caffeine per day as a healthy adult — the FDA links higher daily intake to insomnia, jitters, increased heart rate, and anxiety. During pregnancy, keep total caffeine under 200 mg/day (ACOG). Higher intake is associated with increased risk of miscarriage and low birth weight. Account for caffeine from coffee, tea, chocolate, and medications like Excedrin (65 mg/tablet) in addition to soda. Children under 12 should consume no caffeine according to the American Academy of Pediatrics — even a single 12 oz Barq's Root Beer (22 mg) is above this threshold. Choose Sprite, 7UP, Fanta, or A&W Root Beer instead. This tool is for general tracking and education only. It is not medical advice. If you take heart medication, MAO inhibitors, certain antibiotics (ciprofloxacin), or have anxiety, arrhythmia, or GERD, consult your doctor for a personal caffeine ceiling.
Caffeine in Soda: A Practical Guide for 2026
Soda caffeine ranges from 0 mg (Sprite, 7UP, Fanta, most root beers) to nearly 70 mg per 12 fl oz can (Pepsi Zero Sugar). The number on the can matters less than the size of the container and how many you drink — a 20 fl oz Mountain Dew bottle delivers ~90 mg, almost the same as a small coffee.
Caffeine content of popular sodas (per 12 fl oz can)
| Soda | Caffeine (mg) | Comparable to |
|---|---|---|
| Pepsi Zero Sugar | 69 mg | Small cup of coffee |
| Sun Drop | 63 mg | Strong black tea |
| Mountain Dew | 54 mg | Strong black tea |
| Diet Coke | 46 mg | Half a cup of coffee |
| Dr Pepper | 41 mg | Strong black tea |
| Pepsi | 38 mg | Cup of black tea |
| Diet Pepsi | 35 mg | Cup of black tea |
| Coca-Cola Classic | 34 mg | Cup of black tea |
| Coke Zero Sugar | 34 mg | Cup of black tea |
| Barq's Root Beer | 22 mg | Decaf coffee |
| Sprite / 7UP / Fanta / A&W Root Beer | 0 mg | Water |
Caffeine by container size (using Coca-Cola, 34 mg/12 fl oz as the example)
| Container | Volume | Caffeine |
|---|---|---|
| Mini can | 7.5 fl oz (222 ml) | ~21 mg |
| Standard can | 12 fl oz (355 ml) | ~34 mg |
| Tallboy can | 16 fl oz (473 ml) | ~45 mg |
| Bottle | 20 fl oz (591 ml) | ~57 mg |
| Large bottle | 24 fl oz (710 ml) | ~68 mg |
| Movie-theater cup | 32 fl oz (946 ml) | ~91 mg |
| 2-liter bottle | 67.6 fl oz (2000 ml) | ~192 mg |
Daily caffeine ceilings by group
| Group | Recommended max | Source | Equivalent in 12 oz Coke |
|---|---|---|---|
| Healthy adult | 400 mg/day | FDA | ~11.7 cans |
| Pregnant / breastfeeding | 200 mg/day | ACOG | ~5.9 cans |
| Caffeine-sensitive adult | 200 mg/day | Mayo Clinic | ~5.9 cans |
| Adolescent 12–18 | 100 mg/day | AAP | ~2.9 cans |
| Child under 12 | 0 mg/day | AAP | 0 cans |
How Much Caffeine Is Actually in One Can of Soda?
A standard 12 fl oz (355 ml) can of Coca-Cola Classic contains about 34 mg of caffeine. Diet Coke is higher at 46 mg, Mountain Dew is 54 mg, and Pepsi Zero Sugar tops the mainstream list at 69 mg. For context, an 8 fl oz cup of brewed coffee delivers around 95 mg, so even the most caffeinated soda is only about two-thirds of one coffee. The key insight: caffeine in soda is meaningful but moderate. The risk usually isn't one can — it's three or four cans across a day, or one large 32 oz fountain drink that triples the dose hidden in plain sight.
Why Diet Sodas Often Have More Caffeine Than Regular
Counterintuitive but true: Diet Coke (46 mg) has more caffeine than regular Coca-Cola (34 mg), and Pepsi Zero Sugar (69 mg) nearly doubles regular Pepsi (38 mg). The reason is taste engineering — without sugar's masking effect, the slight bitterness of caffeine reads as a 'crisper' flavor that beverage scientists lean into. If you're switching from regular to diet to cut calories, you may unintentionally increase your caffeine intake by 30–80% per can. For sleep-sensitive drinkers, this matters more than the calorie savings.
How Container Size Changes the Math
Caffeine scales linearly with volume. A 20 fl oz bottle of Mountain Dew isn't '54 mg with a little extra' — it's 90 mg, the same as a 7.5 fl oz cup of coffee. A 32 oz fountain Coke holds ~91 mg, more than most espresso shots. The calculator above converts every input to milliliters internally so you can enter 16 fl oz, 500 ml, or a 2-liter bottle and get an accurate caffeine figure. Always read the label by serving size: a 20 oz bottle is often labeled as '2.5 servings,' a trick that masks the real caffeine per container.
Caffeine During Pregnancy: The 200 mg Line
The American College of Obstetricians and Gynecologists (ACOG) recommends pregnant individuals stay under 200 mg of caffeine per day. That's roughly five 12 oz cans of Coca-Cola, three cans of Mountain Dew, or just under three cans of Pepsi Zero Sugar. Caffeine crosses the placenta and the developing fetus cannot metabolize it efficiently, so maternal caffeine effectively pools in fetal circulation. If you selected the pregnancy ceiling in the calculator and saw a warning, that's the trigger — and remember to also account for caffeine from coffee, tea, chocolate, and pain relievers like Excedrin (65 mg per tablet).
Caffeine for Kids and Teens
The American Academy of Pediatrics (AAP) recommends zero caffeine for children under 12 and no more than 100 mg/day for adolescents 12–18. One 12 oz Mountain Dew already puts a teenager at over half their daily ceiling; two cans exceed it. For children, the calculator deliberately flags any caffeine intake — even a single Barq's Root Beer (22 mg, often overlooked as 'just root beer') registers. Caffeine-free alternatives that taste the same: Sprite, 7UP, Fanta, A&W Root Beer (note: NOT Barq's), Mug Root Beer, and most ginger ales.
Reading the Calculator: What Each Input Actually Does
Five inputs drive the result. Beverage type sets caffeine concentration in mg per 12 fl oz from published brand data. Container size and unit get normalized to milliliters so 16 fl oz and 473 ml produce identical results. Servings today multiplies the per-serving figure for cumulative tracking. Daily limit doesn't change caffeine math but flips the warning thresholds and the 'remaining allowance' figure. If you set servings to 0, total caffeine is 0 — useful for checking 'if I drink one more, where would I be?' by setting servings to your current count plus one.
Common Mistakes When Tracking Soda Caffeine
Three traps catch most people. First, assuming all colas are equal — Pepsi Zero (69 mg) and Coke Classic (34 mg) differ by 2x. Second, ignoring container size — a 20 oz bottle isn't a can, it's 1.67 cans. Third, double-dipping with coffee, tea, pre-workout, and chocolate without summing them; a morning latte (150 mg) plus two Diet Cokes (92 mg) plus dark chocolate (25 mg) already hits 267 mg before lunch. Use this calculator alongside a coffee/tea tracker for a true daily total.
How This Calculator Works: Methodology & Parameter Explanations
Core formula:
total_mg = (mg_per_12oz / (12 × 29.5735)) × volume_ml × servings; remaining = daily_limit - total_mgwhere:
mg_per_12oz— Brand caffeine density (per 12 fl oz can) (mg)volume_ml— Container volume converted to canonical milliliters (ml)servings— Number of containers consumed today (count)daily_limit— Selected personal caffeine ceiling (mg/day)
How to apply: Compare total_mg against your selected daily_limit. If total_mg ≥ daily_limit, stop caffeinated intake for the day. If total_mg is 70–100% of your limit, switch to caffeine-free sodas (Sprite, 7UP, Fanta) for any further drinks. Remember caffeine has a ~5 hour half-life, so a 200 mg afternoon dose still has ~100 mg active at bedtime.
Worked example: Suppose you drink two 20 fl oz bottles of Mountain Dew. Convert: 20 fl oz × 29.5735 = 591 ml per bottle. Mountain Dew is 54 mg per 355 ml, so 54 ÷ 355 = 0.152 mg/ml. Per bottle: 0.152 × 591 = ~90 mg. Two bottles: ~180 mg total. Against a healthy-adult ceiling of 400 mg, you have 220 mg headroom (~55% used). Against a pregnancy ceiling of 200 mg, you're already at 90% and one more bottle would exceed it.
Alternative formulas
Per-ml direct lookup: total_mg = mg_per_ml × volume_ml × servings
When to use: When you have manufacturer data already given per milliliter (common on European labels).
Coffee-equivalent estimation: cups_coffee = total_mg / 95
When to use: Quick mental conversion when comparing soda intake to your usual coffee habit.
Parameter explanations
| Input | Unit | What it means | Impact on results |
|---|---|---|---|
| Soda / beverage | — | The branded soda you're drinking. Sets caffeine concentration based on published manufacturer data (e.g. Coca-Cola Classic = 34 mg per 12 fl oz). | Largest single driver of the result. Switching from Coke (34 mg) to Pepsi Zero Sugar (69 mg) doubles caffeine at identical volume. Caffeine-free options force the total to zero regardless of size. |
| Container size | fl oz or ml | Volume of one serving — a can, bottle, or fountain cup. Internally converted to milliliters (canonical unit). | Scales caffeine linearly. A 20 fl oz bottle delivers 1.67× the caffeine of a 12 fl oz can; a 32 fl oz fountain cup delivers 2.67×. |
| Size unit | — | Whether the volume you entered is US fluid ounces or milliliters. Conversion uses 1 fl oz = 29.5735 ml. | Does not change the underlying answer — only how you enter the number. The script always converts to ml before computing caffeine. |
| Servings today | servings | How many of that container you've already had (or plan to have) today. | Direct multiplier on per-serving caffeine. Doubles, triples, etc. the total linearly. Set to 0 to preview a single future serving. |
| Personal daily caffeine limit | mg/day | The ceiling you compare against — based on FDA, ACOG, AAP, or Mayo Clinic guidance for your life stage and sensitivity. | Doesn't change total caffeine consumed, but determines remaining allowance and which warnings trigger. Pregnancy and child settings activate stricter alerts. |
Assumptions
Brand caffeine values are based on US-formulation manufacturer data; international formulations (e.g. Coca-Cola in Japan) may differ.
Caffeine scales linearly with volume — Soda is a homogeneous solution, so doubling the volume doubles the caffeine. This breaks down only for energy-shot-style concentrates, which this tool doesn't cover.
Daily ceilings are population averages, not personal limits — FDA's 400 mg is a general adult threshold. Individual tolerance varies with genetics (CYP1A2 variant), body weight, medication, and pregnancy — your real safe ceiling may be lower.
The example caffeine numbers shown in the keyword 'how much caffeine in a can of soda' are illustrative defaults; the calculator works for any soda, container size, and serving count you enter.
Coffee-equivalent uses 95 mg per 8 fl oz brewed cup (USDA average); your actual coffee may range 70–140 mg depending on bean and brew method.
How to use this calculator
- Pick your soda — Choose from the dropdown. If your brand isn't listed, pick the closest match (e.g. store-brand cola ≈ Coca-Cola Classic at ~34 mg).
- Set container size and unit — Enter the actual volume — 12 fl oz can, 20 fl oz bottle, 500 ml, or 2 L. The tool normalizes to milliliters internally.
- Enter servings consumed today — Count how many of that container you've already had. To preview adding one more, increment by 1.
- Choose your daily limit — Healthy adult (400 mg), pregnant (200 mg), teen (100 mg), or child (0 mg). This drives warnings and remaining-allowance math.
- Read the results and act — If you're under 70% of your ceiling, you have room. Between 70–100%, switch to caffeine-free. Over 100%, stop caffeinated intake for the day.