The math behind How to Calculate Macros from Homemade Recipes
The arithmetic is simple, but the reference points matter. A macro value is meaningful only when you know what amount and food state it describes. That is why grams and matching food descriptions are so useful.
Scale each ingredient before you total the recipe
Suppose a label reports 10 g protein, 20 g carbohydrate and 5 g fat per 100 g, and you use 150 g. The multiplier is 150 ÷ 100 = 1.5. That ingredient contributes 15 g protein, 30 g carbohydrate and 7.5 g fat. How to Calculate Macros from Homemade Recipes uses this same multiplication for every ingredient, even if different ingredients have different reference amounts.
Use servings when portions are genuinely equal
If the completed recipe contains 180 g protein, 240 g carbohydrate and 60 g fat and you make six equal servings, each serving contains 30 g protein, 40 g carbohydrate and 10 g fat. The helper above also estimates 370 kcal from those macros using the general Atwater factors. USDA's Food and Nutrition Information Center lists 4 calories per gram for carbohydrate, 4 for protein and 9 for fat.
Use finished weight when portions vary
For casseroles, soups, curries and meal-prep bowls, you may not divide the batch into equal containers immediately. Weigh the finished food instead. If the cooked batch weighs 1,800 g and your serving weighs 300 g, your portion is 300 ÷ 1,800 = one-sixth of the batch. Multiply each whole-recipe macro by one-sixth.
Ingredientmacro × used/referenceScale every ingredient from its own label or database reference.
Equal servingsrecipe total ÷ servingsBest when the finished batch is deliberately split evenly.
Weighed portionrecipe total × portion/yieldBest when you take different-sized portions from one finished batch.
How to Calculate Macros from Homemade Recipes does not require calorie math to work, because protein, carbohydrate and fat can be tracked directly. If you do estimate calories from macros, treat the result as an approximation. Food labels and food databases can use rounding or food-specific energy factors, and high-fiber foods may not line up exactly with a simple 4/4/9 calculation.