Price Calculation Methodology
How We Calculate Gold Prices
Every price on this site is derived from a single input: the live AED-per-gram price of 24K gold, fetched directly from our data provider. All other karats, buy/sell estimates, bars, ounce, and kilogram prices are computed from that base value using the fixed formulas documented below.
- Source: We call the
metals.devAPI to fetch the AED/gram price of gold directly, alongside the AED/USD exchange rate (officially pegged at 3.6725). - Update cadence: A scheduled
Cloudflare Workercalls our pipeline every 8 hours (3 times per day), totaling ~90 requests per month — within the provider's free tier. - Storage: Each fetch is written to a
Cloudflare D1database. All public pages read only from D1 — pages never call the provider directly. - Karat prices: derived from the 24K gram price multiplied by purity ratios:
- 24K = 100% (24/24)
- 22K = 91.67% (22/24)
- 21K = 87.5% (21/24)
- 18K = 75% (18/24)
- 14K = 58.33% (14/24)
- Buy price (shop sells to you): raw gram price × 1.08 — i.e. an 8% uplift covering UAE VAT (5%) plus an estimated 3% making/operations margin.
- Sell price (shop buys from you): raw gram price × 0.99 — i.e. a 1% deduction below spot as an indicative dealer margin on used gold, before any assay fees.
- Ounce price: gram price ×
31.1035(troy ounce). - Tola price: gram price ×
11.6638. - Kilogram price: gram price ×
1000. - Bar prices: (24K gram price × weight) + a fixed AED premium per weight (e.g. 60 AED for a 1g bar, 490 AED for a 50g bar, 4600 AED for a 1kg bar).
- Daily change & trend: the difference between today and yesterday's close is computed once on the server. The trend is labeled "up" when the difference exceeds +0.5 AED/g, "down" when it is below −0.5 AED/g, and "stable" between those thresholds.
Note: Buy/sell prices shown are indicative estimates of the UAE market average and do not represent a binding quote from any specific shop. Actual prices may vary by emirate, jewelry type, making charge, and shop policy.