Triangular Arbitrage Calculator
Audit both directions around a three-currency quote triangle and see how an entered proportional fee changes each leg and the final residual.
Enter one complete three-pair triangle
Provide each unordered currency pair once, choose a starting currency and amount, and enter one proportional fee applied to every leg output.
Quote 1Bid / Ask
Quote 2Bid / Ask
Quote 3Bid / Ask
Zero through 10%; deducted proportionally after each conversion.
Entered three-leg loop comparison
Entered Cross-Market Quotes 1.0.0.
| Audit step | Conversion | Pair and side | Amount in | Before fee | Fee in output currency | Amount out |
|---|
How this triangular arbitrage calculator works
Quote → base amount = input ÷ ask
Amount after each leg = converted amount × (1 − fee % ÷ 100)
Loop residual = final starting-currency amount − starting amount
Triangular consistency links three pairwise exchange rates across three currencies. Version 1.0.0 requires all three unordered pair connections exactly once. Starting from the selected currency, it constructs the two possible closed paths: start → currency A → currency B → start, and start → currency B → currency A → start.
Every leg applies the quote side required by the conversion direction. Moving from an entered pair’s base into its quote multiplies by the bid. Moving from its quote into its base divides by the ask. The audit table preserves the pair, side, amount before conversion, amount before fee, fee in that leg’s output currency, and resulting amount.
The optional fee is a simplified proportional deduction from every leg output. Fees across different output currencies are not added into one misleading total. The page shows each loop before and after that fee so you can see why a small gross quote inconsistency may disappear once even simplified transaction costs are introduced.
A careful interpretation workflow
Start by checking units, quote direction and observation alignment. Relative arithmetic is reproducible only when every input describes the intended instrument in the intended unit. Keep the original source and timestamp beside any result you save.
- Confirm that the three pairs cover exactly the three possible connections among the selected currencies.
- Use bid and ask, never midpoint rates, when auditing a direction that is intended to represent exchange.
- Check that the starting currency appears in the triangle and that the starting amount matches the scale you want to inspect.
- Treat the fee as one simplified proportional assumption; add venue-specific commission, spread, financing and withdrawal costs elsewhere.
- Inspect both directions because quote orientation alone does not reveal which closed path produces the higher entered result.
- Do not automate or place orders from this page; collect synchronized venue data and implement explicit risk controls in a separate tested system.
Worked example from the audited fixture
How to interpret the result
The higher loop merely lost less or finished higher under the entered numbers. Real triangular arbitrage depends on simultaneous executable quotes, sufficient depth for each quantity, completion of all legs and costs at one venue or across venues. A screen residual can reverse before the first order arrives, and the final leg may fill partially or not at all.
Choose the calculation that matches the question
These three tools share careful unit handling, but they do not answer the same question. The cross-rate calculator derives one outer two-sided currency quote from two connected quotes. The triangular calculator closes both paths through three entered bid/ask pairs. The gold–silver calculator forms a same-currency, per-ounce relative price without pretending it is an executable currency loop.
| Tool | Required market inputs | Primary output | Direction treatment | Not provided |
|---|---|---|---|---|
| Forex cross rate | Two connected bid/ask quotes | Outer pair implied bid and ask | Bid for base-to-quote; ask reciprocal for reverse | Live/direct quote or executable comparison |
| Triangular loop | Three complete bid/ask pairs | Both closed-loop residuals | Side selected independently on every leg | Synchronized fills or arbitrage profit |
| Gold–silver ratio | Same-currency prices per troy ounce | Silver ounces per gold ounce | No trade direction; pure relative price | Historical benchmark or valuation verdict |
A currency conversion, an executable trade and a relative-price comparison are different operations. Keep them separate. If you need broader costs, continue to the Total Trade Cost Calculator. If you need position exposure, use the Effective Leverage Calculator after defining instrument quantity and account equity.
Assumptions and limits
- Exactly three finite, positive bid/ask quotes forming one complete three-currency graph are required.
- Each unordered pair may appear once; reversing the way a pair is typed is allowed but duplicating it is rejected.
- The proportional fee can range from zero through 10% and is deducted from every leg’s output amount.
- Spreads are represented by the entered bid and ask; slippage, minimum commission, rebates, tiers and financing are excluded.
- The page has no timestamps, order book, venue identity, executable size, latency or sequence-risk model.
- It assumes arithmetic completion of all three legs and cannot represent rejects, partial fills, capital locks or settlement constraints.
- A positive gross or net residual is not labelled an opportunity, recommendation, expected profit or achievable return.
Prepare comparable inputs before calculating
Record each source, venue, instrument label, observation time, price side, currency and unit. Bid and ask should refer to the same pair orientation and a comparable executable size if you are studying real quote relationships. Gold and silver prices should use the same currency, one troy ounce and as close to the same observation time as your purpose requires.
Do not silently replace bid and ask with a midpoint. A midpoint can be useful for descriptive research, but it removes the spread and cannot reproduce directional exchange. Likewise, do not mix a spot per-ounce metal price with a whole futures-contract notional. Normalize first, calculate second, and preserve the conversion notes.
The calculator validates finite positive decimals, bid/ask ordering, pair connectivity and the declared structural rules. It cannot detect stale browser input, delayed feeds, a mislabeled symbol, venue-specific quantity tiers, daylight-saving mismatches or whether two values came from different sessions. Those are data-governance checks that belong beside the arithmetic.
For any real trade decision, verify current broker or venue specifications, effective spreads, commission, minimum size, margin, financing, slippage, order type and jurisdictional availability. An auditable calculator can remove arithmetic ambiguity, but it cannot transform manual observations into a safe or suitable transaction.
Frequently asked questions
- It converts one starting amount around both possible closed paths through three entered two-sided currency pairs and compares the final starting-currency amounts.
- Base-to-quote conversion multiplies by the entered bid. Quote-to-base conversion divides by the entered ask.
- A three-currency triangle has two closed paths from the same starting currency. Quote orientation alone does not show which entered path finishes higher.
- The entered proportional fee is deducted from the output of each conversion leg. Fees are displayed in each leg output currency rather than added across unlike units.
- A small quote inconsistency may be smaller than the cumulative effect of three spreads and fee deductions. The audited example demonstrates this directly.
- No. Quotes are not synchronized and the page cannot verify venue, depth, latency, sequence, slippage, rejection or partial-fill risk.
- No. It is a browser-side arithmetic audit only and sends no orders or signals.
- No. The bid/ask spread and one entered proportional fee are represented; minimum commissions, financing, rebates, slippage and operational costs are excluded.
Sources and methodology
- CFA Institute — Currency Exchange Rates — Explains triangular arbitrage relationships and bid/ask quote mechanics.
- CFA Institute — Exchange Rate Calculations — Documents cross-rate and bid/ask calculations used on each path.
- Bank for International Settlements — FX intermediation working paper — Shows a triangular-arbitrage example and why transaction costs matter.
The operational contract is Entered Cross-Market Quotes version 1.0.0. Independent fixture oracles test bid/ask direction, loop traversal, fee placement, ratio normalization, inverse relationships, input scaling, equality boundaries, validation and production isolation. External sources define the broader financial relationships; the disclosed versioned rules on this page govern the output.
Continue the quote-analysis workflow
Compare quote sources and execution terms
Before applying any calculated relationship to trading, compare the broker’s symbol orientation, quote precision, contract specification, spreads, commissions, available size and execution rules. Manual examples on this page are not broker quotes and do not show availability for your account or region.
XM
Review available instruments, quote specifications and account conditions for your region.
Check XM termsRisk and affiliate disclosure: Leveraged forex and CFD trading can result in substantial losses. These are affiliate links, so ForexMT4Indicators.com may receive compensation if you register or trade through them, at no additional cost to you. Availability and terms vary by jurisdiction and broker entity.

