Macro calculator
Search foods, enter the grams and see the calories, protein, carbs and fat of your meal. The data comes from a public USDA database and is shown per 100 g and per serving.
Privacy: what you type stays in your browser and is not sent to any server. To remember your ticks and your data, this page uses your device’s local storage (it does not use cookies). You can delete it whenever you like. What is stored and how to delete it
How it works and where the data comes from
How to use it
Search for a food or pick a group and select it to add it to the list. Change the amount in grams or choose a serving. The summary at the top adds up energy, protein, carbs and fat instantly;
Your data never leaves your device: the tool runs in your browser and only keeps your last meal and your daily target in local storage.
Where the data comes from
Values come from USDA FoodData Central, SR Legacy version (April 2018), per 100 g of edible portion. There are 258 selected foods. Each one says whether it is raw or cooked and links its FDC code. Servings only appear when the USDA publishes their weight in grams.[1]
These are laboratory averages for generic foods. The label of a specific product overrides these values. There is no demo data: every value comes from that source.
Frequently asked questions
Why does it not match my product’s label?
Raw or cooked?
Are my meals saved?
Sources (1)
- U.S. Department of Agriculture, Agricultural Research Service. “FoodData Central, SR Legacy (April 2018)”. Accessed October 16, 2026. fdc.nal.usda.gov/
Date this page was reviewed: October 17, 2026. If you spot a mistake, let us know from the contact page.