Is FFMI a Misleading Number? Build an FFMI Calculator in JavaScript That Shows Its Error Bars
Who asks, and what they actually want
"I am 32, 5' 7", 218, BMI 34. I put this into multiple FFMI calculators and get 23-25ish which it says is 'excellent' or 'fitness model' or 'stronger than 95%' so on and so forth. I don't think this could possibly be correct for me." That was a post on r/workout in July 2026, titled "Can anyone help me understand my FFMI?"
Two months later someone on r/loseit asked the same thing more bluntly in a thread titled "Is FFMI a misleading number?" (the author has since deleted the post body, but the question in the title is the one people keep asking).
On r/leangains, someone worked through a hypothetical 6 ft, 300 lb person at 35% body fat, got 26.4, and asked: "Is a 26 FFMI while being fat really impressive?"
If you build fitness tools, you will eventually be asked to "just add FFMI." The formula is one line. The hard part is everything around it: what you do when the body-fat field is empty, which of two published coefficients you use, which way round the height correction goes, and how you stop a one-line formula from handing someone a label like "fitness model" that the math cannot support.
This post builds a small, dependency-free JavaScript module for FFMI and height-normalized FFMI, with input refusals, error bars, and a node --test suite of 14 tests. Every number in the two charts below is checked by those tests. Nothing here is medical advice; FFMI is an index built from an estimate, and the code treats it that way.
I went through the threads where this comes up. Three groups ask, and they want different things.
People who got a surprising result. The r/workout poster above. Someone on r/askfitness at 5'8", 250 lb and 33% body fat (they say from DXA and the Navy tape method), who was told 25.5 is "an elite amount of lean mass" and asked "how inflated these FFMI calculations are." An 18-year-old on r/StrongerByScience who was told by a calculator that they were close to their "maximum genetic potential" and asked, "Is the FFMI actually a vetted test?" They want to know whether the number is wrong, or whether they are reading it wrong.
People comparing calculators. A 2016 r/bodybuilding thread, "What's the actually correct adjusted FFMI formula?", noticed that German sources wrote the height correction as
6.3 x (1.8 - height)while some English calculators used6.3 x (height - 1.8), and asked which one is right. Ten years on, you can still find both coefficients (6.3 and 6.1) in calculators that cite the same paper.Developers. On X, people building small fitness tools keep shipping FFMI calculators: one reply called an FFMI calculator with male and female versions "a nice niche tool," and another developer described wiring their own FFMI CLI into an AI agent. Those are exactly the people who will copy a formula from a search result.
What all three want is the same: the formula, the right version of it, and an honest statement of how much the answer can move.
The formula, in three lines
FFMI was proposed by VanItallie and colleagues in 1990 as a height-normalized index of fat-free mass, alongside a matching index for fat mass. Kouri and colleagues (1995) later applied it to male athletes and added a height correction.
const ffm = weightKg * (1 - bodyFatPct / 100); // fat-free mass, kg
const ffmi = ffm / (heightM * heightM); // kg/m2
const normalized = ffmi + 6.3 * (1.80 - heightM); // Kouri 1995 abstract
Fat-free mass is everything that is not fat: muscle, but also water, bone, organs and the rest. That one sentence explains a lot of the confused threads, and we will come back to it.
Two identities fall out of the formula, and they are the most useful thing in this post:
- FFMI + FMI = BMI. Fat-free mass plus fat mass is total weight, so the two indices add up to BMI exactly.
- FFMI = BMI x (1 - body fat / 100). FFMI is just BMI with the fat fraction taken out.
Once you see the second line, the "fitness model at BMI 34" mystery mostly dissolves.
Why a high BMI produces a "high" FFMI
Each line is one BMI. A lean BMI 25 and a BMI 34 at 35% body fat land on the same FFMI of 22.
Take the r/workout numbers. 5'7" and 218 lb is a BMI of 34.1. Using the identity, FFMI = 34.1 x (1 - bf/100). To get the 23-25 the poster saw, the body-fat input only has to be somewhere between 27% and 33%. At 40% body fat, the same person comes out at about 20.5.
So "23-25" does not mean a calculator made an arithmetic error. It means the body-fat number fed into it was probably on the low side, and that even a realistic one leaves a fairly high FFMI because the BMI is high.
One reply in that thread suggested that some calculators quietly assume a lean body-fat value when you leave the field blank. I could not check which calculators do that, but it is a bug you can rule out in your own code: if body fat is missing, refuse. There is no honest default.
The same arithmetic reproduces the other threads. The r/askfitness numbers (5'8", 250 lb, 33%) give 25.5. The r/leangains hypothetical (6'0", 300 lb, 35%) gives 26.4. Both posters did the math right. What they were missing is the interpretation, and that is where the "misleading" feeling comes from.
The chart makes the point visually. A person at BMI 25 and 12% body fat, and a person at BMI 34 and about 35% body fat, have the same FFMI of 22. Those are very different bodies, very different training histories, and very likely very different strength levels. The index cannot tell them apart, because it was never designed to.
As one r/leangains reply put it, the index "counts everything that isn't fat." Some of that is muscle. Some of it is water, connective tissue and the extra non-fat mass any larger body carries. FFMI does not separate those.
For context, a large Swiss reference study (Schutz, Kyle and Pichard, 2002, bioimpedance-based) reported a median FFMI of 18.9 kg/m2 in young men and 15.4 kg/m2 in young women. I put those two lines on the chart only as a sense of scale. They are one population's medians, not targets or thresholds, and they come from a different measurement method than a tape or a bathroom scale.
Body-fat error becomes FFMI error
Here is the part most calculators skip. Differentiate FFMI with respect to the body-fat percentage and you get a constant:
dFFMI / d(bodyFatPct) = -BMI / 100
Every percentage point of body-fat error moves FFMI by BMI/100 points. At BMI 24.7 (the 180 cm, 80 kg worked example used on Body Visualizer's FFMI page), one point of body fat is worth about 0.25 FFMI. At BMI 38 (the r/askfitness numbers), it is worth 0.38. The same tape-measure or scale error produces wider error bars for a heavier person.
Left: the same body-fat error is worth more FFMI points at a higher BMI. Right: 6.3 vs 6.1 barely matters; flipping the sign does.
I am deliberately not claiming how accurate any particular body-fat method is. Instead, the chart asks a what-if: if the body-fat number is off by 3 points, or by 5, how much does FFMI move? For the r/leangains inputs, plus or minus 5 points of body fat is plus or minus 2.0 FFMI, enough to cross any "category" line a calculator might draw.
For the r/workout poster, who had no body-fat number at all, anything from 25% to 40% gives an FFMI anywhere from 20.5 to 25.6. That entire spread comes from one input the user probably guessed.
That is the real answer to "is FFMI a misleading number?" The formula is exact. The input is not. A calculator that prints "24.3" with no range is hiding the part of the answer that matters most.
The height correction: coefficient versus sign
Kouri and colleagues normalized FFMI to a height of 1.80 m. The abstract on PubMed prints the correction as 6.3 x (1.80 m - height). A 2017 study of college football players by Trexler and colleagues describes "a previously published equation by Kouri et al., which utilized a slope of 6.1." So calculators citing the same paper disagree on the coefficient.
Does it matter? The two versions differ by exactly 0.2 x (1.80 - height). Between 1.55 m and 2.00 m, that is at most 0.05 FFMI points. Pick one, show it in the UI, and move on.
The sign is a different story. With the abstract's form, people shorter than 1.80 m get points added and taller people get points subtracted. Write it the other way round, as the 2016 r/bodybuilding poster said some English sites did, and you apply the correction backwards. At 1.70 m the correct adjustment is +0.63 and the flipped one is -0.63: a 1.26-point gap from one character. That is a much bigger bug than the 6.1 vs 6.3 argument, and it is the one worth a unit test.
Trexler and colleagues also add useful context for the "natural limit" talk that surrounds FFMI. Kouri's paper reported that the normalized FFMI of athletes who said they had not used steroids "extended up to a well-defined limit of 25.0" in that sample, and called the findings preliminary. In Trexler's sample of 235 football players, measured by DXA, 62 (26.4%) had height-adjusted values above 25, and the authors suggested that upper limits vary by position. The honest product lesson is that 25 is a finding from one sample, not a rule your calculator should enforce or a verdict it should print.
The JavaScript module
The whole module is about 100 lines with no dependencies. Here are the parts that matter.
export const LB_TO_KG = 0.45359237; // exact
export const IN_TO_M = 0.0254; // exact
export const KOURI_COEF_ABSTRACT = 6.3;
export const KOURI_COEF_ALT = 6.1;
const LIMITS = {
heightM: [1.2, 2.3],
weightKg: [30, 300],
bodyFatPct: [3, 70]
};
export function validate({ heightM, weightKg, bodyFatPct }) {
if (bodyFatPct === undefined || bodyFatPct === null || bodyFatPct === "")
return "body fat % is required: FFMI cannot be computed from height and weight alone";
for (const [key, value] of Object.entries({ heightM, weightKg, bodyFatPct })) {
const n = Number(value);
if (!Number.isFinite(n)) return `${key} is not a number`;
const [lo, hi] = LIMITS[key];
if (n < lo || n > hi) return `${key} ${n} is outside the supported range ${lo}-${hi}`;
}
return null;
}
export function normalizeFfmi(rawFfmi, heightM, coef = KOURI_COEF_ABSTRACT) {
return rawFfmi + coef * (1.8 - heightM); // shorter than 1.80 m adds points
}
export function computeFfmi({ heightM, weightKg, bodyFatPct, coef = KOURI_COEF_ABSTRACT }) {
const reason = validate({ heightM, weightKg, bodyFatPct });
if (reason) throw new RangeError(reason);
const ffm = weightKg * (1 - bodyFatPct / 100);
const fatMass = weightKg - ffm;
const h2 = heightM * heightM;
const raw = ffm / h2;
return {
bmi: weightKg / h2,
ffm,
fatMass,
ffmi: raw,
fmi: fatMass / h2, // FFMI + FMI === BMI
normalizedFfmi: normalizeFfmi(raw, heightM, coef),
coef,
};
}
A few decisions are worth calling out:
- The body-fat field is required. No default, no "typical" value. Returning an error is better than returning a confident wrong number.
- Range checks catch unit mix-ups. A height of 170 fails because someone passed centimetres where metres were expected. A body fat of 0.2 fails because someone passed a fraction instead of a percentage. Both mistakes would otherwise produce a plausible-looking result.
- Raw and normalized are separate fields, and the coefficient travels with the result. If someone copies a number into a forum post, the label goes with it.
Then the error bars, which are cheap because FFMI is linear in body fat:
export function ffmiRange({ heightM, weightKg, bodyFatPct, uncertaintyPct, coef = 6.3 }) {
if (!(uncertaintyPct >= 0)) throw new RangeError("uncertaintyPct must be >= 0");
const mid = computeFfmi({ heightM, weightKg, bodyFatPct, coef });
const lowBf = Math.max(3, bodyFatPct - uncertaintyPct);
const highBf = Math.min(70, bodyFatPct + uncertaintyPct);
const at = (bf) => computeFfmi({ heightM, weightKg, bodyFatPct: bf, coef });
return {
mid,
low: at(highBf),
high: at(lowBf),
perPoint: mid.bmi / 100
};
}
export function bodyFatForFfmi({ heightM, weightKg, targetFfmi }) {
return 100 * (1 - targetFfmi / (weightKg / (heightM * heightM)));
}
bodyFatForFfmi is the inverse, and it is a good sanity tool. If a result surprises a user, you can show them what body fat would have been needed to produce it: "FFMI 25 at your height and weight implies about 27% body fat." That turns a mysterious label into a checkable claim.
Finally, the display text. This is where most of the harm in those Reddit threads came from, so it gets its own test:
export function formatResult({ mid, low, high }) {
const r1 = (x) => (Math.round(x * 10) / 10).toFixed(1);
return [
`Estimated FFMI ${r1(mid.ffmi)} kg/m2 (range ${r1(low.ffmi)}-${r1(high.ffmi)} if your body-fat estimate is off)`,
`Height-normalized FFMI ${r1(mid.normalizedFfmi)} (Kouri, coefficient ${mid.coef}, ref 1.80 m)`,
`Fat-free mass ${r1(mid.ffm)} kg includes muscle, water, bone and organs - not muscle alone`,
];
}
No "elite," no "fitness model," no "natural limit." Labels like those are exactly what made the r/workout and r/StrongerByScience posters distrust the whole tool. If your product needs context, show a reference distribution with its source and population next to it, and keep the sex of that population visible, because the female and male medians above differ by more than three points.
The tests
Fourteen tests, run with node --test and no dependencies. They check:
- Golden values. 180 cm, 80 kg, 15% gives a fat-free mass of 68 kg and an FFMI of 21.0, the same worked example the FFMI calculator on Body Visualizer uses.
- The Reddit numbers. 5'8"/250 lb/33% gives 25.5, and 6'0"/300 lb/35% gives 26.4, entered in imperial units.
- The identities. FFMI + FMI equals BMI, and FFMI equals BMI x (1 - bf/100), for several inputs.
- Sensitivity. One body-fat point moves FFMI by exactly BMI/100, and the width of a plus-or-minus-5 r
Comments
No comments yet. Start the discussion.