Food Database

Onion Nutrition Facts

PER 100 g serving
Short answer

A 100 g serving of onion contains 40 kcal, 1.1g protein (lime), 0.1g fat (pink) and 9g carbohydrate (blue). It has modest fiber and 4.2g sugar. Its other nutrient values are modest — see the full breakdown below.

Track onion and 7,800 other foods
MacroDrop logs every nutrient on this page from a photo, your voice or a barcode.
Get the app

Core Nutrients per 100 g

The six values MacroDrop shows on every meal card: energy, the three macros, fiber and sugars.

Calories
40 kcal
Protein
1.1 g
Carbs
9 g
Fat
0.1 g
Fiber
1.7 g
Sugars
4.2 g

Extended Nutrients

Grouped as in the app: lipids, minerals, vitamins and other compounds sit one level below the core six. Daily values follow the FDA 2,000 kcal reference.

Lipids
Saturated fat
0.1 g
0% DV
Minerals
Sodium
4.0 mg
0% DV
Potassium
146 mg
3% DV
Calcium
23 mg
2% DV
Magnesium
10 mg
2% DV
Iron
0.2 mg
1% DV
Zinc
0.2 mg
1% DV
Vitamins
Vitamin C
8 mg
8% DV

How Cooking Changes The Numbers

Per 100 g, from each preparation's own USDA data.

Preparation Kcal Protein Fat Carbs Note
Raw401.1 g0.1 g9 gReference entry
With salt421.4 g0.2 g9 gCooked, boiled, drained, with salt
Without salt441.4 g0.2 g10 gCooked, boiled, drained, without salt

Understanding Onion Nutrition

Onion is a low-calorie vegetable that delivers fiber, vitamins and minerals for very few calories. At 40 kcal per 100 g serving, it provides 1.1g of protein, 9g of carbohydrate and 0.1g of fat. Onion is particularly rich in vitamin C, delivering 8mg — 8% of the daily value — in a single serving. It has modest fiber and 4.2g sugar.

For athletes and anyone tracking macros, onion is a straightforward source of carbohydrate energy, useful around training for topping up glycogen. Its fiber and micronutrient content makes it a useful addition to a balanced macro split without pulling calories too high.

Frequently Asked Questions

How many calories are in a 100 g serving of onion?

A 100 g serving of onion has 40 kcal, 1.1g protein, 0.1g fat and 9g carbohydrate.

How much protein is in onion?

1.1g per 100 g serving.

Is onion high in sugar or fiber?

It has modest fiber and 4.2g sugar — 1.7g fiber and 4.2g sugar per 100 g serving.

Which nutrients is onion richest in?

No single micronutrient stands out sharply — see the full breakdown below.

Is onion good for tracking macros?

For athletes and anyone tracking macros, onion is a straightforward source of carbohydrate energy, useful around training for topping up glycogen.

Does cooking onion change its nutrients?

Cooked onion runs about the same in calories per equivalent serving compared to the raw reference — see the cooking table above for specific preparations.

Log the onion in two seconds

MacroDrop tracks all of these nutrients — core and extended — from a photo, your voice or a barcode. Offline USDA database, 7,800 foods.

MacroDrop app — today screen with macros and extended nutrients
Data source

Values come from the USDA FoodData Central entry Onions, raw (FDC ID 170000), per 100 g. Daily values follow the FDA 2,000 kcal reference. Last reviewed August 2026.