The Conversion Engine: Canonical USD Base Bridge
To enable direct conversion between any pair among our 30 supported assets without requiring hundreds of separate market order books, AllFinConverter uses a unified Canonical USD Base Bridge.
Every supported asset's exchange rate is normalized relative to the US Dollar (USD = 1.0). When you convert from Asset A to Asset B:
- Direct Rate Calculation: Each rate represents units of an asset per 1 USD. The converter multiplies the source amount by the target asset's rate divided by the source asset's rate:
Target Amount = Source Amount × (Rate(Target) / Rate(Source)). - Decimal Arithmetic and Division Precision: The converter uses arbitrary-precision decimal arithmetic with Big.js, avoiding the ordinary binary floating-point representation artefacts seen in calculations such as
0.1 + 0.2. Division precision is configured to 30 decimal places. A division with a non-terminating decimal result is rounded to that configured precision; results are not unlimited or mathematically exact in every case. - Two-Way Interactive Editing: You can edit either side of the converter. When you type in one field, the other is recalculated using the same rate relationship and configured division precision.
Our Rate Sources & Attribution
We use the following reference-rate sources and configured inputs for each asset category:
- Fiat Currencies: USD is the normalization base currency, with a rate of 1. The Frankfurter API supplies daily ECB-derived reference rates for the other 19 fiat currencies. The ECB explains its euro reference rates and notes they are published for information, not as transaction prices.
- UAE Dirham (AED): AllFinConverter uses a separately configured fixed-peg reference rate of 1 USD = 3.6725 AED. This input comes from the fixed-peg provider; it is not an AED market rate supplied by Frankfurter. See the Central Bank of the UAE's exchange-rate information.
- Cryptocurrencies (5 assets): AllFinConverter consumes USD-denominated reference prices supplied by the CoinMarketCap API for Bitcoin, Ethereum, Solana, XRP, and Dogecoin, then normalizes them for its conversion system. CoinMarketCap describes its own price calculation methodology; AllFinConverter consumes its supplied prices and does not independently calculate CoinMarketCap's volume-weighted market price. A displayed conversion is a reference value, not a guaranteed executable exchange or purchase price.
- Precious Metals (4 metals): Gold-API supplies USD-denominated reference prices for Gold (XAU), Silver (XAG), Platinum (XPT), and Palladium (XPD), expressed per troy ounce before quantity-unit conversion. These are not product-specific retail prices: premiums, fabrication costs, purity, product form, and dealer margins can make retail prices differ.
Update Frequency & Data Freshness
Maintaining reliable reference data while delivering instant page loads requires distinguishing between our automated snapshot schedule and the publication cycles of our underlying data sources:
- Automated 6-Hour Snapshot Schedule: Our server-side build pipeline executes every six hours to fetch, validate, and publish a fresh snapshot of all reference rates.
- Differing Provider Publication Frequencies: The six-hour pipeline cycle does not mean every data provider publishes new market prices every six hours. Each provider operates on its own schedule:
- Fiat currencies: The ECB generally publishes reference rates around 16:00 CET on working days, except TARGET closing days. These are dated reference rates, not continuously updated market quotes.
- UAE Dirham: AllFinConverter uses the configured fixed-peg rate described above rather than a floating market quote.
- Cryptocurrencies: Trade continuously 24/7 on global spot markets, and our snapshot captures the latest market price at each pipeline run.
- Precious metals: Spot metal markets operate during international trading desk hours and observe market closures.
- Freshness Thresholds: Each rate is checked against its provider's data-age limit: fiat rates from Frankfurter up to 7 days, cryptocurrency quotes from CoinMarketCap up to 24 hours, and precious-metal prices from Gold-API up to 96 hours. Separately, the overall snapshot must be no more than 24 hours old to be treated as live. The converter displays the latest provider update for the snapshot; individual asset update times may differ.
- Offline & Fallback Resilience: If an external provider experiences temporary downtime, AllFinConverter retains the Last-Known-Good (LKG) valid data. In the event that all rate data is inaccessible, the system falls back to a clearly labelled demo mode so the interface remains functional.
Precious Metals: Unit Conversions
In global financial markets, precious metals are traditionally quoted per troy ounce (oz t), which differs from standard avoirdupois ounces.
The converter can display metal quantities in troy ounces or grams (g). One troy ounce equals exactly 31.1034768 grams. The London Bullion Market Association explains the troy ounce.
Unit changes convert the quantity while preserving its equivalent metal amount. Conversions that require division use the converter's configured 30-decimal-place division precision.
Important Reference Rate Limitations
Please be aware of the following scope limitations when using AllFinConverter:
- Informational Reference Values Only: The figures displayed are indicative values based on available reference data. They are not binding commercial offers, guaranteed executable exchange or purchase prices, or investment advice.
- No Retail Spreads or Transaction Fees: Actual exchange rates offered by banks, credit card networks, airport kiosks, or crypto brokerages typically include bid-ask spreads, transaction commissions, or foreign exchange fees that will vary from mid-market reference values.
- Precious-Metal Reference Pricing: Metal reference prices are not quotes for a specific physical product. Retail prices may also reflect premiums, fabrication costs, purity, product form, dealer margins, taxes, or collector value.