To convert grams to ounces, use the following formula:
\[ \text{ounces} = \frac{\text{grams}}{28.34952} \]
To convert ounces to grams, use the following formula:
\[ \text{grams} = \text{ounces} \times 28.34952 \]