How Many Grams Are in an Ounce?
One ordinary ounce by weight equals 28.349523125 grams.
Use about 28.35 grams per ounce for most everyday conversions.

Details
Multiply ounces by 28.35
Two ounces is about 56.7 grams. Four ounces is about 113.4 grams.
Divide grams by 28.35
One hundred grams is about 3.53 ounces. Round at the end if you need consistent results across multiple amounts.
Check for a different ounce
Precious metals often use troy ounces, which are heavier. Fluid ounces measure volume and need a different conversion.
Official instructions and references · NIST Handbook 44