The numbers
1 cup ≈ 96 g, 3/4 cup ≈ 72 g, 2/3 cup ≈ 64 g, 1/2 cup ≈ 48 g, 1/3 cup ≈ 32 g, 1/4 cup ≈ 24 g.
Why it varies
Very light. Never substitute by volume for wheat flour.
The reliable way
If the recipe gives grams, use grams. If it only gives cups, spoon the ingredient into the cup and level it rather than scooping from the bag — that alone removes most of the difference.