The numbers
1 cup ≈ 213 g, 3/4 cup ≈ 160 g, 2/3 cup ≈ 142 g, 1/2 cup ≈ 107 g, 1/3 cup ≈ 71 g, 1/4 cup ≈ 53 g.
Why it varies
Measured packed hard into the cup. Loose brown sugar can be 40 g lighter.
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.