The numbers
1 cup ≈ 90 g, 3/4 cup ≈ 68 g, 2/3 cup ≈ 60 g, 1/2 cup ≈ 45 g, 1/3 cup ≈ 30 g, 1/4 cup ≈ 23 g.
Why it varies
Oats vary with the brand and how settled the bag is.
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.