The numbers
1 cup ≈ 200 g, 3/4 cup ≈ 150 g, 2/3 cup ≈ 133 g, 1/2 cup ≈ 100 g, 1/3 cup ≈ 67 g, 1/4 cup ≈ 50 g.
Why it varies
A cup of white sugar is consistently about 200 g; caster sugar is within a few grams.
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.