Methodology
How Platevane selects foods, compares nutrients and calculates portions.
Similar nutrient profiles
Within the same category, we compare common foods using protein, fat, carbohydrate, fiber, sugars, sodium, potassium, iron, calcium and vitamin C. Each dimension is scaled by its 90th percentile among common foods. Cosine similarity is the dot product divided by the product of vector lengths. At least seven shared measurements and nonzero vector lengths are required. The five highest scores are shown.
How foods are selected
We use USDA Foundation Foods and SR Legacy. Each entry has at least eight of eleven core nutrient values. Baby foods, infant formulas and laboratory samples are excluded. Foundation takes precedence when records share a product number or normalized name.
Reading a record
Values refer to 100 g of edible food. Missing measurements are shown as “No data”. Zero is displayed when USDA records zero. Preparation variants retain their own measurements.
Portions and rounding
For a portion, multiply the value per 100 g by the weight in grams and divide by 100. Household measures use the weight recorded for that food. Energy is displayed to the nearest whole unit, other amounts to at most two decimal places. Calculations retain the original precision.
Energy and Daily Values
Energy uses USDA Energy first, then specific or general Atwater factors. The macro chart estimates contributions at 4 kcal per gram of protein or carbohydrate and 9 per gram of fat. Daily Value percentages use compatible FDA reference units.