Updated November 3, 2026 · 4 min read · Sources listed at the end
This macro calculator food search covers 75 common foods, scales each one to the grams actually eaten and totals the day against calorie and macro targets. The sections below explain which entry to choose, a simple logging routine and where calories and protein come from by food.
How to use the food macro calculator
Definition
A food macro calculator looks up the calories, protein, carbohydrate and fat in a food and scales them to the weight you actually eat.
- Search for a food in the box above (try chicken, rice, banana or paneer).
- Tap it to add it to today's log with a suggested portion.
- Edit the grams to match your plate.
- Read the totals and, if you have run the macro calculator, the "left" row.
Your log is saved in your browser for today only. Nothing is uploaded.
Cooking at home? The recipe macro calculator splits a whole dish into portions, and the macro percentage calculator turns a calorie target into grams.
Values here are generic estimates. For lab-analysed numbers on any specific food, search USDA FoodData Central.
High-protein foods for 30 g of protein
Rough amounts based on the food list above:
| Food | Amount for 30 g protein | Calories |
|---|---|---|
| Chicken breast, cooked | 97 g | 160 |
| Salmon, cooked | 136 g | 280 |
| Greek yogurt, nonfat | 294 g | 174 |
| Eggs | 5 large | 360 |
| Firm tofu | 176 g | 253 |
| Lentils, cooked | 333 g | 386 |
| Whey protein | 1 scoop (38 g) | 150 |
The calorie column is the interesting one. The same 30 g of protein costs 160 kcal from chicken and 386 kcal from lentils, which is why protein sources are not interchangeable when calories are tight.
Carb sources by calories
| Food | Typical portion | Carbs | Calories |
|---|---|---|---|
| Cooked white rice | 1 cup (158 g) | 44 g | 205 |
| Cooked pasta | 1 cup (140 g) | 43 g | 221 |
| Banana | 1 medium | 27 g | 105 |
| Oats, dry | 40 g | 27 g | 152 |
| Sweet potato, baked | 1 medium | 27 g | 117 |
| Whole-wheat bread | 1 slice | 14 g | 81 |
Healthy fats by calories
| Food | Portion | Fat | Calories |
|---|---|---|---|
| Olive oil | 1 tbsp | 13.5 g | 119 |
| Almonds | 28 g | 14 g | 162 |
| Avocado | half | 15 g | 160 |
| Peanut butter | 1 tbsp | 8 g | 94 |
| Walnuts | 28 g | 18 g | 183 |

Logging tips
- Log before you eat. It nudges portions in the right direction.
- Weigh once, memorise often. After two weeks you can estimate typical meals.
- Use the "left" row for planning, not as a daily verdict.
- Compare with labels. Packaged foods should use the label, not our averages.
Original data: eyeballing error
When people estimate portions without weighing, common errors for calorie-dense foods are large. A "tablespoon" of peanut butter spooned generously can be 32 g (188 kcal) instead of 16 g (94 kcal): a 100% error from one spoon. Two to four weeks of weighing teaches your eye and corrects most of it.

Raw, cooked and packaged: choosing the right entry
Three food-state mistakes cause most logging errors:
- Raw versus cooked. 100 g of dry rice and 100 g of cooked rice are very different foods, about 360 and 130 kcal. Pick one state and keep it.
- Per 100 g versus per serving. A "serving" on a label may be 30 g or 250 g. Check which one the entry uses.
- Packaged versus generic. For a branded product, the label wins. For fruit, vegetables, meat and grains, the generic entries here are reliable enough for planning.

A simple daily logging routine
- Morning. Plan the day's protein anchor meals first, using the tables on this page.
- Each meal. Search the main foods, set grams, and fill in oil, sauces and drinks, which are the usual gaps.
- Evening. Compare the totals with the "left" row. Adjust the last meal rather than adding a snack to patch the gap.
- Weekly. Look at the average of seven days, not any single day.
Why weighing food beats cups and spoons
Volume measures vary with how food is packed. A "cup" of cooked rice can range from about 140 to 200 g, a difference of 40 kcal in the cup alone, and a "tablespoon" of peanut butter can be double the label amount when heaped. A digital kitchen scale costs little and removes most of that noise within two weeks, after which an eye-based estimate gets much closer.
A low-effort way to stay accurate
Weigh only the calorie-dense foods: oils, nuts and nut butters, rice, pasta, cheese and meat. Vegetables, fruit and leafy salads can be estimated, because even a 30% error there changes the day by less than 50 kcal.

Our take: what is overrated, underrated and wrong
Perfect gram-level accuracy on every food. A weekly average inside 5 to 10% of target is plenty.
Weighing the calorie-dense foods only. It captures most of the benefit for a fraction of the effort.
Skipping oil, sauces and drinks because they "do not count". They are often the biggest gap in a log.
FAQ
Where do the nutrition values come from?
They are rounded averages from public food-composition data, such as USDA FoodData Central. They are reliable for planning but not exact for every brand.
Can I log packaged foods?
Search a similar food or use the recipe calculator and type a custom amount. For labels, use the numbers on the pack.
Does the log save?
Yes, for the current day in your browser. Clearing site data removes it.
What do "left" numbers mean?
They compare your logged totals with the targets from your last macro calculation on this device.
Can I add foods that are not listed?
Not in this version. Use the macro to calorie calculator to enter macros directly.
How accurate are food macro calculators?
Generic entries are within about 5 to 10% for most whole foods, which is accurate enough for planning. Branded foods and restaurant dishes vary more.
Should I log oil and sauces?
Yes. A tablespoon of oil is about 120 kcal and 13.5 g of fat, and it is the most common unlogged item.
Sources
- U.S. Department of Agriculture, Agricultural Research Service. FoodData Central.
- Atwater WO, Bryant AP. 1900. The availability and fuel value of food materials.
Keep going
Recipe Macro Calculator
Macros per serving from your ingredient list.
Macro to Calorie Calculator
Convert grams of macros to calories and percentages.
Desi Food Macros
Roti, daal, biryani, karahi and more with macros.
Best Macro Tracking Apps
How to choose a tracker, with a checklist.
Weight Loss Macro Calculator
Pace-based deficit with protein that protects muscle.
What Are Macros?
Protein, carbs and fat explained simply.