40 Grams to Cups: The Answer Depends on the Ingredient
40 grams to cups is not one universal number. Flour, sugar, butter, oats, water, and rice all fill a cup differently, so this page gives the comparison Google snippets usually skip.
Quick answer
40g equals 1/3 cup all-purpose flour, but 1/4 cup granulated sugar.
If your recipe just says "40 grams to cups," choose the ingredient first. That is the difference between a useful conversion and a dry cake.
40g to Cups by Ingredient
| Ingredient | Spoon & Level | Dip & Sweep | Sifted |
|---|---|---|---|
| 40g all-purpose flour | 1/3 cup | 1/4 cup | 1/3 cup |
| 40g granulated sugar | 1/4 cup | 1/8 cup | 1/4 cup |
| 40g brown sugar (packed) | 1/8 cup | 1/8 cup | 1/4 cup |
| 40g powdered sugar | 1/3 cup | 1/4 cup | 1/3 cup |
| 40g butter | 1/8 cup | 1/8 cup | 1/4 cup |
| 40g peanut butter | 1/8 cup | 1/8 cup | 1/8 cup |
| 40g bread flour | 1/3 cup | 1/4 cup | 1/3 cup |
| 40g cake flour | 1/3 cup | 1/3 cup | 1/2 cup |
| 40g whole wheat flour | 1/3 cup | 1/4 cup | 1/3 cup |
| 40g almond flour | 1/2 cup | 1/3 cup | 1/2 cup |
| 40g cocoa powder | 1/3 cup | 1/3 cup | 1/2 cup |
| 40g rolled oats | 1/2 cup | 1/3 cup | 1/2 cup |
| 40g whole milk | 1/8 cup | 1/8 cup | 1/4 cup |
| 40g heavy cream | 1/8 cup | 1/8 cup | 1/4 cup |
| 40g honey | 1/8 cup | 1/8 cup | 1/8 cup |
| 40g olive oil | 1/8 cup | 1/8 cup | 1/4 cup |
| 40g water | 1/8 cup | 1/8 cup | 1/8 cup |
| 40g cooked white rice | 1/4 cup | 1/4 cup | 1/4 cup |
Popular Nearby Conversions
Frequently Asked Questions
40 grams can be a different number of cups depending on the ingredient. For example, 40g all-purpose flour is 1/3 cup, while 40g granulated sugar is 1/4 cup.
Cups measure volume, while grams measure weight. Flour, sugar, butter, oats, and liquids have different densities, so the same gram weight fills a different cup volume.
Choose the exact ingredient first, then use the ingredient-specific conversion. Spoon & Level is the recommended method for dry baking ingredients.