Home Cup weights dataset (CSV and JSON)
Cup weights dataset (CSV and JSON)
58 ingredients, 108 source values, free to reuse. Download one ingredient group below, or one ingredient from its own page.
Checked on against the sources listed on this page. How we check.
Downloads by group
| Group | Ingredients | Values | Files |
|---|---|---|---|
| Flours | 14 | 25 | CSV · JSON |
| Starches | 1 | 1 | CSV · JSON |
| Sugars | 4 | 7 | CSV · JSON |
| Syrups and honey | 5 | 8 | CSV · JSON |
| Chocolate and cocoa | 2 | 7 | CSV · JSON |
| Butter and fats | 2 | 3 | CSV · JSON |
| Oils | 3 | 4 | CSV · JSON |
| Milk, cream and yogurt | 7 | 10 | CSV · JSON |
| Cheese | 2 | 4 | CSV · JSON |
| Rice, oats and grains | 5 | 9 | CSV · JSON |
| Dry beans and lentils | 1 | 1 | CSV · JSON |
| Nuts and nut butters | 5 | 14 | CSV · JSON |
| Seeds | 1 | 6 | CSV · JSON |
| Dried fruit | 2 | 3 | CSV · JSON |
| Salt | 3 | 5 | CSV · JSON |
| Water and other liquids | 1 | 1 | CSV · JSON |
What is in it
CSV (comma separated, header row, UTF-8) and JSON (array of objects) with the same columns in every file. One row per source value. Most come from USDA FoodData Central (SR Legacy and Foundation Foods). A few come from product labels in FDC or a named published chart; the source column says which. used_grams_per_cup is the value our pages show for that ingredient.
| Column | Example |
|---|---|
ingredient | all-purpose-flour |
name | All-purpose flour |
group | flour |
used_grams_per_cup | 125 |
source_label | All-purpose flour, bleached |
method | USDA cup portion (SR Legacy) |
grams_per_cup | 125 |
source | USDA FDC SR Legacy: Wheat flour, white, all-purpose, enriched, bleached |
fdc_id | 168894 |
source_url | https://fdc.nal.usda.gov/food-details/168894/nutrients |
checked_on | 2026-12-04 |
License
Free to use, share and change under CC BY 4.0. Credit "Spoon & Cup" with a link to this page. The USDA values themselves are public domain (CC0).