Data Sources & Methodology
How we calculate every price you see — step by step, with full source attribution.
Overview
GoldPrices aggregates live gold spot price data and currency exchange rates to show indicative bullion-equivalent gold prices across 24+ countries and 7 karat grades. Our goal is to give gold buyers and investors in the UAE, GCC, and wider Arab world a fast, accurate reference price — available in both English and Arabic.
This is a reference and education tool, not a trading platform. Prices shown are estimates of the wholesale bullion-equivalent value of gold at the current moment. They should be used for orientation, comparison, and research — not as the basis for executing trades or financial transactions.
Gold Price Data
Source
We fetch the XAU/USD spot price from gold-api.com, a dedicated precious metals data API. The price represents the current market spot rate for one troy ounce of pure gold (99.9% fineness / 24K), denominated in US Dollars.
Update Frequency
The gold price is fetched every 90 seconds while a page is open and the device is online. This provides near-real-time data with a potential lag of up to 90 seconds versus institutional trading platforms.
Caching
The most recently fetched gold price is stored in the browser's localStorage. When you load a page, the cached price is displayed immediately — before a network request is made — so you always see a number rather than a blank. A secondary "fallback" slot stores the previous known price for additional resilience.
Freshness Indicator
A live countdown timer and "last updated" timestamp are displayed throughout the site. If the gold API fails or the data is more than 3 minutes old, a visual "stale" indicator appears in amber/orange. This ensures you always know how fresh the data is.
There is a potential lag of up to 90 seconds versus live institutional trading platforms. This site is for reference only — do not use these prices for executing trades or financial decisions.
Foreign Exchange Rates
Source
Currency exchange rates (USD as the base currency) are fetched from open.er-api.com (free tier). This provides rates for all 24+ currencies supported by the tracker.
Update Frequency
Exchange rates are updated approximately once per 24 hours by the API provider. We cache the rates locally in localStorage and display an "FX" chip in the tracker showing the last update time. When FX rates are stale (the provider's next_update timestamp has passed), a visual stale indicator is shown.
Exchange rates are mid-market reference rates. Actual gold trade prices — especially for physical import/export — reflect bid/ask spreads, dealer margins, and local market premiums that are not captured here.
The AED Fixed Peg (Special Case)
The UAE Dirham has been officially pegged to the US Dollar at a rate of 3.6725 AED per 1 USD since November 1997. This peg is maintained by the UAE Central Bank and has never changed in over 27 years of continuous operation.
1 USD = 3.6725 AED (official Central Bank of UAE peg)
Our Approach
We never use the AED rate returned by the open.er-api.com API. Even though the API returns an AED rate, free-tier exchange rate APIs can occasionally return rounded or slightly off values. To guarantee accuracy for AED-denominated gold prices, we hardcode the official peg rate of 3.6725 and delete any AED value from the API response before processing.
This means AED gold prices on this site are always mathematically exact relative to the USD spot price — with zero exchange rate uncertainty. This is actually a feature, not a limitation: because the peg has held since 1997, our hardcoded value is more accurate than any API-derived figure.
Reference: UAE Central Bank official communications and regulatory framework.
Karat Conversion
Gold purity is expressed in karats, where 24 karats = pure gold (99.9% fineness). Lower karat grades are alloys — mixtures of gold with other metals such as silver, copper, or palladium. The gold content by weight is a simple fraction:
| Karat Grade | Purity | Fraction | Millesimal Fineness |
|---|---|---|---|
| 24K | 99.9% | 24/24 = 1.0000 | 999 |
| 22K | 91.7% | 22/24 = 0.9167 | 916 |
| 21K | 87.5% | 21/24 = 0.8750 | 875 |
| 18K | 75.0% | 18/24 = 0.7500 | 750 |
| 14K | 58.3% | 14/24 = 0.5833 | 583 |
| 9K | 37.5% | 9/24 = 0.3750 | 375 |
The Price Formula
All prices displayed on this site are derived from a single formula applied consistently across every country and karat grade:
Price per gram = (XAU/USD spot ÷ 31.1035) × (karat ÷ 24) × FX rate
XAU/USD spot— Current gold price in US Dollars per troy ounce÷ 31.1035— Converts troy ounce to grams (1 troy oz = 31.1035 g, the international standard)× (karat ÷ 24)— Adjusts for purity (e.g., 22/24 = 0.9167 for 22K)× FX rate— Converts USD to the target currency (AED: always 3.6725)
The troy ounce (31.1035 grams) is the universal standard unit for precious metals pricing worldwide. It is distinct from the avoirdupois ounce (28.35 grams) used for everyday weights.
What Our Prices Are Not
Our prices are bullion-equivalent spot values. They intentionally exclude several components that affect real-world retail prices. Understanding these exclusions helps you interpret the numbers correctly.
The DGJG publishes a daily retail floor rate each morning based on the overnight LBMA close. Our price is based on the live international spot price, which updates throughout the day. The two will differ by a small amount depending on how much the market has moved since the DGJG morning fix.
Jewellery prices include fabrication/making charges on top of the gold price. In the Dubai Gold Souk, these typically range from AED 3–12 per gram for machine-made pieces, and up to AED 30+ per gram for handmade or designer jewellery. Investment bars from reputable dealers carry much smaller premiums (typically 0.5–3% over spot).
VAT applies in some countries covered by this tracker. As of 2025: UAE (5%), Saudi Arabia (15%), Bahrain (10%), Oman (5%). Kuwait and Qatar do not currently levy VAT on gold. Our prices do not include any VAT component — add the applicable rate for your jurisdiction to estimate a retail total.
Nothing on this site constitutes financial, investment, or legal advice. Gold markets are volatile. Always consult a qualified financial advisor before making investment decisions.
Data Fallback & Reliability
We implement a multi-tier data fallback system to ensure the site remains useful even when APIs are unavailable or slow.
Stale Data Handling
If the gold API fails on a refresh attempt, the last known price is kept visible with an amber "stale" indicator. We never show a blank price — but we also never silently pretend stale data is fresh.
Offline Mode
Because cached data is stored in localStorage, the site displays cached gold prices and FX rates immediately on load — even without a network connection. Cached data is labelled with its age so you always know what you are looking at.
Disclaimer
All gold prices and currency conversions displayed on this website are estimates only. They are calculated from third-party data sources that may contain errors, delays, or inaccuracies. The prices shown represent theoretical bullion-equivalent values and do not reflect actual retail, wholesale, or trade prices available from any specific dealer, exchange, or institution.
GoldPrices is not a financial services firm, investment advisor, or dealer in precious metals. Nothing on this website constitutes financial, investment, tax, or legal advice. Past gold price performance does not guarantee future results. Gold is a volatile asset — its value can fall as well as rise.
Always verify prices with a licensed gold dealer or financial institution before executing any transaction. Consult a qualified financial advisor for investment decisions. For Zakat calculations, consult a qualified Islamic scholar.