Keto Macros Calculator Guide: How to Calculate Your Perfect Macros
Calculate your perfect keto macros in 5 minutes! Step-by-step guide to determine your ideal carbs, protein, and fat for weight loss, maintenance, or muscle gain.
Macros are the three nutrients that supply your calories: carbohydrates, protein, and fat. On keto, the ratio between them matters more than on almost any other way of eating, because carbohydrates are capped low enough to keep your body in ketosis while fat takes over as your main fuel source. The calculator below uses the Mifflin-St Jeor equation — the formula most dietitians consider the most accurate for estimating resting metabolism — to give you a personalized daily calorie and macro target. Enter your details, hit Calculate, and you will get your numbers in grams, calories, and percentages.
Keto Macro Calculator
What Are Macros, Exactly?
Macronutrients are the nutrients your body uses in large amounts for energy and raw building material. Each one carries a different number of calories per gram: fat has 9 calories per gram, while protein and carbohydrates each have 4. That difference is why keto plates look so different from standard diet advice — a small amount of fat by weight delivers a large share of your daily energy.
On keto, the order of operations is simple. First, you lock in your carb limit. Second, you set a protein target that protects your muscle. Third, fat fills the remaining calories based on whether you want to lose, maintain, or gain. If you are brand new to all of this, our guide to what the keto diet is covers the fundamentals before you worry about numbers.
Why 20-25g of Net Carbs?
Net carbs are total carbohydrates minus fiber and most sugar alcohols — the carbs your body actually digests and turns into glucose. Most people need to stay under roughly 20-25g of net carbs per day to reliably get into and stay in ketosis. Some very active people can tolerate 30-50g, but starting strict and loosening later is far easier than starting loose and never seeing results.
That 25g is not much: a single medium apple blows through it. In practice, your carbs should come from leafy greens, cruciferous vegetables like broccoli and cauliflower, and small amounts of berries or nuts — foods where the carb cost buys you fiber, micronutrients, and volume on the plate. Our keto food list shows exactly which foods fit that budget.
Protein: The Macro You Actually Manage
The calculator uses 0.8g of protein per pound of body weight as a default, which is a solid middle ground for most adults on keto — enough to preserve muscle in a deficit, not so much that it crowds out fat. That said, it is a starting point you should tune:
- Sedentary or lightly active: 0.6-0.8g per pound is usually plenty. If you are significantly overweight, use your goal weight for this calculation instead of your current weight.
- Moderately active or doing resistance training: stay at 0.8-1.0g per pound. Lifting in a calorie deficit is exactly when protein matters most for keeping muscle.
- Very active or trying to build muscle: 1.0g per pound is a reasonable ceiling. Beyond that, extra protein mostly just becomes expensive calories.
One persistent myth: eating more protein does not automatically kick you out of ketosis. The idea that excess protein turns straight into sugar in the blood (via gluconeogenesis) is wildly overstated for healthy adults — that process is demand-driven, not supply-driven. Under-eating protein is a far more common keto mistake than overeating it.
Fat Is the Dial, Not the Goal
Old-school keto advice treated fat as a target to hit at all costs — butter in coffee, fat bombs on demand. If your goal is weight loss, that works against you. Dietary fat and body fat come from the same metabolic budget: every gram of fat you eat is a gram of body fat you do not burn. Hit your protein, stay under your carb limit, and then eat fat to satiety rather than to a number. If you are maintaining or gaining, the fat number the calculator gives you is a genuine target; if you are losing, treat it as a ceiling.
Example Macros for Three Sample Personas
To make the numbers concrete, here is what the calculator produces for three common profiles using the same rules (25g net carbs, 0.8g protein per pound):
| Persona | Calories | Net carbs | Protein | Fat |
|---|---|---|---|---|
| Woman, 38, 5 ft 5 in, 170 lbs, sedentary, fat loss | ~1,395 | 25g | 136g | ~83g |
| Man, 30, 5 ft 11 in, 190 lbs, moderately active, maintenance | ~2,860 | 25g | 152g | ~239g |
| Man, 52, 5 ft 9 in, 215 lbs, lightly active, fat loss | ~1,995 | 25g | 172g | ~134g |
Notice the pattern: carbs and protein stay relatively stable, and fat does almost all of the moving between a fat-loss and a maintenance target.
When to Recalculate
Your numbers are not permanent. Recalculate whenever any of these happen:
- Every 10-15 lbs of weight change. A lighter body burns fewer calories; your old deficit can quietly become your new maintenance.
- Your activity level genuinely changes. A new job, a new training program, or an injury all move the multiplier. Be honest — most people overestimate activity by one full level.
- The scale stalls for three or more weeks despite consistent tracking. That usually means recalculating and tightening portions, not slashing calories further.
- Your goal changes from losing to maintaining or building — the macros should change with it.
If weight loss is your main aim, pairing these macros with a sensible calorie deficit is the whole game — our calorie deficit guide walks through how to size that deficit without crashing your energy, and the 30-day keto meal plan shows what a full month of eating to these numbers looks like in practice.