Carbs in Onion

Keto-friendly

Onion (per 100 g) contains 9.4g total carbs, 7.7g net carbs, 0.1g fat, 1.1g protein, and 40 calories.

Last updated June 10, 2026 · Reviewed by Jordan Lee, RD, Registered Dietitian

Onion
7.7g
Net carbs
9.4g
Total carbs
1.7g
Fiber
1.1g
Protein
0.1g
Fat
40
Calories

Values per 100 g.

Carbs by serving size

ServingNet carbsTotal carbsCalories
1 medium onion8.5g10.3g44
100 g (3.5 oz)7.7g9.4g40
1 oz (28 g)2.2g2.6g11

Nutrition facts

NutrientAmount (per 100 g)
Calories40
Total carbs9.4g
Net carbs7.7g
Fiber1.7g
Sugar4.4g
Sugar alcohols0g
Protein1.1g
Fat0.1g
Sodium4mg
Potassium0mg

Source: Open Food Facts (USDAHouston Food Bank). Net carbs = total carbs − fiber − sugar alcohols, computed by CarbMeNot.

Log onion in one tap

Snap a photo and CarbMeNot's AI logs the carbs, protein, and fat automatically.

Download on the App Store

Frequently asked questions

How many carbs are in onion?
Onion has 9.4g of total carbs and 7.7g of net carbs per 100 grams.
How many net carbs are in onion?
Onion has 7.7g of net carbs per 100 grams (total carbs 9.4g minus 1.7g fiber).
Is onion keto-friendly?
Yes — with 7.7g net carbs per 100g, onion fits a ketogenic diet in normal portions.
How many calories are in onion?
Onion has 40 calories per 100 grams.
How many carbs are in 1 medium onion of onion?
1 medium onion of onion (110g) has about 8.5g net carbs, 10.3g total carbs, and 44 calories.

Similar foods