How the Calculator Works

Every packaged food you have ever bought carries a label that began as arithmetic: take each ingredient, look up what it contains, scale by weight, add it all up, divide by servings. This calculator does exactly that arithmetic for your own recipes. It is one of the 633 free tools on FreeSoftis, and like all of them it runs entirely in your browser.

The built-in database holds 66 staple ingredients — flours, sugars, dairy, eggs, meats, fish, legumes, vegetables, fruits, oils, sauces and extras like salt and cocoa — each with standard values per 100 g from USDA FoodData Central. When you add 250 g of plain flour, the calculator takes the per-100 g values for flour (364 kcal, 10.3 g protein, 76.3 g carbohydrate, 1 g fat) and multiplies them by 2.5. Add the butter, the sugar and the eggs the same way, and the running totals become the nutrition of the whole recipe.

The one rule to remember: enter ingredients at their raw or dry weight — the weight on the packet or the scale before cooking. Rice and pasta absorb water as they cook and meat loses it, so cooked weights would quietly distort every number on the label.

Nothing about the method is hidden. Each ingredient row shows its own calorie contribution, the whole-recipe totals sit in a table under the label, and the per-serving label is simply those totals divided by your servings count. If a number surprises you, you can trace it back to the ingredient that produced it.

Reading the Nutrition Facts Label

The label follows the standard Nutrition Facts format. At the top: how many servings the recipe makes, and the serving size expressed as a fraction of the recipe and its weight in grams. Then calories per serving in the large type the format is known for.

Below that, each nutrient is shown with its amount and its % Daily Value — the share of a standard day's allowance in one serving, based on a 2,000-calorie reference diet (78 g fat, 20 g saturated fat, 2,300 mg sodium, 275 g carbohydrate, 28 g fibre, 50 g protein). A %DV of 5% or less is low; 20% or more is high. Two structural points worth knowing: saturated fat is part of total fat, not on top of it, and fibre and sugars are part of total carbohydrate. The indented lines are breakdowns, not extras.

The label deliberately covers the core panel only — calories, fats, sodium, carbohydrate, fibre, sugars and protein. It does not invent vitamin or mineral figures: those vary so much with brand, soil, season and freshness that a generic database cannot state them honestly, so this page does not pretend to.

Why Everything Is Calculated per 100 g

Nutrition science standardised on the 100 g reference amount because it makes foods comparable at a glance: you can line up cheddar (403 kcal per 100 g) against chicken breast (120 kcal) and see immediately which is energy-dense, without serving-size games. Your recipe, of course, rarely uses exactly 100 g of anything — so the calculator does the scaling for you, ingredient by ingredient. A selection of the built-in values:

Example values from the built-in database (USDA FoodData Central, per 100 g)
Ingredient (per 100 g)CaloriesProteinCarbsFat
Plain flour (all-purpose)364 kcal10.3 g76.3 g1 g
Granulated sugar387 kcal0 g100 g0 g
Butter (salted)717 kcal0.9 g0.1 g81.1 g
Egg (whole, raw)143 kcal12.6 g0.7 g9.5 g
Cheddar cheese403 kcal24.9 g0.1 g33.1 g
Chicken breast (raw, skinless)120 kcal22.5 g0 g2.6 g
White rice (dry)365 kcal7.1 g80 g0.7 g
Pasta (dry spaghetti)371 kcal13 g74.7 g1.5 g
Rolled oats (dry)389 kcal16.9 g66.3 g6.9 g
Olive oil884 kcal0 g0 g100 g
Banana (raw)89 kcal1.1 g22.8 g0.3 g
Lentils (dry)352 kcal24.6 g63.4 g1.1 g

Read the table the way recipe developers do: the fat column explains most calorie surprises. Olive oil is pure fat at 884 kcal per 100 g, which is why two generous tablespoons can add more energy to a dish than the chicken in it — and why the calculator asks for grams rather than spoonfuls wherever you can manage it.

Servings: The Number That Changes Everything

The whole-recipe totals are fixed by your ingredients. Everything on the per-serving label, though, depends on one judgement call: how many servings the recipe makes. A tray bake totalling 2,400 kcal is 300 kcal a slice at 8 servings and 200 kcal at 12 — same cake, different honesty about portion size.

This is where home labels most often flatter themselves, so be realistic: count the portions you actually cut, not the portions the recipe book claims. The calculator makes experimenting painless — change the servings number and the label rebuilds instantly, which is handy for meal planning ('what does this stew look like at six portions instead of four?') and for comparing two versions of a recipe side by side.

How Accurate Are These Numbers?

Honest answer: good estimates, not measurements. Three sources of variation are built into the method. First, the ingredients themselves vary — one farm's chicken, one mill's flour and one brand's cheddar differ from the standard reference entry, sometimes by 10% or more. Second, cooking moves water around: meat loses it, grains gain it, sauces reduce — changing the weight a serving represents even when the nutrients barely move. Third, home measuring is approximate: a heaped tablespoon of flour can weigh half again as much as a level one, which is why the calculator works in grams.

Put together, a carefully weighed recipe calculated this way typically lands within about 10–20% of a laboratory analysis. That is plenty for the jobs this tool is for — planning meals, comparing recipe versions, understanding what drives a dish's calories, and giving cookbook readers a fair picture. It is not enough for the one job described next.

If you sell food, its label is a legal document. Regulators require values obtained by laboratory analysis or by calculation from verified supplier specifications, presented in a prescribed format with prescribed rounding, allergen declarations and more — and they can test products against their labels. A free calculator using generic reference values, however carefully built, is none of that.

So: use this page freely for your own cooking, your meal prep, your recipe blog drafts and your curiosity. Do not print its output onto packaging, market stalls or menus where a regulated label is required, and do not treat it as medical or dietary advice — it knows nothing about you or your health. For personal nutrition guidance, a doctor or registered dietitian is the right source; for a commercial label, an accredited food laboratory is.

Sources & References

  • USDA FoodData Central — the standard reference values (SR Legacy and Foundation Foods) behind every ingredient in the built-in database — fdc.nal.usda.gov
  • US Food and Drug Administration — How to Understand and Use the Nutrition Facts Label: daily values, %DV interpretation and label format — fda.gov
  • US Food and Drug Administration — Nutrition Facts Label programs and guidance for industry, including calculation-based labelling requirements — fda.gov — Food Labeling & Nutrition
  • Health Canada — Nutrition labelling: Canadian requirements for nutrient content claims and the Nutrition Facts table — canada.ca

This calculator and guide are for home cooking, meal planning and education. Values are estimates from standard reference data — not medical or dietary advice, and not a substitute for the laboratory-tested label required on food sold commercially.