Sri Lankan Food Calorie Counter
Build a real Sri Lankan meal — rice & curry, kottu, string hoppers, pol sambol — and see the total calories with a protein, carbohydrate and fat breakdown. Numbers come from the MRI Food Composition Tables, so they match how food is cooked and served here. Free, no signup.
How it works
This counter is deterministic arithmetic on trusted data: it never estimates. Each food carries a standard serving size and, for that serving, the energy in kilocalories and grams of protein, carbohydrate and fat — taken from the MRI Sri Lanka Food Composition Tables, 2021 edition and cross-checked against the official Sri Lankan Food Composition Database (foodcompositiondb.lk). Ready-to-eat portion sizes (one string hopper, one plate of kottu) follow the CoTaSS-3 Sri Lankan food database.
- Per-item energy= the serving's kcal × the number of servings you pick. Half-servings are allowed.
- Total energy= the sum of every row's per-item energy across all four meals.
- Macro grams — protein, carbohydrate and fat are each summed independently across every row, the same way as energy.
- Macro energy share uses the FAO/WHO Atwater general factors:
protein 4, carbohydrate 4, fat 9 kcal/g. Each macro's percentage is its Atwater kcal divided by the sum of the three. Because published database totals also include fibre and rounding, this Atwater re-sum can differ from the shown total by a few percent — so the total you see is always the database value, never the re-sum. - Share of daily target = total energy ÷ your daily target (default 2,000 kcal, the MRI reference figure; adjustable from 800 to 5,000).
The only variables are which items you pick and how many servings — every per-item value traces back to a cited source. Version 1 covers roughly 90 of the most-searched Sri Lankan staples and dishes rather than all 324 MRI commodities; coverage grows over time. It counts calories plus protein, carbohydrate and fat, and does not yet include micronutrients such as sodium or fibre.
Worked examples
Frequently asked questions
Sources & references
- MRI Sri Lanka Food Composition Tables, 2021 edition — Department of Nutrition, Medical Research Institute
- Sri Lankan Food Composition Database — official searchable web database
- CoTaSS-3 — Sri Lankan ready-to-eat Food Composition Database (portion sizes)
- FAO/WHO — Atwater general energy factors (protein 4, carb 4, fat 9 kcal/g)
Per-serving values were last cross-checked against the MRI Food Composition Tables and foodcompositiondb.lk on 2026-07-01. Figures are representative home and standard portions and are for general information, not medical or dietary advice. If a value looks off for a dish you know well, email me and I'll review the source entry.
Related tools
Comments & feedback
Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.
Know a dish we're missing, or spotted a value that looks off?
Email me at [email protected] — I add new foods and fixes regularly.