Health Calculator
Calorie and Macro Calculator
Add the foods in a meal by weight and see the calories and the carbohydrate, protein and fat split, using a built-in food table and the USDA food database.
What this calculator does
Type a dish or ingredient, enter the weight you ate in grams, and add it. The tool finds nutrition values per 100 g, scales them to your portion, and adds the carbohydrate, protein and fat to a running total with a chart of the split. Add several foods to see a whole meal.
Nutrition values come first from a small built-in table of common dishes, including Indian staples such as roti, dal, rice, idli, dosa and paneer, and otherwise from the US Department of Agriculture’s FoodData Central database. Each added item shows which source was used.
How calories are worked out
Calories (kcal) = Carbohydrate (g) × 4 + Protein (g) × 4 + Fat (g) × 9
These are the standard Atwater energy factors used on food labels. Fibre and alcohol are not counted separately.
Worked example
Using the built-in values:
- 100 g of roti: 45 g carbs, 9 g protein, 1.5 g fat = 45×4 + 9×4 + 1.5×9 = 229.5 kcal
- 150 g of cooked white rice: 42 g carbs, 4.05 g protein, 0.45 g fat = 188.25 kcal
How accurate is it?
Treat the numbers as a reasonable estimate, not a lab measurement. Home-cooked dishes vary a lot with recipe, oil and portion: a roti made with ghee, or dal with a tadka, can carry noticeably more fat than a plain version. Restaurant food is usually richer than home cooking. For packaged foods, the nutrition label on the pack is more accurate than any database. For a fuller list of Indian foods, the Indian Food Composition Tables published by ICMR–National Institute of Nutrition are the reference source.
Tips for useful entries
- Weigh food after cooking if you look up cooked items, such as cooked rice or dal.
- Use simple names: “rice”, “paneer”, “banana”. Very specific dish names may not be found.
- Add cooking oil as its own item if you know roughly how much was used; one tablespoon is about 14 g.
Who should be careful
If you have diabetes, kidney disease or another condition that affects what you eat, or if counting food is causing you stress, talk to a doctor or registered dietitian rather than relying on a calculator. This tool shows general nutrition information, not a diet plan.
Privacy
Your food list stays in this page. When a dish is not in the built-in table, its name is sent to the USDA FoodData Central service to look it up; the weight and your list are not sent. See the privacy policy for details.
FAQs
Where do the nutrition values come from?
A built-in table of common dishes, then the USDA FoodData Central database for anything else. Each result shows its source.
Why is my dish not found?
Try a simpler or more common name, or the main ingredient.
Are the values for raw or cooked food?
It depends on the entry; the name says, for example “White Rice (Cooked)”. Match how you weighed it.
Does it save my food log?
No. The list resets when you leave the page.
How are calories calculated?
4 kcal per gram of carbohydrate and protein, and 9 kcal per gram of fat.
Related tools
BMR Calculator Protein Intake Calculator BMI Calculator All health calculators