sweatsciences
Endurance sport · why the cramp keeps coming back

Cramps aren't a mystery. Usually.

In endurance sport, most exercise-associated muscle cramps line up with a simple pattern: sweat loss that outran replacement, especially sodium. A generic tab or gel gives you the population average. If you're a heavy sweater in the heat, the average isn't enough — and that's the workout you cramped in.

Get your exact number →
30 seconds · no signup

Why the same tab worked in April and failed in July

Because your sweat rate isn't constant. Heat, humidity, effort, and how salty your body specifically sweats each move the target. A tab formulated for the average endurance athlete might deliver 400–800 mg of sodium per hour. If your body loses 1,800–2,500 mg/hr on a hot day — and many people's do — you were running a chronic deficit before your calf ever knotted up.

The calculator does the math for your body, that specific workout. It's the number the sweat lab would give you, without the lab.

The math your body is trying to tell you.
Run the calculator →

Two things to check before the next long effort

Then a small on-your-body test: run one long effort on the target and see whether the cramp shows up. It's the cheapest lab you can do.

The honest read

Not every cramp is sodium. Fatigue, altitude, medication changes, unusually intense efforts, and neuromuscular factors all matter — and researchers still debate the exact mechanism. But the sodium-math version is the one you can act on tonight, without buying anything.

If you've had recurrent unexplained cramping, or you have blood-pressure, heart, or kidney concerns, that's a conversation for a clinician — not a calculator.

What you'd do next

Run the calculator, note your target, then either tweak your current mix or take the recipe it gives you (Skratch plus a pinch of pink salt, KCl, and Mg) and try one long session on it. Cost: about $1.50–$2 a session versus $6.50 for premixed tabs. That's the whole build.

Get your number →
What we don't claim. No "cure your cramps" language. This is educational; if cramping is severe, recurrent, or paired with dizziness or confusion, that's a medical situation, not a hydration situation — stop and get seen.
Related guides
Measure your sweat rate →  ·  Cramping late in a marathon →  ·  The opposite risk: too much water →  ·  All guides →