Unit conversions
USDA FoodData Central gives the nutrients in 100 grams of each food. To calculate a recipe, every amount is first converted to grams, whether the recipe says "2 cups", "8 oz" or "1 onion". This page lists the conversions used.
How a recipe's nutrients are calculated
- Each amount is converted to grams: grams = amount × grams per unit.
- Each nutrient is scaled from the USDA value per 100 g: nutrient = value per 100 g × grams ÷ 100.
- The ingredients are added together, and the total is divided by the number of portions.
For example, 2 tablespoons of a flour whose USDA record says 1 cup weighs 125 g: 1 cup is 237 ml and 1 tablespoon is 14.8 ml, so 1 tablespoon weighs 125 × 14.8 ÷ 237 = 7.81 g, and 2 tablespoons weigh 15.6 g.
When you import a recipe, each ingredient keeps the recipe's own unit and shows the conversion it used, so you can check it.
Weights
Weights convert the same way for every food.
| Unit | Grams | Also |
|---|---|---|
| 1 ounce (oz) | 28.3 g | 1/16 lb |
| 1 pound (lb) | 454 g | 16 oz |
| 1 milligram (mg) | 0.001 g | |
| 1 gram (g) | 1 g | |
| 1 kilogram (kg) | 1,000 g |
Volumes
Cups, spoons and fluid ounces are US measures. What a volume weighs depends on the food: a cup of flour is much lighter than a cup of honey; see From volume to weight below.
| Unit | Milliliters | Also |
|---|---|---|
| 1 teaspoon (tsp) | 4.93 ml | 1/3 tbsp |
| 1 tablespoon (tbsp) | 14.8 ml | 3 tsp |
| 1 fluid ounce (fl oz) | 29.6 ml | 2 tbsp |
| 1 cup | 237 ml | 16 tbsp, 8 fl oz |
| 1 pint | 473 ml | 2 cups |
| 1 quart | 946 ml | 4 cups |
| 1 milliliter (ml) | 1 ml | |
| 1 centiliter (cl) | 10 ml | |
| 1 deciliter (dl) | 100 ml | |
| 1 liter (l) | 1,000 ml |
From volume to weight
Most USDA foods list what a portion weighs, such as "1 cup = 125 g". NutraPlot uses those weights first, scaled to the recipe's unit as in the example above. When a food lists no volume portion, it uses a typical density for that kind of food and marks the ingredient as estimated:
| Food | g per ml | 1 tbsp | 1 cup |
|---|---|---|---|
| Oils | 0.92 | 13.6 g | 218 g |
| Butter | 0.96 | 14.2 g | 227 g |
| Honey and syrups | 1.4 | 20.7 g | 331 g |
| Granulated sugar | 0.85 | 12.6 g | 201 g |
| Salt | 1.2 | 17.7 g | 284 g |
| Uncooked rice | 0.85 | 12.6 g | 201 g |
| Flour | 0.53 | 7.84 g | 125 g |
| Mirin | 1.2 | 17.7 g | 284 g |
| Desiccated coconut | 0.35 | 5.18 g | 82.8 g |
| Sweet soy sauce (kecap manis) | 1.3 | 19.2 g | 308 g |
| Soy sauce | 1.2 | 17.7 g | 284 g |
| Water, milk, juice, vinegar, wine, broth and stock | 1 | 14.8 g | 237 g |
If neither is available, you're asked to enter the amount in grams or ounces. When the recipe also gives a weight, as in "4 tablespoons (57 g) butter", that weight is used instead. Some foods list a cup for each way of preparing them, so "1 cup chopped walnuts" uses USDA's chopped cup (117 g), not its ground one (80 g).
Counts and pieces
Amounts like "2 onions" or "3 cloves garlic" use the weight that USDA gives for one piece of that food, preferring a medium size unless the recipe names one, such as "1 large egg". When USDA gives only another size, that one is used: "2 egg yolks" count as 2 large yolks. A package of yeast counts as USDA's 7 g packet, even when the recipe also gives teaspoons. Where USDA weighs another kind or none, a typical weight is used: a chicken breast 200 g, a fresh chilli 8 g, a Japanese eggplant 150 g, a Persian cucumber 120 g, a lasagna noodle 20 g, a cashew 1.5 g, a whole clove 0.1 g, a cardamom pod 0.15 g, a shallot 30 g, a British sausage 57 g, a chipolata 28 g, an anchovy fillet 4 g, a block of tofu 400 g. "2 garlic" with no unit counts as 2 cloves. A weight the recipe gives always wins. These weights vary more than measured amounts, so check them against your own ingredients.
Pinches and frying oil
A pinch, such as "a pinch of salt", counts as 0.5 g. Oil "for frying" without an amount counts as 15 g, about what the food takes up rather than all the oil in the pan, and so does oil for deep-frying, whatever the recipe pours in. Change either amount if your recipe uses more. A dash, or salt "to taste", is not guessed. Coarse salt is lighter by the spoon than table salt: a teaspoon of kosher salt counts as 4.8 g, and of Diamond Crystal or flaky salt 2.8 g, against 6 g. An imported line with no amount at all, such as "salt and pepper", is left out, and you can add it back with your own amount.
Drained cans and water
A can's weight includes its liquid. When the recipe says to drain it, 60% of the weight counts: a 425 g can of chickpeas leaves about 255 g. A "lightly drained" can keeps more of its liquid and counts 80%. Plain water, such as "125 ml pasta cooking water", adds no nutrients, so an import leaves it out.
Accuracy
The results are estimates. Spooned and packed cups weigh differently, products vary, and USDA records describe particular samples. For the most accurate totals, weigh your ingredients and enter grams. See About for where the food data comes from.