Why food databases store nutrition per 100 grams instead of by serving size
People estimate a 'serving' inconsistently, so the same portion of rice can vary by dozens of grams and tens of calories. Nutrition labels use standardized serving sizes meant for packaging rather than real plates. A food database built for a nutrition app therefore stores each item's calories and macronutrients per 100 grams, which allows exact linear scaling to any quantity. The approach also handles raw versus cooked foods separately and treats liquids with density notes, while branded labels override generic entries. The founder says this normalization lets meal plans be expressed as precise gram-based shopping lists.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in