An XAU to gram calculator converts the price of one troy ounce of gold (XAU, the ISO currency code for gold) into the price per gram, letting you enter a live gold price and instantly see the equivalent value for any weight in grams. You input the current gold price per troy ounce (in your currency) and the weight in grams, and the calculator returns the value of that gold. This is the standard arithmetic used by bullion dealers, jewelers, and investors to translate international spot prices into local per-gram rates.
Formula
The conversion relies on the exact mass of a troy ounce, which is the only unit gold is officially traded in worldwide. The formulas are:
Value = Gold price per troy ounce × Weight in grams ÷ 31.1034768
Price per gram = Gold price per troy ounce ÷ 31.1034768
Where:
- Gold price per troy ounce (p) – the spot price of gold, usually quoted in US dollars, euros, or pounds per troy ounce (oz t).
- Weight in grams (g) – the mass of gold you are valuing, in metric grams.
- 31.1034768 – the exact number of grams in one troy ounce (not the avoirdupois ounce, which is 28.3495 g).
- Value (v) – the monetary worth of the gold, in the same currency as the input price.
Worked Example
Using the default values from the calculator above – a gold price of 2,400 currency units per troy ounce and a weight of 10 grams:
- Divide the price per troy ounce by 31.1034768 to get the price per gram: 2,400 ÷ 31.1034768 = 77.16 currency units per gram.
- Multiply the price per gram by the weight: 77.16 × 10 = 771.60 currency units.
The calculator shows 771.60 as the value, matching the manual calculation. The price per gram output shows 77.16, and the weight in troy ounces shows 0.3215 oz t (10 ÷ 31.1034768 = 0.3215).
Assumptions
- The gold price input is for one troy ounce (31.1034768 g), not one avoirdupois ounce (28.3495 g).
- The gold is pure (24-karat, 99.99% fine). For lower purity, multiply the result by the fineness (e.g., 0.916 for 22-karat, 0.585 for 14-karat).
- No premiums, dealer spreads, taxes, or fabrication costs are included – this is the raw metal value.
- The currency of the price input is the same as the currency of the output value.
Why XAU and Troy Ounces?
XAU is the ISO 4217 currency code for one troy ounce of gold, just as USD is for the US dollar and EUR for the euro. It exists so that gold can be quoted on foreign-exchange platforms alongside currencies. The London Bullion Market Association (LBMA) sets the daily gold price in US dollars per troy ounce, and most global spot prices follow that benchmark. The troy ounce system dates to the Middle Ages, originating in the French town of Troyes, a major trading fair. Unlike the avoirdupois ounce used for food and everyday goods in the US (28.3495 g), the troy ounce is heavier and is used exclusively for precious metals. This distinction is the single most common source of error in gold calculations – mixing up the two ounces changes the result by about 9.7%.
How to Use the Calculator for Real Purchases
When you see a gold price online, it is almost always per troy ounce. To know what a specific bar, coin, or piece of jewelry is worth in metal terms:
- Enter the current spot price per troy ounce in your currency.
- Weigh the gold in grams using a precise scale (jewelry scales read to 0.01 g).
- Enter that weight, and the calculator gives the metal value.
- For non-24-karat gold, multiply the result by the purity fraction. For example, an 18-karat piece (75% gold) weighing 10 g is worth 0.75 × 771.60 = 578.70 currency units.
Remember that a dealer will pay less than the metal value (their buy price includes a spread) and charge more than the metal value when selling (their sell price includes a premium). The calculator gives the midpoint or spot value, not a transaction price.
Common Mistakes and Misconceptions
The most frequent error is using 28.35 g per ounce instead of 31.1035 g. If you do that on a 100-gram bar at 2,400/oz t, you overvalue it by about 9.7% – a significant difference. Another mistake is ignoring purity: many people assume all gold is 24-karat, but jewelry is often 22-karat (91.6%), 18-karat (75%), or 14-karat (58.5%). Always check the hallmark. A third misconception is that the spot price is what you will pay. In practice, small bars and coins carry premiums of 1–5% over spot, and jewelry carries fabrication and retail margins that can be 20–50% over the metal value. The calculator gives the base metal value only.
Also note that gold prices are quoted in US dollars per troy ounce on international markets. If you are in another country, you must convert to your local currency first, or find a local quote. The calculator does not perform currency conversion – that rate changes constantly.
Purity and Karat Conversions
Karat (k) indicates the proportion of pure gold in an alloy, by mass. Pure gold is 24 karat. To convert karat to a decimal fraction, divide by 24:
- 24k = 1.000 (99.99% pure)
- 22k = 0.9167
- 18k = 0.7500
- 14k = 0.5833
- 10k = 0.4167
To value a karat piece, weigh it in grams, enter that weight and the spot price, then multiply the result by the decimal fraction. For example, a 14k ring weighing 5 g at a spot price of 2,400/oz t: 5 g is worth 385.80 currency units if pure, but × 0.5833 = 225.05 currency units. This is the actual gold content value; the ring may also have gemstones or craftsmanship value.
Alternatives: Pennyweight, Tola, and Baht
Besides grams and troy ounces, gold is traded in other traditional units in different regions. The calculator works for any of them if you know the conversion to grams:
- Pennyweight (dwt) – used in the US jewelry trade; 1 dwt = 1.55517 g (20 dwt per troy ounce).
- Tola – used in South Asia; 1 tola = 11.6638 g (approximately 0.375 troy ounces).
- Baht – used in Thailand; 1 baht = 15.244 g (approximately 0.49 troy ounces).
- Tael – used in China and Hong Kong; 1 tael = 37.429 g (approximately 1.203 troy ounces).
To use the calculator with these units, convert the weight to grams first (multiply by the factor above), then enter the grams. The result will be correct regardless of the original unit.
Frequently Asked Questions
What does XAU stand for? XAU is the ISO 4217 currency code for one troy ounce of gold. The “X” prefix denotes a non-national currency (like XAG for silver and XPT for platinum), and “AU” is the chemical symbol for gold, from the Latin aurum.
Is a troy ounce the same as a regular ounce? No. A troy ounce is 31.1034768 g, while a standard avoirdupois ounce (used for food and body weight) is 28.3495 g. The troy ounce is about 9.7% heavier. Gold, silver, platinum, and palladium are always weighed in troy ounces.
How do I convert a gold price from per troy ounce to per gram? Divide the price per troy ounce by 31.1034768. For example, 2,400 ÷ 31.1034768 = 77.16 per gram. The calculator does this automatically.
Does the calculator include dealer premiums or taxes? No. It computes the raw metal value based on the spot price you enter. Real transactions include a dealer spread (buy/sell difference), premiums for small bars and coins, and possibly sales tax depending on your jurisdiction. Add those separately.
What if my gold is not 24 karat? Multiply the calculator result by the purity fraction. For 18k use 0.75, for 14k use 0.5833, for 22k use 0.9167. The result is the value of the pure gold content only; the alloying metals (copper, silver, zinc) have negligible value.
Can I use this for silver or platinum? Yes, the math is identical – just enter the spot price per troy ounce for silver (XAG) or platinum (XPT) instead of gold. The troy ounce conversion factor of 31.1034768 g applies to all precious metals.
Related
Formula used
in p | Gold price per troy ounce (XAU) | currency | 2400 | 0 in g | Weight in grams | g | 10 | 0 out v | Value of gold | currency | p * g / 31.1034768 | 2 out pgt | Price per gram | currency/g | p / 31.1034768 | 2 out oz | Weight in troy ounces | oz t | g / 31.1034768 | 4
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- ug to ppb Calculator: Convert Micrograms per Liter1.00 ppb
- Grams to Moles Chemistry: How to Convert0.2000 mol/L
- Convert ug/l to ppb Calculator
- CPP Calculator Ontario: How CPP Is Calculated162.12 $/month
- Grams to Moles to Molecules: How to Convert0.2000 mol/L
- Organic Chemistry Reaction Calculator: How It Works