Macro Calculator (Food). Enter your age, sex, weight, height, and activity level into this Macro Calculator to get your personalized daily targets for protein, carbohydrates, and fat. Choose your fitness goal — weight loss, maintenance, or muscle gain — and the calculator returns your total daily calories alongside gram-level macro breakdowns you can use to plan every meal. Also try the calculate Daily Calories, Daily Fat & Daily Protein — Keto Macro.
Search for a serving in this macro calculator (food) and you see how many calories it holds and how much of each macronutrient it delivers before it reaches your plate. Add each entry to a running list and the tool totals your day, so you can track what you eat instead of guessing. The sections below show how the numbers are produced and how to read them.
How the Macro Calculator (Food) Turns a Portion Into Numbers
Each entry comes from the USDA National Nutrient Database or the ESHA Nutrient Database, which list the macros for one standard serving, usually per serving or per 100 g. Confirm which basis an entry uses before you scale it. Your serving then scales those figures up or down, and the totals refresh at once. Entries rest on lab analysis and label data, so treat every result as one of many estimates rather than a lab measurement.
Using the Calorie Counter Step by Step
Run a Food Search and Pick a Match
Type an ingredient, a packaged product or a restaurant dish into the search food box and press enter. Brands appear beside generic entries, so choose the one that matches your label. Popular foods and restaurant items are listed too, which saves typing when you eat out.
Adjust Serving Sizes and Set the Quantity
Choose the serving amount closest to what you really ate, in grams, ounces, cups or tablespoons. The quantity box accepts decimals, so 1.5 works as well as 2. For packaged foods, compare your portion with the serving size printed on the package before you confirm.
Add to Daily Totals
Each time you press add, the entry joins your food list and the meal summary refreshes with new nutrition totals. Include every drink, sauce and snack, because those are the items people forget. The daily tracker view then shows how your daily totals compare with your plan, and it gives you one place to review all your food items.
Search for the item and open its entry.
Set the serving and amount.
Press add and read the updated totals.
Common Logging Mistakes to Avoid
Weigh cooked and raw items on the same basis the entry uses: 100 g of dry rice and 100 g of cooked rice differ by roughly a factor of three. Volume is looser than weight, since a heaped spoon can hold double a level one, so a scale beats measuring cups when accuracy matters. Log cooking oil, dressings and the bite you taste while cooking, and choose the entry whose brand and preparation match what you bought rather than the first result in the list.
Counting Macros: The Formula Behind Every Entry
The conversion is simple. Protein, carbs and fat supply energy at fixed rates: 4 calories per gram for the first two and 9 calories per gram for fat. Alcohol is left out of the macro split in most trackers. The calculator applies this formula to each entry, where P, C and F are the grams of each of the three macronutrients:
$$\text{Calories} = 4 \times P + 4 \times C + 9 \times F$$
The third macro carries more than twice the rate of the other two, which is why a small spoon of oil moves your total more than a larger serving of rice.
Food Calorie Calculator Example: One Day of Meals
Here is one day logged in the tool, using servings you can weigh on a kitchen scale. Greek yogurt and peanut butter make breakfast, a hard-boiled egg pair is the snack, and lunch is chicken, rice and oil.
Item
Amount
Protein (g)
Carbs (g)
Fat (g)
Calories
Nonfat Greek yogurt
227 g
23.2
8.2
0.9
133
Peanut butter
32 g
8.0
6.9
16.1
205
Hard-boiled egg (2 large)
100 g
12.6
1.1
10.6
150
Grilled chicken breast
140 g
43.4
0.0
5.0
219
Brown rice, cooked
180 g
4.9
41.4
1.7
201
Olive oil
1 tbsp
0.0
0.0
13.5
122
Day total
92.0
57.6
47.9
1,030
Apply the formula to the totals: $$4 \times 92.0 + 4 \times 57.6 + 9 \times 47.9 \approx 1{,}030$$ So the day comes to about 1,030 kcal. The split is 36%, 22% and 42% in the table's column order, and that last share is the surprise: the spread and the oil carry 327 of the 1,030 kcal in only 45 g.The spread and the oil supply 327 of the day's 1,030 calories from just 45 g.
Reading the Split in Your Own Log
Using the calculator's totals, a share is each macro's kcal divided by the day's total, written as $$\text{Share} = \frac{4 \times \text{g}}{\text{total kcal}}$$ for the first two and with a 9 for the third. In this log fat leads, which suits a plan built around it but would overshoot a typical balanced target. Halving the spread drops 103 kcal and 8.1 g of the third macro, taking the day to about 928 kcal and moving the three shares to 38%, 23% and 39%.Each logged serving adds to the running daily total shown by the tracker.
Nutrition Tracking: What the Label Adds to Your Totals
The headline number is only part of the label. The nutrition facts label also lists carbohydrates split into dietary fiber and added sugars, plus sodium and several vitamins, and a good tracker surfaces them next to your totals. Checking fiber and sugar matters most for blood sugar control, while sodium matters if you eat many packaged items. Some entries also report micronutrients, but coverage varies, so read the nutrition facts on the package when a number looks off.
Logging a Salmon Dinner With a Calorie Counter
Dana finishes a training run at 6:40 pm and wants dinner under 800 kcal with plenty of protein. In the macro calculator (food), a quick search finds a 172 g cooked salmon fillet, 185 g of cooked quinoa, 150 g of steamed broccoli and one tablespoon of oil from the pan. The calorie tracker's meal builder keeps them as one dinner, and each serving size is set by weight.
The totals read 749 kcal, 50.4 g protein, 49.3 g carbs and 38.9 g fat. A hand check, 4 × 50.4 + 4 × 49.3 + 9 × 38.9 = 748.9, matches.
The reference point is the acceptable macronutrient range in the Dietary Guidelines for Americans: fat at 20-35% of daily kcal, carbs at 45-65%. This plate is 27% protein, 26% carbs and 47% fat, so it sits above the fat band and below the carb band. My read: the oil is the number to watch, because one tablespoon is 122 kcal, 16% of the plate.
Version
kcal
Fat (g)
Split
As logged
749
38.9
27/26/47
Half the oil (6.8 g)
689
32.2
29/29/42
Dana halves the oil and lands on 689 kcal. Fat is still 42%, so tomorrow's breakfast has to run leaner.
One caveat: oil left in the pan never reaches the plate, so logging the full tablespoon overstates fat, while weighing salmon raw against a cooked entry understates it. Next time Dana weighs the cooked fillet and measures the oil with a teaspoon.
Macro Tracking for Weight Management and Health Goals
A BMR calculator turns your height, weight and age into a daily energy estimate, and your calorie goals sit on top of it: a deficit for weight loss, a surplus to build muscle. Your macro goals then divide that target between the three macronutrients, and a macro tracking app lets you save custom macro goals for training days. Pair them with steps, exercise and fitness data, and the numbers start to describe real habits instead of one good week.
Barcode scan reads a package and fills in its entry in seconds when your app supports it.
Meal scan recognizes a photo of your plate and proposes entries to confirm.
Home recipes and restaurant menus can be saved, then added to the totals in one step.
Water tracking and intermittent fasting timers sit beside the totals in the app, so they never change your macro numbers.
Whichever calorie tracker you use, calorie tracking works best as a long view: compare the calculator's daily totals across several days against your target, because a healthy diet shows up as steady averages, not one perfect day. The meal builder lets you save a favorite combination once and reuse it, which is the easiest way to stay consistent.