Onion vs. Yam — In-Depth Nutrition Comparison
Compare
The main differences between onions and yam
- Onions contain less potassium, copper, manganese, fiber, vitamin B6, and vitamin C than yam.
- Daily need coverage for potassium for yam is 15% higher.
- Yam has 9 times less sugar than onions. Onions have 4.24g of sugar, while yam has 0.49g.
- Yam has a higher glycemic index than onions.
Food types used in this article are Onions, raw and Yam, cooked, boiled, drained, or baked, without salt.
Infographic

Infographic link
Mineral Comparison
Mineral comparison score is based on the number of minerals by which one or the other food is richer. The "coverage" charts below show how much of the daily needs can be covered by 300 grams of the food.
Contains more CalciumCalcium | +64.3% |
Contains less SodiumSodium | -50% |
Contains more MagnesiumMagnesium | +80% |
Contains more PotassiumPotassium | +358.9% |
Contains more IronIron | +147.6% |
Contains more CopperCopper | +289.7% |
Contains more ZincZinc | +17.6% |
Contains more PhosphorusPhosphorus | +69% |
Contains more ManganeseManganese | +187.6% |
Contains more SeleniumSelenium | +40% |
Vitamin Comparison
Vitamin comparison score is based on the number of vitamins by which one or the other food is richer. The "coverage" charts below show how much of the daily needs can be covered by 300 grams of the food.
Contains more FolateFolate | +18.8% |
Contains more Vitamin CVitamin C | +63.5% |
Contains more Vitamin AVitamin A | +∞% |
Contains more Vitamin EVitamin E | +1600% |
Contains more Vitamin B1Vitamin B1 | +106.5% |
Contains more Vitamin B3Vitamin B3 | +375.9% |
Contains more Vitamin B5Vitamin B5 | +152.8% |
Contains more Vitamin B6Vitamin B6 | +90% |
Contains more Vitamin KVitamin K | +475% |
Contains more CholineCholine | +165.6% |
All nutrients comparison - raw data values
Nutrient | ![]() |
![]() |
DV% diff. |
Potassium | 146mg | 670mg | 15% |
Copper | 0.039mg | 0.152mg | 13% |
Manganese | 0.129mg | 0.371mg | 11% |
Fiber | 1.7g | 3.9g | 9% |
Vitamin B6 | 0.12mg | 0.228mg | 8% |
Carbs | 9.34g | 27.48g | 6% |
Vitamin C | 7.4mg | 12.1mg | 5% |
Calories | 40kcal | 116kcal | 4% |
Vitamin B5 | 0.123mg | 0.311mg | 4% |
Vitamin B1 | 0.046mg | 0.095mg | 4% |
Iron | 0.21mg | 0.52mg | 4% |
Phosphorus | 29mg | 49mg | 3% |
Vitamin B3 | 0.116mg | 0.552mg | 3% |
Fructose | 1.29g | 2% | |
Magnesium | 10mg | 18mg | 2% |
Choline | 6.1mg | 16.2mg | 2% |
Vitamin K | 0.4µg | 2.3µg | 2% |
Vitamin E | 0.02mg | 0.34mg | 2% |
Vitamin A | 0µg | 6µg | 1% |
Protein | 1.1g | 1.49g | 1% |
Calcium | 23mg | 14mg | 1% |
Folate | 19µg | 16µg | 1% |
Fats | 0.1g | 0.14g | 0% |
Net carbs | 7.64g | 23.58g | N/A |
Sugar | 4.24g | 0.49g | N/A |
Zinc | 0.17mg | 0.2mg | 0% |
Sodium | 4mg | 8mg | 0% |
Selenium | 0.5µg | 0.7µg | 0% |
Vitamin B2 | 0.027mg | 0.028mg | 0% |
Saturated fat | 0.042g | 0.029g | 0% |
Monounsaturated fat | 0.013g | 0.005g | 0% |
Polyunsaturated fat | 0.017g | 0.06g | 0% |
Tryptophan | 0.014mg | 0.012mg | 0% |
Threonine | 0.021mg | 0.052mg | 0% |
Isoleucine | 0.014mg | 0.05mg | 0% |
Leucine | 0.025mg | 0.094mg | 0% |
Lysine | 0.039mg | 0.058mg | 0% |
Methionine | 0.002mg | 0.02mg | 0% |
Phenylalanine | 0.025mg | 0.069mg | 0% |
Valine | 0.021mg | 0.06mg | 0% |
Histidine | 0.014mg | 0.033mg | 0% |
Macronutrient Comparison
Macronutrient breakdown side-by-side comparison
Contains more WaterWater | +27.1% |
Contains more ProteinProtein | +35.5% |
Contains more FatsFats | +40% |
Contains more CarbsCarbs | +194.2% |
Contains more OtherOther | +117.1% |
Fat Type Comparison
Fat type breakdown side-by-side comparison
Contains more Mono. FatMonounsaturated fat | +160% |
Contains less Sat. FatSaturated fat | -31% |
Contains more Poly. FatPolyunsaturated fat | +252.9% |