Enter value in oz:
Converting ounces to grams is crucial in cooking, baking, postal services, laboratory work, and many international applications. The ounce (avoirdupois) is an imperial‐derived unit commonly used in the United States and UK for small‐scale weights, while the gram is the SI unit of mass. Accurate oz ↔ g conversion ensures recipe fidelity, correct dosing, and reliable shipping calculations.
By international agreement:
1 ounce (oz) = 28.349523125 grams (g)
The avoirdupois ounce is defined exactly as 1⁄16 of a pound, and with 1 lb = 453.59237 g, one ounce becomes:
453.59237 g ÷ 16 = 28.349523125 g.
Mass (g) = Mass (oz) × 28.349523125
Mass (oz) = Mass (g) × 0.03527396195
Retain at least six significant digits in intermediate steps; for everyday use, rounding to three decimal places (e.g., 28.350 g) is sufficient.
Centralize the constant OZ_TO_G = 28.349523125 in your code or spreadsheets to avoid magic numbers.
Confirm your value is in ounces (“oz”).
Multiply ounces by 28.349523125 to get grams.
Round to desired precision (e.g., nearest 0.1 g) and append “g”.
Convert 5 oz to grams:
5 × 28.349523125 = 141.747615625 g → rounded to 141.748 g.
Convert 0.5 oz to grams:
0.5 × 28.349523125 = 14.1747615625 g → 14.175 g.
Convert 16 oz (1 lb) to grams:
16 × 28.349523125 = 453.59237 g → 453.592 g.
When scaling recipes, convert all ingredient weights from ounces to grams before adjusting quantities.
| Ounces (oz) | Grams (g) |
|---|---|
| 0.5 | 14.175 |
| 1 | 28.350 |
| 2 | 56.699 |
| 4 | 113.398 |
| 8 | 226.797 |
| 16 | 453.592 |
const OZ_TO_G = 28.349523125;
function ouncesToGrams(oz) {
return oz * OZ_TO_G;
}
console.log(ouncesToGrams(5).toFixed(3)); // "141.748"
OZ_TO_G = 28.349523125
def ounces_to_grams(oz):
return oz * OZ_TO_G
print(f"{ounces_to_grams(0.5):.3f}") # 14.175
Assuming ounces in cell A2:
=A2*28.349523125 → grams.
Use named ranges (e.g., MassOz) for clarity in complex workbooks.
Choose between fixed decimal places (e.g., three for cooking) or significant figures (for scientific use) and document your choice.
For scale uncertainty ±δ oz, gram uncertainty is ±(δ × 28.349523125) g; include in lab reports when precision matters.
Encapsulate conversion constants and functions in shared modules or microservices to avoid discrepancies.
Validate inputs (non‐negative, numeric) and handle errors gracefully in UIs and APIs.
Remember: 1 ounce = 28.349523125 grams. By applying this precise factor, you can accurately convert any ounce measurement to grams for cooking, shipping, laboratory, or industrial applications—ensuring consistency and reliability across all your workflows.