Skip to main content
Solve Macros

Raw versus cooked weight in a photo estimate

A food changes weight when it cooks, so an entry must match the state on the plate. See the USDA retention formula and what a mismatch does to the calories.

Work out your own numbers here, then read where every number comes from.

  • Free, no sign up
  • 3 photos a day
  • Photos never stored
Frame your plate from above
Photo to macrosFree
Take photo

No plate handy? Use a sample

Film strip · this visit · kept on this device only

Raw versus cooked weight in a photo estimate title card

An entry and a weight must describe the food in the same state. If you weigh cooked rice, you need the cooked rice entry. Mix them up and the calories move by the ratio of the two weights, often by a quarter or more.

This is one of the most common quiet errors in food tracking, and a photo estimate is not immune to it.

Why the state matters

Cooking changes what a gram of food contains. Roasting chicken drives water out, so a gram of cooked chicken holds more of everything else than a gram of raw chicken. Boiling rice takes water in, so a gram of cooked rice holds less. The nutrients per 100 g of the cooked food are therefore different from the nutrients per 100 g of the raw food, even though no calories appeared or vanished.

USDA FoodData Central lists both forms for many foods, with the state in the name. The sample plate shows the pattern. White rice, long grain, regular, enriched, cooked is 130 kcal per 100 g. Chicken breast, meat only, cooked, roasted is 165 kcal per 100 g. Broccoli, cooked, boiled, drained, without salt is 35 kcal per 100 g. Avocado is entered raw, because that is how it sits on the plate.

What the photo tells us about state

A photo shows food as it is on the plate, so for most meals the right entry is the cooked one. Fruit that you eat as it comes, such as the avocado, is entered raw. The match line in the edit panel spells out the state in the USDA name, so you can check which one the tool chose.

The risk comes from the weights you know. People usually weigh meat raw at the shop or before cooking, and weigh rice dry from the packet. If you type a raw weight onto a cooked entry, the numbers are wrong in a predictable way.

The retention formula

USDA publishes a table of nutrient retention factors that describes cooking in terms of weights taken before and after. The table states the true retention method this way:

%TR = (Nc times Gc) divided by (Nr times Gr), times 100

where Nc is the nutrient content per gram of cooked food, Gc is the grams of cooked food, Nr is the nutrient content per gram of raw food and Gr is the grams of food before cooking. In plain words, the nutrient in the cooked food as a share of the nutrient in the raw food you started with.

The table's introduction gives a worked case. Raw spinach has 28 mg of ascorbic acid per 100 g. The retention factor for boiled greens is 85 percent. So 100 g of boiled spinach is estimated at 28 times 0.85 = 23.8 mg of ascorbic acid. The same logic applies to every nutrient, and the table notes that nutrient data are often missing for cooked foods, which is why such factors are used to calculate them from the raw food.

For the macros in a photo estimate we do not compute retention ourselves. We use the USDA entries for cooked foods directly. The formula is still useful, because it shows what a state change does.

What a mismatch does to the calories

Take the simplest case. Suppose a food loses a quarter of its weight in cooking and keeps all its energy. Then 100 g raw becomes 75 g cooked, and the same energy sits in a smaller weight.

This is an illustration with a round figure, not a USDA value for any food. It follows from the formula above with full retention: the cooked food holds the raw food's nutrient in less weight, so its content per gram is the raw content divided by 0.75, or about a third higher.

Now put it on a plate of 140 g of cooked chicken breast at 165 kcal per 100 g. The correct row is 165 times 1.4 = 231 kcal.

Weight in the wrong state, entry cooked

Suppose you weighed the chicken raw and got 187 g, because 140 divided by 0.75 is about 187. You type 187 g onto the cooked entry. The row reads 165 times 1.87 = 308.55, about 309 kcal. That is 78 kcal too high, about a third over.

Weight cooked, entry raw

Suppose you pick a raw entry and type the cooked 140 g. In this illustration the raw entry would carry 165 times 0.75 = 123.75 kcal per 100 g, since the same energy is spread over more weight. The row reads 123.75 times 1.4 = 173 kcal. That is 58 kcal too low, a quarter under.

The two errors point in opposite directions and sit at about a third high and a quarter low. A real food will shed more or less than a quarter of its mass, and so the true size of the error depends on the food. Meat and vegetables get lighter with many cooking methods. Rice and pasta get heavier. The direction flips by food, which is why you cannot memorize one rule.

How to avoid the mismatch

Match the entry to the weight you have.

  1. If you are typing a weight you took from the plate, pick the cooked entry.
  2. If you are typing a weight from the packet or the shop, pick the raw entry.
  3. If you are not sure, read the match line. The USDA name says cooked or raw.
  4. If the camera chose a raw entry for something that is clearly cooked, search again and pick the cooked one.

Do not count on the tool to convert between states. It treats the number you type as the weight of the entry you chose.

Why this belongs in a photo tool

A photo cannot tell raw from cooked weight, and it cannot tell you how much water a food took in or lost. It sees a cooked plate. So the camera's guesses are in the cooked state, and the entries it picks should be too. The problem arises when you correct a weight with a number from a different moment in the kitchen.

This is a small point that rewards care. Check the state in the match line whenever you type a weight, and the numbers will line up.

The database in context

USDA FoodData Central holds several data types. The SR Legacy type, whose final release was April 2018, supplies many of the cooked and raw pairs. The values are averages, not measurements of your food. A rice cooked a little longer holds more water than the database row, and a chicken breast roasted hard holds less. Treat the state label as the best available description, and the estimate as a close reading rather than a weighed result.

Questions people ask

Which weight does the photo estimate use?

The weight of the food as it appears on the plate. A photo shows cooked food, so the tool prefers entries in the cooked state where one exists.

Why does cooked food weigh a different amount than raw?

Cooking drives water out of many foods and can also take it in, as with rice and pasta. The USDA retention table is built from weights taken before and after cooking.

What if I only know the raw weight?

Pick the raw entry for that food and type the raw weight, so the weight and the entry are in the same state.

Sources

  1. USDA Agricultural Research Service, Nutrient Data Laboratory. USDA Table of Nutrient Retention Factors, Release 6 Accessed October 31, 2026.
  2. USDA Agricultural Research Service. USDA FoodData Central Accessed October 31, 2026.
  3. USDA Agricultural Research Service. FoodData Central data type documentation Accessed October 31, 2026.