Forex Arbitrage Calculator: Check a Triangular or Two-Broker Trade After Costs
This forex arbitrage calculator checks whether a price difference would still make money after you pay the bid-ask spread, commission and slippage. Enter executable bid and ask quotes, not mid prices: the triangular tab tests both directions of a three-currency loop, and the two-broker tab tests buying at one broker and selling at another. A positive result means the quotes allowed a profit at that instant; it does not mean you could have filled all the orders in time.
- Use bid and ask: you always buy at the ask and sell at the bid, so mid prices overstate every opportunity.
- Two directions: a triangular loop can be run clockwise or anticlockwise; the calculator checks both.
- Costs first: commission and slippage on every leg usually turn a visible gap into a loss.
- Instant, not executable: the calculator cannot know whether all legs would have filled before prices moved.
Forex Arbitrage Calculator
Enter the quotes you can actually trade and your costs. The result shows gross and net profit in dollars and basis points for each direction. Default values reproduce the triangular example from our forex arbitrage guide.
The calculator runs in your browser and sends nothing to our server. Results are hypothetical and ignore timing, partial fills and rejections.
How to Use the Forex Arbitrage Calculator
Copy executable quotes from the same moment, enter your real commission and a realistic slippage, then read the net result for both directions. If both are negative, there is no arbitrage at those prices.
- Pick the pairs. For a triangle you need two pairs against your account currency and the cross between them, for example EUR/USD, GBP/USD and EUR/GBP.
- Enter bid and ask. Use the prices your broker or liquidity provider would fill, taken at the same moment.
- Enter the amount. The calculator converts commission to lots using the USD amount of each leg.
- Enter costs. Commission per lot per side as your broker charges it, and slippage you have measured, not zero.
- Read both directions. Loop A goes USD → X → Y → USD; loop B goes USD → Y → X → USD. Only one can be positive at a time.
- Check the band. The output shows the range of X/Y prices inside which no loop pays. A real opportunity needs the quoted cross outside that band.
Formulas Behind the Results
Each leg converts at the price you can trade: buying a currency uses the ask, selling uses the bid. The loop result is the product of the three conversions minus one; costs are subtracted afterwards.
Loop A (buy X with USD, sell X for Y, sell Y for USD):
Loop B (buy Y with USD, buy X with Y, sell X for USD):
No-arbitrage band for the cross: no loop pays while
Costs: commission = rate × lots per leg × 3 legs; slippage = amount × basis points per leg × 3 legs ÷ 10,000. For two brokers, the gross result per lot is (bid at the selling broker − ask at the buying broker) ÷ pip size × pip value.
Worked Examples
The default triangle makes about $691 gross and $526 net on $1 million because EUR/GBP is quoted above the band. At a fair EUR/GBP of 0.8543/0.8544 both directions lose ($128 and $160 before costs), and the two-broker default loses money once both brokers’ commissions are paid.
| Case | Inputs | Gross | Net |
|---|---|---|---|
| Triangle, cross too high | EUR/USD 1.0850/51, GBP/USD 1.2700/01, EUR/GBP 0.8550/51, $3.50 per lot, 0.2 bp slippage | +$691 | ≈ +$526 |
| Triangle, fair cross | Same, EUR/GBP 0.8543/44 (inside the band), best direction | −$128 | −$293 |
| Triangle, cross too low | Same, EUR/GBP 0.8540/41: loop A loses, loop B pays | +$191 (loop B) | ≈ +$26 |
| Two brokers, 1-pip gap | Buy A at 1.08505, sell B at 1.08515, 1 lot, $3.50 per side each broker | +$10 | negative |
The band for the default quotes is 0.85426–0.85441. EUR/GBP at 0.8550 is outside it, which is why loop A pays. Our triangular arbitrage guide works through a EUR/USD, USD/JPY and EUR/JPY loop that loses money in both directions.
Break-Even Gap by Commission Level
For a two-broker trade on EUR/USD, the gap must cover four commissions (entry and exit at two brokers), slippage and the spread you pay when closing. At $3.50 per lot per side, commission alone is 1.4 pips.
| Commission, $ per lot per side | Commission, pips (4 sides) | + 0.2 pip total slippage + 0.5 pip exit spread |
|---|---|---|
| $0 (spread-only account) | 0.0 | 0.7 pips |
| $2.00 | 0.8 | 1.5 pips |
| $3.50 | 1.4 | 2.1 pips |
| $5.00 | 2.0 | 2.7 pips |
Spread-only accounts look cheaper here, but their wider spreads are already inside the quotes you enter. That is one reason latency arbitrage, which needs only one order against a stale quote, is more common in retail forex than two-broker arbitrage; see latency arbitrage explained.
What a Forex Arbitrage Calculator Cannot Tell You
A calculator measures one moment. It cannot tell you whether the quotes were tradable, how long the gap lasted, or whether all legs would have filled before it closed.
- Timing: most apparent triangular opportunities in spot FX last under a second (Fenn et al., 2009).
- Execution risk: competing arbitrageurs enter the same trade, so legs fail or slip (Kozhan and Tham, 2012).
- Last look: a liquidity provider can reject one leg after the others have filled (GFXC).
- Broker rules: some brokers cancel trades placed on prices they consider erroneous; read broker arbitrage restrictions.
To see whether gaps are tradable, record the quotes and your fills, then replay them with your measured delay. Tools that do this automatically are compared in best forex arbitrage software; scanners that only show gaps are discussed in forex arbitrage scanners.
Glossary
- Bid
- The price at which you can sell a currency pair.
- Ask
- The price at which you can buy a currency pair.
- Basis point
- One hundredth of one percent (0.01%). A $1 million loop that gains 1 basis point makes $100.
- Cross rate
- An exchange rate between two currencies that is also implied by their rates against a third currency, usually USD.
- No-arbitrage band
- The range of cross-rate prices inside which no triangular loop is profitable at the given bid and ask.
- Slippage
- The difference between the expected price of an order and the price at which it is filled.
Forex Arbitrage Calculator FAQ
What is a forex arbitrage calculator?
How do you calculate triangular arbitrage profit?
Why does the calculator show a loss when prices look different?
What slippage should I enter?
Can I use the calculator for latency arbitrage?
Does the calculator work for JPY pairs?
This page is published by Westernpips, which develops and sells arbitrage trading software, including Westernpips Private 7. Product mentions are the publisher’s own; third-party tools are described from their public pages. Worked examples use hypothetical prices.
Sources
- Fenn, D. J., Howison, S. D., McDonald, M., Williams, S. and Johnson, N. F. (2009). The mirage of triangular arbitrage in the spot foreign exchange market. International Journal of Theoretical and Applied Finance, 12(8). doi.org/10.1142/S0219024909005609
- Kozhan, R. and Tham, W. W. (2012). Execution risk in high-frequency arbitrage. Management Science, 58(11), 2131–2149. doi.org/10.1287/mnsc.1120.1541
- Global Foreign Exchange Committee. Execution Principles Working Group report on last look, with Principle 17 of the FX Global Code. www.globalfxc.org/docs/gfxc_report_last_look.pdf
- European Securities and Markets Authority (2018). ESMA adopts final product intervention measures on CFDs and binary options: leverage limits from 30:1 (major currency pairs) to 2:1, margin close-out and negative balance protection for retail clients. www.esma.europa.eu/press-news/esma-news/esma-adopts-final-product-intervention-measures-cfds-and-binary-options
- Financial Conduct Authority (2019). FCA confirms permanent restrictions on the sale of CFDs and CFD-like options to retail consumers, including leverage limits and a standardised risk warning with the share of retail accounts that lose money. www.fca.org.uk/news/press-releases/fca-confirms-permanent-restrictions-sale-cfds-and-cfd-options-retail-consumers
Read next
- Forex arbitrage: the complete guide
All seven types, costs, legal status, software and infrastructure.
- Triangular arbitrage in forex
Why most three-currency loops lose money at real bid and ask.
- Forex arbitrage scanners and indicators
What scanners show, and why a gap on a chart is not a fill.
- Latency arbitrage explained
The form of arbitrage retail traders actually test, with recorded data.

