Fuelin
Back to Articles

This caffeine calculator multiplies your body weight by 3–6 mg/kg, the range the International Society of Sports Nutrition (ISSN) found consistently improves performance. Take it about 60 minutes before the start. A 70 kg (154 lb) athlete gets 210–420 mg. For long races, a smaller late dose of about 1–3 mg/kg can replace part of the pre-race amount.

Inputs

NameUnitDefaultHelp
Body weightlb or kg150 lb (68 kg)Your weight on race week. The calculator converts pounds to kilograms before applying the mg/kg dose.
Dose levelmg/kg3 mg/kg3 mg/kg is the low end of the proven range; 6 mg/kg the top. Choose 2 mg/kg if you are new to caffeine or sensitive to it.
Event durationminutes240 minExpected finish time. Events of 120 minutes or more get an optional split: part before the start, part late in the race.
Caffeine sourcecapsule, coffee, gel, gumCapsuleSets timing. Capsules, coffee and gels: about 60 min before. Caffeine gum absorbs faster and worked best taken right before the start.
Other caffeine todaymg0 mgCoffee, tea, soda or pre-workout you will have anyway. Added to your total so the 400 mg daily check is honest.
Race start timeclock time7:00 amUsed to print when to take each dose and the hour your caffeine level will roughly halve.

How it calculates

LabelFormulaExplanation
1. Body mass in kilogramskg = lb × 0.45359237 (if the athlete entered pounds); otherwise kg = entered value

Exact pound-to-kilogram conversion. Round kg to one decimal place before the next step, and show both units in the result, for example "68.0 kg (150 lb)".

2. Pre-race dosepre_mg = round(kg × d ÷ 5) × 5, where d = 2, 3, 4, 5 or 6 mg/kg (default 3)

The ISSN 2021 position stand: 3–6 mg/kg consistently improves performance, and the minimal effective dose may be as low as 2 mg/kg. Rounded to the nearest 5 mg. Timing is fixed at start − 60 min for capsule, coffee or gel, the most common timing in the research, and at the start for gum.

3. Optional late-race dose (duration ≥ 120 min)late_mg = round(kg × L ÷ 5) × 5, L = 1–3 mg/kg (default 1.5); take at start + 0.67 × duration

ISSN: doses of 1–3 mg/kg still deliver measurable effects, and caffeine later in exercise may help most as fatigue builds. In Cox 2002, about 1.5 mg/kg as cola late in a 2-hour ride matched 6 mg/kg taken beforehand. The 120-minute switch and two-thirds timing are product rules, not research cut-offs.

4. Safety checksflag if (pre_mg + late_mg) ÷ kg > 6; block if > 9; warn if pre_mg + late_mg + other_mg > 400

Doses above 6 mg/kg add no proven benefit; around 9 mg/kg the ISSN reports a high rate of side effects. The FDA cites 400 mg/day as an amount not generally linked to negative effects in healthy adults; heavier athletes at 6 mg/kg can exceed it, so the result says so plainly.

5. When half is gonehalf_time = dose_time + 5 h (show the range dose_time + 4 h to + 6 h)

The ISSN reports caffeine's average half-life as 4–6 hours, varying from 1.5 to 10 hours between adults. Displayed so athletes racing or training in the afternoon can see how much will still be active at bedtime.

Typical results

SituationResultNotes
50 kg (110 lb) athlete, pre-race150–300 mg at 3–6 mg/kg2 mg/kg starting dose: 100 mg
60 kg (132 lb) athlete, pre-race180–360 mg at 3–6 mg/kg2 mg/kg starting dose: 120 mg
70 kg (154 lb) athlete, pre-race210–420 mg at 3–6 mg/kg6 mg/kg crosses the FDA 400 mg/day figure
80 kg (176 lb) athlete, pre-race240–480 mg at 3–6 mg/kgAbove 5 mg/kg (400 mg) the 400 mg daily warning shows
90 kg (198 lb) athlete, pre-race270–540 mg at 3–6 mg/kg6 mg/kg = 540 mg, well over the 400 mg daily figure
70 kg (154 lb) athlete, late-race dose in a 4-hour event70–210 mg at 1–3 mg/kgDefault 1.5 mg/kg = 105 mg at about 2 h 40 min
Caffeine-sensitive or new user, any weight2 mg/kgMay be the minimal effective dose; test it in training first

A worked example

Maya is a 4:00 marathoner who weighs 150 lb. The calculator converts that to 68.0 kg.

  • Pre-race: 68.0 × 3 mg/kg = 204 mg, rounded to 205 mg. Her start is 7:00 am, so she takes it at 6:00 am.
  • Late-race: the race runs 240 minutes, so the split applies. 68.0 × 1.5 mg/kg = 102 mg, rounded to 100 mg, at start + 160 minutes, about mile 17–18 (2 h 40 min).
  • Other caffeine: she skips her usual coffee on race morning, so other = 0 mg.
  • Totals: 305 mg, or 4.5 mg/kg. That is inside 3–6 mg/kg and under the 400 mg daily figure, so no warnings show.
  • Half-life: about half her pre-race dose will be gone by roughly 11:00 am (range 10:00 am to noon).

She rehearses the same plan on a 20-mile long run first.

How to use the result

Turn the milligrams into products. Check every label, because caffeine per serving varies widely: the FDA puts a 12 oz brewed coffee at 113–247 mg and energy drinks at 54–328 mg per 16 fl oz. Capsules and caffeinated gels give the most exact dose.

Test the full plan in a long training session, at the same time of day, at least twice before race day. If the pre-race dose makes you shaky or sends you to the toilet, drop 1 mg/kg and try again. Avoid trying a new caffeine product on race day.

Limits

The calculator applies average research findings to one person. Response to caffeine varies with genetics (CYP1A2 and ADORA2A variants), habitual intake and sleep, so the same mg/kg can help one athlete and make another anxious. It does not know your medical history or medications. Coffee and tea doses are estimates because brewing changes the content. Doses are per event, not per day of training, and the 400 mg check covers healthy adults only. Athletes under drug testing should know that WADA monitors caffeine, and the NCAA bans urine levels above 15 µg/ml.

How Fuelin helps

Caffeine timing only works if the rest of race fueling is right. Fuelin's workout and race-day guidance plans carbohydrate and fluid for each session from your synced training, including how many gels or chews to take and when. Use this calculator's milligram target to choose which of those gels or drinks carry caffeine, then rehearse the whole plan on a long session Fuelin has already fueled for you.

Safety note

Talk to your doctor before using performance doses of caffeine if you are pregnant, trying to conceive or breastfeeding, or if you have a heart rhythm problem, high blood pressure, an anxiety disorder or a seizure history. Check with a doctor or pharmacist about medications that interact with caffeine. Stop and seek medical help for chest pain, a racing or irregular heartbeat, or fainting. This calculator is not designed for anyone under 18.

Frequently asked questions

How long before a race should I take caffeine?

About 60 minutes before the start for capsules, coffee or caffeinated gels. That is the most common timing in research, and it lines up peak blood levels with the start. Caffeine gum absorbs through the mouth faster; one study found it worked when chewed right before exercise but not 1–2 hours before.

Should I quit caffeine before race day so it works better?

The evidence does not support it. In trained cyclists, 3 mg/kg improved performance whether or not habitual users had a 4-day break first, and the ISSN found no consistent difference between habitual and non-habitual users. Keep your usual routine and plan the race dose on top of it.

Is 200 mg of caffeine enough before a race?

For many athletes, yes. 200 mg equals about 3 mg/kg for a 67 kg (147 lb) athlete, the low end of the proven range. Lighter athletes are already near 4 mg/kg at 200 mg. Heavier athletes may need 250–300 mg to reach 3 mg/kg, but more is not always better.

Can I take caffeine during a marathon instead of before?

Yes, and for long races it may work better. The ISSN notes caffeine taken in the mid or late stages can help most because fatigue is greatest then. In one study, about 1.5 mg/kg from cola in the final part of a 2-hour ride matched a 6 mg/kg dose taken an hour before.

Is caffeine banned in sport?

No. WADA removed caffeine from its banned list in 2004 but still monitors it. Athletes are asked to keep urine caffeine below 12 µg/ml, which corresponds to about 10 mg/kg taken over several hours, above the 3–6 mg/kg used for performance. The NCAA bans urine caffeine above 15 µg/ml.

Will race-day caffeine ruin my sleep?

It can. Caffeine's half-life averages 4–6 hours and ranges from 1.5 to 10, so an afternoon dose may still be active at bedtime. Caffeine delays sleep onset and reduces deep sleep. For evening sessions, use the low end, 2–3 mg/kg, or skip it.

Does caffeine work for women and untrained athletes too?

The ISSN concludes caffeine improves performance in both trained and untrained people. Pregnancy and hormonal contraceptives can slow caffeine metabolism, so the same dose may last longer. Start at 2–3 mg/kg and adjust after testing it in training.

Back to Articles