40 grams is about 0.2 cups, but the exact value depends on what ingredient you are measuring.

Quick Scoop Answer

For common baking ingredients, 40 g in cups is roughly:

  • Granulated sugar: about 1/4 cup.
  • Brown sugar (lightly packed): about 1/4 cup.
  • Powdered/icing sugar: about 1/3 cup.
  • Generic “grams to cups” (all-purpose, very rough): around 0.17–0.2 cups.

Why It Varies

  • Grams measure weight , while cups measure volume , so the conversion changes with density.
  • Sugar, flour, butter and liquids all weigh different amounts per cup, so “40 g in cups” is only meaningful if you name the ingredient.

If you say which ingredient you’re using (e.g., flour, butter, oats), a more precise cup value can be given.