Shansu Tools Guides

Keto macros explained: carbs, protein, and fat targets that actually add up.

Keto Macro Calculator Guide

A ketogenic diet is defined by one constraint — very low carbohydrate intake — but making it work for a body composition goal takes three numbers: a net carb ceiling, a protein target, and a calorie budget that fat then fills. This guide explains how the keto macro calculator derives each one, so you can sanity-check the output and adjust it as your results come in.

Open Keto Macro Calculator

Step 1: Calories Still Rule

Ketosis changes which fuel your body prefers; it does not repeal energy balance. Fat loss on keto still requires eating below your total daily energy expenditure (TDEE). The calculator estimates BMR with Mifflin-St Jeor — or Katch-McArdle (370 + 21.6 × lean mass in kg) when you provide body fat — multiplies by your activity level, and applies a 20% deficit to cut or a 5% surplus for lean gain. If you want the full math behind that step, see the TDEE formula guide.

Step 2: The Net Carb Ceiling

Net carbs are total carbohydrates minus fiber. Most people reach and hold ketosis somewhere between 20 and 30 grams of net carbs per day: 20 g is the strict default, 30 g often works for more active people. Unlike protein and fat, this number does not scale with your body — it is a ceiling, and the calculator treats it as fixed at whichever limit you choose.

Step 3: Protein Protects Muscle

The old fear that protein "kicks you out of ketosis" is overstated for most people; the bigger risk of a poorly planned keto diet is losing muscle in a deficit. The calculator sets protein at 1.4–2.0 g per kg of lean body mass (more if you train more), which is why providing a body-fat estimate — for example from the Navy body fat calculator — produces a noticeably better target than body weight alone.

Step 4: Fat Is the Lever, Not a Quota

After carbs and protein are set, every remaining calorie goes to fat. A common beginner mistake is treating the fat number as a goal to force down; in practice it is the flexible variable. Hungry and stalling? Nudge fat up toward maintenance. Losing slower than intended? Trim fat first, never protein. Judge progress by your weekly average body weight over 2–3 weeks, the same calibration loop described in maintenance calories.

Worked Example

A 30-year-old man, 80 kg, 180 cm, moderately active, cutting with 25 g net carbs: BMR ≈ 1,780, TDEE ≈ 2,759, target ≈ 2,207 kcal. Macros: 25 g carbs (5%), 128 g protein (23%), 177 g fat (72%) — right in the classic keto range without ever starting from a canned ratio.

Common Mistakes

Keto is not appropriate for everyone — certain medications, pregnancy, and kidney, liver, or metabolic conditions call for professional guidance before starting.

Related Pages

What Is TDEE, Macro Calculator Guide, Protein Intake Guide, Navy Body Fat Guide

Back to Guides