Grams to Cups

40 Grams to Cups

40 grams converts to a different number of cups depending on the ingredient. See how much 40g of flour, sugar, butter, and more equals in cups below.

40 grams of all-purpose flour ≈

0.33US cups

About ⅓ cup

Based on 1 US cup of all-purpose flour = 120g

Sources: King Arthur Baking — Ingredient Weight Chart · USDA FoodData Central — Wheat flour, white, all-purpose, enriched, bleached (FDC 168894)

Data last verified: July 18, 2026

40g to cups by ingredient

IngredientGrams per cup40g in cupsKitchen fraction
All-purpose flour120g0.33 cups⅓ cup
Granulated sugar198g0.20 cups⅛ cup + 1 tablespoon
Butter227g0.18 cups⅛ cup + 1 tablespoon
Water240g0.17 cups⅛ cup + 1 tablespoon
Milk244g0.16 cups⅛ cup + 1 tablespoon
Bread flour120g0.33 cups⅓ cup
Honey339g0.12 cups⅛ cup
Cocoa powder84g0.48 cups½ cup
Cake flour120g0.33 cups⅓ cup
Maple syrup315g0.13 cups⅛ cup
Long-grain white rice (dry)185g0.22 cups⅛ cup + 1 tablespoon
Cornstarch128g0.31 cups¼ cup + 1 tablespoon
Rolled oats89g0.45 cups⅜ cup + 1 tablespoon
Vegetable oil (soybean)218g0.18 cups⅛ cup + 1 tablespoon
Olive oil216g0.19 cups⅛ cup + 1 tablespoon
Plain whole-milk yogurt245g0.16 cups⅛ cup + 1 tablespoon
Brown sugar (packed)220g0.18 cups⅛ cup + 1 tablespoon
Table salt (fine)288g0.14 cups⅛ cup
Powdered sugar120g0.33 cups⅓ cup
Almond flour96g0.42 cups⅜ cup + 1 tablespoon

Reference data from our ingredient database

This table uses the US cup / 240 ml

If your recipe uses a metric or US customary cup, the result will differ slightly — switch cup sizes and enter any gram amount in the calculator.

Frequently asked questions

How many cups is 40 grams of flour?

40 grams of flour is about 0.33 cups, based on 1 US cup of flour = 120g.

How many cups is 40 grams of sugar?

40 grams of sugar is about 0.20 cups, based on 1 US cup of sugar = 198g.

Why does 40g convert to a different number of cups for each ingredient?

Grams measure weight and cups measure volume, so the result depends on how dense each ingredient is. That's why 40g of flour, sugar, and butter each equal a different number of cups — see the full table above for every ingredient.

Which cup size does this page use?

This table uses the US cup / 240 ml. If your recipe uses a metric or US customary cup, the result will differ slightly — switch cup sizes and enter any gram amount in the calculator.

Can I convert 40g to cups for an ingredient not listed here?

Yes — open the Grams to Cups calculator, enter 40 grams, and choose any ingredient in our database for an exact result.

Need a different amount?

Open the calculator to enter any gram amount, or browse the grams to cups chart and all ingredients.