Mr Z
AI Prompt to Calculate Macros: By a 19-Year Coach
Francesco Zen, founder of ZTraining · Published 9 July 2026 · Updated 9 July 2026
The prompt
Why should macros start from lean body mass?
Most online macro calculators use total bodyweight and a generic activity multiplier, which quietly overstates protein for anyone carrying meaningful body fat. Lean body mass is the correct basis because muscle tissue is what uses dietary protein, fat mass mostly does not, so two people at the same scale weight but different body-fat percentages need different protein targets, not the same one.
Carbohydrate is calculated last and treated as the flexible macro that fills the remaining calories, never the first one cut.
A real-world example
That gap is exactly why lean-mass-based calculation matters more than which macro app someone happens to open.
When do your macro numbers go out of date?
These numbers are a snapshot. The moment your weight or body fat changes, and both change continuously through a fat loss or muscle gain phase, the calculation is technically out of date, but a one-off prompt has no way to know that unless you notice and recalculate yourself.
It also cannot verify your body-fat estimate is accurate. Macro calculations are only as good as the inputs, and a self-estimated body-fat percentage that is off by five or ten points changes the lean mass figure enough to shift every number downstream of it.
Common questions
How do I calculate my macros properly?
Start from lean body mass, not total bodyweight, then set protein and fat first and let carbohydrate fill the remaining calories based on your goal. Most calculators skip the lean-mass step entirely and use total weight instead.
Why do macro calculators give different answers?
Because they use different formulas and different assumptions about activity level, and most default to total bodyweight rather than lean mass. Two calculators can give meaningfully different protein targets for the exact same person.
Do I need to recalculate my macros as I lose weight?
Yes. Your lean mass and body fat change as you progress, so a macro target set at the start of a fat loss phase is not the correct target by the end of it, and should be recalculated periodically.
Related: The complete AI fitness prompt library · AI prompt for protein from lean body mass · Best AI prompt for a workout plan
EREPS Level 6, strength and conditioning. About Francesco · How this guide was written
General information, not medical advice: if you have a health condition, or have not exercised for a long time, talk to your GP before you start.