Explore Prices
XAU/USD $4,582 24K/G $147.18 24H LIVE 09:52 UTC DELAYED PRICES

Methodology & Data Sources

Every price on GramRate is computed from live market data using the formulas below. Nothing is copied from other websites, and every page carries the timestamp of the reading it was rendered from.

Data sources

DataSourceCadence
Gold spot (XAU/USD)gold-api.comEvery minute
EUR & GBP exchange ratesfrankfurter.dev (European Central Bank data)Daily
CAD, AUD & fallback ratesopen.er-api.com (exchangerate-api)Daily

The two FX sources back each other up: if one is unavailable, the other fills the gap, and the last good rate is cached until a fresh one arrives.

The formulas

Gold trades in troy ounces. One troy ounce = 31.1034768 grams (not the 28.35 g kitchen ounce).

Pure-gold gram price (in any currency) = spot price per ounce in that currency ÷ 31.1034768.

Karat price = pure-gold gram price × fineness factor:

KaratFineness factorGold content
24K0.99999.90%
22K0.916791.67%
21K0.87587.50%
18K0.7575.00%
14K0.583358.33%

Per-ounce and per-kilogram karat prices multiply the gram price by 31.1034768 and 1000 respectively. All arithmetic is done at full precision; rounding happens only at display.

Quality guards

  • Anomaly guard (±4%). A new reading deviating more than 4% from the previous one within 15 minutes is rejected and not published — this protects against source errors, not market moves.
  • Staleness detector (10 minutes). If the newest reading is older than 10 minutes, every page displays a visible "delayed prices" badge.
  • History from day one. Every accepted reading is archived to build the 24-hour, 7-day and 30-day changes and averages you see on price pages.

Citing our data

The /api/matrix endpoint returns the current snapshot as JSON and is free to reference with attribution. Figures change every minute — always cite the timestamp, not just the price.

Site navigation