Nutrition
Recipe Carb Counter
Add up the carbohydrate in each ingredient and divide by the servings. A cup of all-purpose flour has about 95 grams of carbohydrate, a cup of sugar 200 and a cup of uncooked white rice 148, by USDA figures. The calculator also totals fiber, which is part of the carbohydrate figure.
Carbohydrate per serving
Paste your ingredient list to see the result.
Show the math
Carbohydrate in common ingredients
| Ingredient | Weight of 1 cup | Carbohydrate per cup | Fiber per cup | Carbohydrate per 100 g |
|---|---|---|---|---|
| All-purpose flour | 125 g | 95.4 g | 3.38 g | 76.3 g |
| Whole wheat flour | 120 g | 86.4 g | 12.8 g | 72 g |
| Bread flour | 137 g | 99.3 g | 3.29 g | 72.5 g |
| Cornstarch | 128 g | 117 g | 1.15 g | 91.3 g |
| Rolled oats | 81 g | 54.8 g | 8.18 g | 67.7 g |
| White rice, uncooked | 185 g | 148 g | 2.41 g | 80 g |
| Brown rice, uncooked | 185 g | 141 g | 6.66 g | 76.2 g |
| Pasta, dry | 95 g | 71 g | 3.04 g | 74.7 g |
| Granulated sugar | 200 g | 200 g | 0 g | 100 g |
| Honey | 339 g | 279 g | 0.68 g | 82.4 g |
| Potato | 150 g | 26.3 g | 3.15 g | 17.5 g |
| Sweet potato | 133 g | 26.7 g | 3.99 g | 20.1 g |
| Sweet corn | 145 g | 27.1 g | 2.9 g | 18.7 g |
| Black beans, canned | 240 g | 39.8 g | 16.6 g | 16.6 g |
| Lentils, dry | 192 g | 122 g | 20.5 g | 63.4 g |
| Milk, whole | 244 g | 11.7 g | 0 g | 4.8 g |
How the calculator works
Each line of your recipe is matched to a food in USDA FoodData Central and converted to grams. The calculator then applies the USDA carbohydrate figure:
carbohydrate in a line = grams / 100 x carbohydrate per 100 g
carbohydrate per serving = total / servings
It does the same for fiber and for total sugars, and shows them under the main result. Open “Show the math” to see the grams of carbohydrate from each ingredient.
Volumes are converted with the USDA weight of a cup of that food. That matters here more than for most nutrients, because the starchy ingredients are the ones people measure by the cup, and a cup of flour (125 g) is nothing like a cup of rice (185 g) or a cup of sugar (200 g).
Worked example
A butter cake: 2 cups flour, 1/2 cup butter, 3/4 cup sugar, 2 eggs, 1 teaspoon baking powder, 1/2 cup milk and 1/4 teaspoon salt. Twelve pieces.
- All-purpose flour, 250 g: 190.8 g of carbohydrate
- Granulated sugar, 150 g: 150 g
- Whole milk, 122 g: 5.9 g
- Baking powder, 4.6 g: 1.3 g
- Eggs, 100 g: 0.7 g
- Butter, 113.5 g: 0.1 g
Total: 348.7 g. Per piece: 348.7 / 12 = 29.1 g, of which 13.1 g is sugars and 0.6 g is fiber.
Flour and sugar are 98 percent of the carbohydrate. Butter and eggs, which carry most of the fat, add almost none. In most baking, counting carbs comes down to counting two ingredients carefully.
What the total is made of
Total carbohydrate is three things added together: starch, sugars and fiber. USDA reports the total, and separately reports sugars and fiber. Whatever is left is mostly starch.
For the cake: 348.7 g total, minus 157 g of sugars, minus 6.8 g of fiber, leaves about 185 g of starch, nearly all of it from the flour.
Some people subtract fiber from the total and call the result net carbs:
net carbs = total carbohydrate - fiber
For a piece of the cake that is 29.1 - 0.6 = 28.5 g. “Net carbs” is not a figure that appears on the FDA’s Nutrition Facts label, which lists total carbohydrate with fiber and sugars beneath it. The calculator gives you total and fiber and leaves the subtraction to you.
Carbohydrate in the staples
Per cup, from the USDA records the calculator uses:
| Ingredient | Weight of 1 cup | Carbohydrate | Fiber |
|---|---|---|---|
| Granulated sugar | 200 g | 200 g | 0 g |
| White rice, uncooked | 185 g | 148 g | 2.4 g |
| Lentils, dry | 192 g | 122 g | 20.5 g |
| All-purpose flour | 125 g | 95 g | 3.4 g |
| Whole wheat flour | 120 g | 86 g | 12.8 g |
| Rolled oats | 81 g | 55 g | 8.2 g |
| Potato, diced | 150 g | 26 g | 3.1 g |
| Whole milk | 244 g | 12 g | 0 g |
Two comparisons are worth a second look.
Whole wheat flour has a little less carbohydrate per cup than white flour, 86 g against 95 g, but nearly four times the fiber: 12.8 g against 3.4 g. Swapping one for the other barely moves the total and changes what it is made of.
Lentils and rice are close in total, and far apart in fiber. A cup of dry lentils has 20.5 g of fiber, most of the FDA’s 28 g Daily Value in one ingredient.
Uncooked and cooked
The grain figures are for uncooked food, because that is how recipes list it. Rice and pasta take in water as they cook, so the same carbohydrate ends up spread through a larger volume. A cup of uncooked white rice, at 148 g of carbohydrate, makes about three cups cooked.
So if a recipe says “3 cups cooked rice”, enter “1 cup rice”. If you enter 3 cups, the calculator will take it as uncooked and the result will be three times too high.
Dry pasta has the same trap. Enter the dry weight from the packet.
Reading the result
The FDA’s Daily Values are 275 g for total carbohydrate and 28 g for dietary fiber. Its general guide is that 5 percent of a Daily Value or less per serving is low and 20 percent or more is high.
For the cake: 29.1 g of carbohydrate is 11 percent of 275 g. Its 0.6 g of fiber is 2 percent of 28 g, which is low.
Why your number may differ
How you fill the cup. The USDA cup of flour is 125 g. A cup scooped straight from the bag can weigh more, and every extra 10 g of flour is 7.6 g of carbohydrate.
Counted vegetables. One potato is taken as 213 g, the USDA medium size, with 37 g of carbohydrate. USDA puts a large potato at 369 g.
Thickeners. A tablespoon of cornstarch is 8 g and almost pure carbohydrate, at 91 g per 100 g.
Coatings. Flour or breadcrumbs used for dredging are only partly eaten. The calculator counts the whole amount you list.
Lines not counted. Anything the calculator could not match adds nothing. Read the “Not counted” list.
Tips and common mistakes
Weigh flour, rice and sugar if you can. They are most of the total.
Enter grains and pasta uncooked.
Count the sauces. Ketchup is 27 g of carbohydrate per 100 g and honey 82 g.
Do not forget the milk in baking and in sauces.
Check the servings. Carbs per serving is the total divided by a number you chose.
Frequently asked questions
How many carbs are in a cup of flour?
About 95 grams in a cup of all-purpose flour, which weighs 125 grams in the USDA record. A cup of whole wheat flour has about 86 grams of carbohydrate, of which 12.8 grams is fiber.
How do I count the carbs in a homemade recipe?
Add up the grams of carbohydrate in every ingredient and divide by the number of servings. Flour, sugar, rice, pasta, potatoes and fruit usually account for nearly all of it.
Is fiber included in total carbohydrate?
Yes. Total carbohydrate includes starch, sugars and fiber. The calculator shows fiber as its own line so you can see how much of the total it makes up.
How many carbs are in a cup of rice?
A cup of uncooked long-grain white rice has about 148 grams of carbohydrate. It cooks up to about three cups, so a cup of cooked rice has roughly a third of that.
What is the Daily Value for carbohydrate?
The FDA's Daily Value for total carbohydrate is 275 grams, and for dietary fiber 28 grams. As a general guide, 5 percent or less per serving is low and 20 percent or more is high.