This page answers “How many cups is 40 grams?” and emphasizes that the result changes with what ingredient you are measuring. About 40 g of water is roughly 0.17 cups, 40 g of sugar is closer to 0.20 cups, and 40 g of all-purpose flour is around 0.29 cups. The interactive 40 grams to cups calculator above lets you choose both the ingredient and the weight so you can match what appears in recipes, nutrition plans, or food logs.
How the 40 grams to cups calculation works
Converting grams (g) to cups means turning a mass into a volume. To do that, you need the ingredient’s density (how many grams fit in 1 mL) and the size of one cup. This page assumes a US measuring cup of 240 mL.
The calculator uses this general formula:
- mL = grams ÷ density (g/mL)
- cups = mL ÷ 240 (for a 240 mL US cup)
For water-like liquids, density is close to 1 g/mL, so 240 mL weighs about 240 g, and 40 g is a little under one-sixth of a cup. Lighter ingredients such as flour and cocoa have lower densities, meaning the same 40-gram mass occupies more cup volume. Denser ingredients like table salt, honey, and packed brown sugar have higher densities and so need fewer cups to reach 40 grams.
The values here are based on typical kitchen densities and assume level, not heaped, cups. Brand, grind, and how you fill the cup (scooping vs. spooning and levelling) can all shift the true numbers slightly, so treat these as practical approximations.
Exact 40 grams to cups values for common ingredients
The table below uses typical densities and a 240 mL US cup. It shows roughly how many cups you need for 20 g and 40 g of each ingredient, plus how many grams are in a full 1 cup.
| Ingredient | Approx. density (g/mL) | 20 g (cups) | 40 g (cups) | 1 cup (g) |
|---|---|---|---|---|
| Water | ≈ 1.00 | ≈ 0.08 | ≈ 0.17 | ≈ 240 g |
| Milk (whole) | ≈ 1.04 | ≈ 0.08 | ≈ 0.16 | ≈ 249.6 g |
| Granulated sugar | ≈ 0.85 | ≈ 0.10 | ≈ 0.20 | ≈ 204 g |
| Brown sugar (packed) | ≈ 0.89 | ≈ 0.09 | ≈ 0.19 | ≈ 213.6 g |
| All-purpose flour | ≈ 0.57 | ≈ 0.15 | ≈ 0.29 | ≈ 136.8 g |
| Cocoa powder (unsweetened) | ≈ 0.53 | ≈ 0.16 | ≈ 0.31 | ≈ 127.2 g |
| Butter | ≈ 0.96 | ≈ 0.09 | ≈ 0.17 | ≈ 230.4 g |
| Vegetable oil | ≈ 0.92 | ≈ 0.09 | ≈ 0.18 | ≈ 220.8 g |
| Olive oil | ≈ 0.91 | ≈ 0.09 | ≈ 0.18 | ≈ 218.4 g |
| Table salt | ≈ 1.20 | ≈ 0.07 | ≈ 0.14 | ≈ 288 g |
| Honey | ≈ 1.42 | ≈ 0.06 | ≈ 0.12 | ≈ 340.8 g |
| Peanut butter | ≈ 0.94 | ≈ 0.09 | ≈ 0.18 | ≈ 225.6 g |
For everyday cooking and baking, these numbers are usually accurate enough to swap between grams and cups when you do not have a scale handy. For very delicate recipes, consider weighing whenever possible and treat these as starting points for fine-tuning your own “house” measurements.
When to convert 40 grams to cups (and when to stay in grams)
Volume measures like cups are convenient and familiar, but they are sensitive to scooping technique. Converting 40 grams to cups is especially helpful when:
- You have a recipe written in grams but only measuring cups available.
- You are scaling a recipe that calls for “40 g of X” and want to eyeball it with cups instead.
- You are logging food where the app expects cups, but your package lists nutrition per 100 g.
For serious baking or macro tracking, staying in grams is usually more precise. Use this page when you need a fast, ingredient-aware estimate of how many cups correspond to 40 grams or any other weight you enter.
Related conversions:
- 75 grams to cups
- 160 grams to cups
- 170 grams to cups
- 180 grams to cups
- 350 grams to cups
- 600 grams to cups
- 2 cups to grams
- 100 grams to cups
- 200 grams to cups
- 150 grams to cups
- 50 grams to cups
- 250 grams to cups
- 300 grams to cups
- 500 grams to cups
- 400 grams to cups
- 120 grams to cups
- 60 grams to cups
Most popular conversions:
- 100 grams to cups
- 200 grams to cups
- 150 grams to cups
- 50 grams to cups
- 250 grams to cups
- 300 grams to cups
- 500 grams to cups
- 400 grams to cups
- 120 grams to cups
- 60 grams to cups