ONIONS, RAW  USDA NUTRITIONAL DATA

Onions, raw contains 40 calories per 100 g serving. This serving includes 1.1 g of protein, 0.1 g of fat, and 9.3 g of carbohydrates. Of these carbs 1.7 g is fiber. The net carbs of a food are the number of carbohydrates less the number of carbs that come from fiber. So for this serving that net carbs value is 7.6 g. A 100 g serving of Onions, raw includes 0.0 mcg vitamin A, 7.4 mg vitamin C, 10.0 mg of magnesium, 0.2 mg of iron, and 23.0 mg of calcium. Onions, raw is a part of the Vegetables and Vegetable Products food category.

Daily value (DV) refers to how much of a nutrient an average adult should consume, assuming a 2,000 calorie daily diet.
All nutrition data is for a 100 gm serving, as per the USDA
Basics
Nutrient
Amount
DV %
Calories
40
 
Total Fat
0.1 gm
0.1 %
Sodium
4.0 mg
0.2 %
Total Carbohydrates
9.3 gm
3.4 %
Protein
1.1 gm
2.2 %
Cholesterol
0.0 gm
0.0 %
Vitamins
Nutrient
Amount
DV %
Vitamin A, RAE
0.0 mcg
0.0 %
Thiamin   [Vitamin B1]
0.0 mg
3.8 %
Riboflavin   [Vitamin B2]
0.0 mg
2.1 %
Niacin   [Vitamin B3]
0.1 mg
0.7 %
Pantothenic Acid   [Vitamin B5]
0.1 mg
2.5 %
Vitamin B6
0.1 mg
7.1 %
Folate   [Vitamin B9]
19.0 mcg
4.8 %
Vitamin B12
0.0 mcg
0.0 %
Vitamin C
7.4 gm
8.2 %
Vitamin D
0.0 mcg
0.0 %
Vitamin E
0.0 gm
0.1 %
Vitamin K
0.4 mg
0.3 %
Choline
6.1 mg
1.1 %
Minerals
Nutrient
Amount
DV %
Calcium   [Ca]
23.0 mg
1.8 %
Copper   [Cu]
0.0 mcg
4.3 %
Iron   [Fe]
0.2 mg
1.2 %
Magnesium   [Mg]
10.0 mg
2.4 %
Phosphorus   [P]
29.0 mg
2.3 %
Potassium   [K]
146.0 mg
3.1 %
Selenium    [Se]
0.5 mcg
0.9 %
Sodium   [Na]
4.0 mg
0.2 %
Zinc   [Zn]
0.2 mg
1.5 %
Carbohydrates
Nutrient
Amount
DV %
Carbohydrates
9.3 gm
3.4 %
Fiber
1.7 gm
6.1 %
Sugars
4.2 gm
 
Net Carbs
7.6 gm
 
Fats and Fatty Acids
Nutrient
Amount
DV %
Fat
0.1 gm
0.1 %
Saturated Fatty Acids
0.0 gm
0.2 %
Monounsaturated Fatty Acids
0.0 gm
 
Polyunsaturated Fatty Acids
0.0 gm