How Tola calculates
Where the numbers on these food pages and in the Tola apps come from.
Sources
Every value starts in USDA FoodData Central, the public food database of the U.S. Department of Agriculture: its reference foods (SR Legacy and Foundation Foods), its survey foods as people eat them (FNDDS) and, for a few plain foods no other record covers, one product label each (Branded Foods). The data is in the public domain. We copy no table whose licence forbids it, and nothing is guessed by AI.
Each food page names its source, with a link to the USDA record where there is one.
Dishes: from a recipe
About 3,000 dishes have no USDA record of their own. For each we wrote one batch of a typical home recipe: the raw ingredients in grams, and the weight of the cooked batch. Water cooks off; the oil a fried food takes up stays in. Then:
- the batch's calories are the sum of its ingredients' calories (each one's grams times its USDA value per 100 g);
- per 100 g is the batch's calories, protein, carbs and fat divided by the cooked weight, times 100;
- a portion is its grams times the value per 100 g (1 katori of dal tadka is 150 g).
A part that is drained off, such as the whey when paneer is made, counts as a negative weight. Spices used in traces that have no USDA record (hing, curry leaves) are left out. A dish's page shows the whole working under "How we get this number", and "Make it yours" lets you change the grams to match your cooking.
Raw and cooked
Rice, dal, pasta and other staples have values raw and cooked. The cooked values come from USDA's cooked record, or from the raw one and the cooking yield: 100 g of raw basmati rice gives about 280 g cooked, the same calories in more weight.
Rounding
- Calories, protein, carbs and fat are whole numbers; less than half a gram is 0 g.
- Grams and ml are whole from 10 up, with one decimal below 10.
- Counts have at most two decimals: 0.5 plate, 1.5 cups.
- A half rounds up: 127.5 is 128.
- Each amount is worked out from its own grams, so 2 katoris can differ by 1 from twice 1 katori.
Other nutrients (fibre, sugar, saturated fat, sodium, calcium, iron, potassium, vitamins D and B12) show one decimal below 10.
Estimates
15 foods have no public data at all: ivy gourd, pointed gourd, round gourd, fenugreek leaves, curry leaves, amla, baby corn, ragi flour, ragi flakes, water chestnut flour, charoli, ajwain, hing, century egg and makgeolli. Their values are our estimates, and their pages say so. A dish that uses one of them for 2% of the batch or more marks that ingredient estimate. Where a recipe's cooked weight came out below what its dry ingredients weigh, we use their weight, and the page marks the numbers as an estimate.
Your plate is not ours
The values are those of a typical recipe and a typical portion, not lab values of your food. Your cooking, your oil and your katori differ. If a number looks wrong, write to hello@tolafood.com.