Forex arbitrage calculator for triangular and two-broker trades
Free tool · Updated 26 November 2026

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.

Key takeaways
  • 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.

Quotes (X = first currency, Y = second, USD = account currency)
Size and costs

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.

  1. 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.
  2. Enter bid and ask. Use the prices your broker or liquidity provider would fill, taken at the same moment.
  3. Enter the amount. The calculator converts commission to lots using the USD amount of each leg.
  4. Enter costs. Commission per lot per side as your broker charges it, and slippage you have measured, not zero.
  5. 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.
  6. 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):

Gross A = (1 ÷ AskX/USD) × BidX/Y × BidY/USD − 1

Loop B (buy Y with USD, buy X with Y, sell X for USD):

Gross B = (1 ÷ AskY/USD) × (1 ÷ AskX/Y) × BidX/USD − 1

No-arbitrage band for the cross: no loop pays while

BidX/USD ÷ AskY/USD ≤ X/Y price ≤ AskX/USD ÷ BidY/USD

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.

CaseInputsGrossNet
Triangle, cross too highEUR/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 crossSame, EUR/GBP 0.8543/44 (inside the band), best direction−$128−$293
Triangle, cross too lowSame, EUR/GBP 0.8540/41: loop A loses, loop B pays+$191 (loop B)≈ +$26
Two brokers, 1-pip gapBuy A at 1.08505, sell B at 1.08515, 1 lot, $3.50 per side each broker+$10negative

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 sideCommission, pips (4 sides)+ 0.2 pip total slippage + 0.5 pip exit spread
$0 (spread-only account)0.00.7 pips
$2.000.81.5 pips
$3.501.42.1 pips
$5.002.02.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?

A tool that takes bid and ask quotes and your costs and shows whether buying and selling across pairs or brokers would make a profit. It is a check of the prices at one moment, not a trading signal.

How do you calculate triangular arbitrage profit?

Multiply the three conversion rates in the order you trade them, using the ask when you buy and the bid when you sell, then subtract 1. Multiply by the amount and subtract commission and slippage on all three legs.

Why does the calculator show a loss when prices look different?

Because spreads are already wider than the difference. A cross rate that looks out of line at mid prices is usually inside the no-arbitrage band once bid and ask are used.

What slippage should I enter?

Use what you have measured on your own fills in fast markets. If you have no data, test with at least 0.2 basis points per leg for triangles or 0.1–0.3 pips per fill for two brokers, and see how sensitive the result is.

Can I use the calculator for latency arbitrage?

Partly. For latency arbitrage the relevant comparison is the fast feed against the broker quote and whether your order arrives before the broker updates. That needs recorded ticks and measured delay; see our latency arbitrage guide.

Does the calculator work for JPY pairs?

Yes for the triangular tab, because it works with exchange rates rather than pips. On the two-broker tab, set the pip size to 0.01 and enter the pip value for your account currency.
Disclosure

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

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
Alexander Vinsky
About the author: , Lead Developer and Chief Technical Specialist at Westernpips

Lead developer at Westernpips, where he builds the connectors, quote recording and execution logic of Westernpips Private 7. He is the author of the Westernpips stale-quote study, which measured how long XAUUSD quotes at three retail brokers stayed behind a fast feed.

Numbers and examples reviewed by Sergey Berezhnov, Founder, CEO and Lead Developer of Westernpips.

Risk warning: leveraged forex and CFD trading can result in the loss of your capital, and retail providers must disclose the share of their accounts that lose money (FCA, ESMA). Arbitrage depends on execution you cannot guarantee: orders can be late, slipped, rejected or restricted by the broker. Worked examples use hypothetical prices and are not trading results. Westernpips publishes this page and sells the software described on it. This is not investment, legal or tax advice, and past or simulated results do not guarantee future results.

Read next




Online Support 24/7

If you have questions about Westernpips Software products please Contact Us.

WhatsApp: +15165847654 WhatsApp: +6282177564757 westernpips.group@gmail.com WeChat Id: wp_globalsupport Subscribe To Our Social Media Pages For Get Latest News