How We Calculate Gold Rates (Methodology & Sources)
This page explains exactly how GoldToday calculates every gold and silver rate on the site, where the data comes from and how often it changes. The figures are reference rates based on the international market. They are not quotes from any jeweller, bank or association.
Data sources
- Gold and silver spot price in US dollars per troy ounce: gold-api.com (primary), with the open fawazahmed0 currency API as automatic backup.
- Exchange rates for about 160 currencies against the US dollar: the fawazahmed0 currency API (primary; the same source as our price history), with ExchangeRate-API open access as automatic backup.
- Price history: daily closing values stored by our system since launch, plus up to two years of earlier daily data from the same currency API.
Formula
Price of 1 gram of 24K gold in local currency = gold price in USD per troy ounce / 31.1035 x units of local currency per 1 USD x (1 + local premium).
Lower purities are fixed shares of 24K: 22K = 91.67%, 21K = 87.5%, 20K = 83.33%, 18K = 75%, 14K = 58.33%. Silver uses 99.9% (999), 95.8%, 92.5% (sterling), 90% and 80%.
Local units: 1 tola = 11.664 g (also the Bangladeshi bhori), 1 troy ounce = 31.1035 g, 1 Thai baht-weight = 15.244 g, 1 Hong Kong tael = 37.429 g, 1 Vietnamese lượng = 37.5 g, 1 Persian mithqal = 4.608 g, 1 Iraqi mithqal = 5 g, 1 Egyptian gold pound = 8 g, 1 pavan/pawn (sovereign) = 8 g.
Update frequency
- Prices are refreshed automatically every 3 hours. The exact time of the last successful update is shown on every page.
- Exchange rates from the free data sources change about once a day. Gold markets are closed at weekends, so weekend prices stay at Friday's close.
- The last value of each UTC day is stored as that day's closing price for charts and history tables.
Quality checks
- If a price or exchange rate moves more than 10% from the previous update, it is held back until the next update confirms it, so a data error cannot be published.
- If every source fails, the site keeps the last good data and shows its real update time. A zero or empty price is never published.
- Stored history is checked daily for one-day glitches and currency redenominations, which are repaired automatically.
Limitations
Shop prices include making charges, VAT or sales tax, import duty and dealer margins, so they are normally higher than these spot-based rates. Some countries have more than one exchange rate (official and market). Such pages carry a currency note. Local associations, such as Sarafa associations in Pakistan or BAJUS in Bangladesh, publish their own rates, which can differ from ours.
Questions or corrections: info@goldtoday.org.