How to count carbs in a meal
You count carbs in three steps. Find the net carbs per 100 g of the food. Find the weight of your portion. Multiply the two numbers and divide by 100.
This page gives no advice on insulin doses. Agree your treatment with your diabetes team.
The formula
Net carbs of a portion = net carbs per 100 g × weight in grams ÷ 100.
Example: White rice (cooked) has 27.8 g of net carbs per 100 g. A portion of 150 g has 27.8 × 150 ÷ 100 = 41.7 g of net carbs.
For a meal, do this for each food and add the results. The carb counting calculator adds them for you.
Where to find the carbs per 100 g
- The nutrition label of the pack. Labels in the EU and in the USA show carbs in different ways: see Net carbs on food labels.
- A food table. The carb and glycemic index table has 400 foods with USDA values, as you eat them: rice and pasta are cooked.
- An app. Soba estimates the foods and their weights from a photo, and you can correct each weight.
Where to find the weight
A kitchen scale gives the most exact number. Weigh the food as you eat it: cooked rice, a peeled banana.
Without a scale, use household measures. The food pages give the weight of typical portions from USDA data. For example, banana, 1 medium (118 g): 23.9 g of net carbs.
From grams to units
Some diabetes teams count in units. One unit is 10, 12 or 15 g of carbs, and the size depends on the country. Units = net carbs ÷ unit size. The 41.7 g of the rice example are 4.2 units of 10 g, 3.5 units of 12 g or 2.8 carb exchanges of 15 g. See Carb exchanges and bread units.
Usual sources of error
- Dry and cooked weight. A pack of rice or pasta gives the carbs of the dry product. Cooked food holds water, so 100 g has fewer carbs. Use the value that agrees with how you weigh the food.
- Total carbs and net carbs. A US label and the USDA database include fiber in the carbs. Subtract the fiber to get net carbs.
- Large portions. In our test on 400 meal photos, the estimates for meals with 60 g of carbs or more were too low in 38 of 42 cases. Weigh large portions of rice, pasta and potatoes.
- Sauces, drinks and breading. They also have carbs.
Sources
- American Diabetes Association: Carb Counting and Diabetes
- Diabetes UK: Nuts and bolts of carb counting
- USDA FoodData Central, SR Legacy (April 2018)
Updated on 14 November 2026.
More guides
Count a full plate
Soba estimates the same values from a photo of your plate: net carbs, carb units, GI and glycemic load.