The amino acid calculator food tool adds the protein and amino acids in your chosen portions, then compares their proportions with a named FAO reference pattern. You can explore a single food or a combination, including its leucine content. The result is an uncorrected composition comparison, not a measure of absorbed protein or a diagnosis of dietary adequacy.

Explore your food portions

Calculations run in your browser. Your entries are not sent or saved by this tool. A saved comparison lasts only while this page stays open.

JavaScript is needed for the interactive calculator. The worked example and method below remain available without it.

Enable JavaScript to calculate your food profile.

Bowls of rice, lentils, egg and tofu by a scale with Yolko the egg mascot for the amino acid calculator
Everyday protein foods weighed portion by portion, the kind of mix the amino acid calculator compares.

How do you use this amino acid profile calculator?

The food list fixes the preparation state, so you only enter the amount you would like to explore. USDA SR Legacy (April 2018) supplies the food composition. Weigh cooked rice and boiled lentils after cooking, roasted chicken as edible meat, and the raw egg or raw firm tofu as described in their entries. The raw egg entry is a composition reference, not advice to eat uncooked eggs. Do not substitute a dry weight for a cooked entry.

Start with the example, then change a portion or add another food. You can remove a row to compare a single food. Save the current result before editing to see its protein, leucine and uncorrected score alongside the new result. The saved summary includes the original foods and weights, so the comparison stays interpretable. Changing the unit changes how the entered number is interpreted; it does not convert the number already in the box.

Portion limits are interface safeguards, not serving recommendations. An invalid-input example is −10 g of rice: the calculator asks for a nonnegative decimal and removes the result. Blank entries, text, nonfinite values and amounts outside the stated range also block calculation. All-zero portions have no protein and therefore no score. Small positive values remain visible with a less-than sign if display rounding would otherwise make them look like zero.

What arithmetic produces the profile?

USDA’s SR Legacy documentation expresses the nutrient amounts per 100 g of edible food. For each nutrient, multiply the food’s edible grams by its nutrient amount and divide by 100. Add that nutrient across all included foods. The protein denominator comes from the protein row; it is not the sum of the displayed amino acids. The bundled list covers selected amino acids, not every component of protein.

For a group’s composition, multiply its total grams by 1,000 and divide by total protein grams. That gives milligrams per gram of mixture protein. Methionine plus cystine form the sulfur amino-acid group; phenylalanine plus tyrosine form the aromatic group. Each group’s composition is divided by the FAO reference value. The uncorrected amino-acid score is 100 times the smallest of those ratios. Intermediate values are never rounded; display values are rounded for reading.

The FAO Food and Nutrition Paper 92 (2013), Table 5, names the selected column “older child, adolescent, adult.” The paper derives that column from its child reference pattern; this page uses the named column only for adult-facing exploration. It does not offer age-specific planning. The table below gives the exact comparison values in mg/g protein.

Amino-acid groupReference (mg/g protein)
Histidine16
Isoleucine30
Leucine61
Lysine48
Methionine + cystine23
Phenylalanine + tyrosine41
Threonine25
Tryptophan6.6
Valine40
FAO (2013), Table 5, older-child/adolescent/adult column; mg/g protein. Used as a composition reference without digestibility correction.

What does the rice and lentil example show?

The default example combines about 3.53 oz (100 g) each of cooked rice and boiled lentils. USDA SR Legacy (2018), FDC 168878 and 172421, gives protein of 2.69 + 9.02 = 11.71 g, shown as about 12 g. Leucine is 0.222 + 0.654 = 0.876 g. The sulfur group is 0.063 + 0.055 + 0.077 + 0.118 = 0.313 g.

The sulfur-group composition is 1,000 × 0.313 ÷ 11.71 = about 26.73 mg/g protein. Dividing by the FAO reference of 23 mg/g gives a ratio of about 1.162, or an uncorrected score of 116.2%. This is the mixture’s lowest ratio. A score above 100% is shown uncapped; it does not mean that you absorb more protein than you eat, or that this portion meets your personal daily needs.

Doubling both portions doubles the nutrient amounts but leaves their proportions and score unchanged. Adding a different food can change the proportions because the calculation weights every nutrient by the food amount and divides by total protein. Averaging the individual foods’ scores would give a different calculation and is not the method used here.

Where do the data come from, and what is missing?

The calculator bundles selected rows from USDA’s April 2018 SR Legacy CSV release. Food identities come from food.csv; amounts and source row identifiers come from food_nutrient.csv; nutrient names and units come from nutrient.csv. Protein uses nutrient ID 1003, while the amino-acid rows use IDs 1210–1219 and 1221. Each selected nutrient has the unit G in the source, meaning grams per source food weight. There is no live nutrient API request.

The scoring foods are cooked enriched long-grain white rice (FDC 168878), fresh whole raw egg (171287), roasted chicken breast meat only (171477), boiled mature lentils without salt (172421), and raw firm tofu prepared with calcium sulfate (172475). All required amino-acid rows are present for these entries. USDA values describe reference foods; your ingredients, water content and preparation may differ.

Plain nonfat Greek yogurt (FDC 170894) is included to make the completeness limit visible. Its extracted data contain protein but none of the required amino-acid rows. Selecting a positive portion therefore preserves the known protein total while marking amino acids unknown and withholding the mixture score. The tool does not silently drop the yogurt or assume it contains no amino acids. Every required group must be known before any score appears.

What can this composition comparison tell you?

The limiting group is simply the lowest relative to the named FAO pattern. “Limiting” does not mean absent, and a low ratio does not diagnose a deficiency. The calculator cannot determine your whole diet’s adequacy from a selected portion. The complete-proteins explanation discusses food variety and why complementary foods do not need to be combined at the same meal. Treat pairing here as an optional composition exercise.

FAO (2013) distinguishes digestibility-corrected protein scoring from composition alone. PDCAAS means protein digestibility-corrected amino acid score; DIAAS means digestible indispensable amino acid score. Both require information this tool lacks. The result is neither PDCAAS nor DIAAS, absorbed protein, a quality-adjusted protein daily-value percentage, nor a growth or muscle prediction. Leucine is shown only as food content, with no mandatory meal threshold or supplement dosing.

Children and teens should not rely on this adult-facing tool. People with metabolic disorders, kidney disease, pregnancy or medically managed diets should use their care team for planning. If detailed food scoring worsens an eating disorder or food anxiety, skip it and talk with a clinician. For a practical next step, compare familiar foods in the high-protein foods chart, read the plant-protein basics, or use the broader context in protein for muscle gain before changing your eating routine.

Sources

  1. FAO. Dietary protein quality evaluation in human nutrition. Food and Nutrition Paper 92, 2013. Table 5, printed page 29, and discussion of digestibility correction. FAO report.
  2. USDA FoodData Central. SR Legacy, final April 2018 release. FDC IDs 168878, 171287, 171477, 172421, 172475 and 170894. Archive: FoodData_Central_sr_legacy_food_csv_2018-04.zip. Selected food.csv, food_nutrient.csv and nutrient.csv rows bundled locally. SR Legacy CSV downloads.
  3. USDA FoodData Central. Data type documentation. Accessed November 2026.
  4. USDA. National Nutrient Database for Standard Reference, Legacy Release: Documentation and User Guide. April 2018. Nutrient values per edible food weight; missing data are not zero. SR Legacy documentation.

This article is general information, not medical advice. If you have a health condition, are pregnant, or follow a diet set by your doctor, talk to them or a registered dietitian before changing how you eat.