Foreign Exchange · Free calculator

FX Margin Calculator

Every exchange rate you are offered contains a decision someone else made about how much of your money to keep. The FX margin — the gap between the wholesale reference rate and your offered rate — is the payments industry’s largest and least visible fee. It appears on no receipt, no statement and no fee schedule, yet on business-sized conversions it routinely costs multiples of every explicit charge.

This calculator measures it precisely. Enter a wholesale reference rate for the pair, the rate you were actually offered, and the amount: you get the margin as a percentage, and the cost in both currencies. Once you can measure the margin, you can compare providers, negotiate from evidence and decide when a rate is worth accepting.

Quick answer

FX margin % = (reference rate − offered rate) ÷ reference rate × 100. If the wholesale reference is 15.50 and you are offered 15.10, the margin is 2.58% — on a $10,000 conversion that is $258 of cost hidden in the rate. Retail bank margins commonly run 2–5%; specialist business providers are often under 1% on liquid pairs.

Interactive estimate

FX margin
2.58%
You receive (offered rate)
151,000.00
You would receive (reference rate)
155,000.00
Margin cost (target currency)Value removed by the rate markup
4,000.00
Margin cost (source currency)
$258.06

Estimates only, based entirely on the assumptions you enter. This is not a quote or an offer — actual pricing is route-dependent and depends on corridor, payment method, amount and applicable fees, and is disclosed in full on a KeyBS Pay quote before you approve anything.

Get a Business Quote

The formula

Margin % = (Reference rate − Offered rate) ÷ Reference rate × 100

Both rates must be quoted the same direction — units of target currency per one unit of source currency. The margin percentage times your amount gives the cost in source-currency terms; the difference in receive amounts gives it in target-currency terms.

The reference rate should be a wholesale/interbank figure captured at the same moment as your quote — rates move continuously, so comparing a morning quote against an afternoon reference overstates or understates the true margin.

How to use this calculator

  1. 1

    Capture a wholesale reference rate

    From a live market data source at the moment you receive your quote. Our FX tool provides live indicative rates for major pairs.

  2. 2

    Enter the rate you were offered

    From the quote, the app screen or your statement — exactly as quoted, same direction as the reference.

  3. 3

    Enter the conversion amount

    The margin cost scales linearly, so use your real transaction size to see the real cost.

  4. 4

    Compare providers on margin, not fees

    Repeat for each quote you hold. A provider with a $30 fee and 0.5% margin beats a "no-fee" provider at 2.5% on any business-sized amount.

Why margins vary so much between providers

Margin reflects three things: the provider’s access to liquidity, the currency pair’s depth, and how much pricing opacity the customer tolerates. Liquid pairs like USD/EUR carry thin wholesale spreads, so any large margin is pure markup. Emerging-market pairs carry genuinely wider wholesale spreads — but the retail markup on top is still the dominant component at most banks.

Providers price customers, not just pairs. The same bank quotes tighter margins to customers who measure and challenge them. This calculator is the measuring instrument: a one-page margin history of your last ten conversions is the strongest negotiating document a finance team can bring to a pricing review.

Margins on African corridors

African currency pairs — USD/GHS, USD/NGN, GBP/KES, EUR/ZAR — historically carried some of the widest retail margins in the world, driven by thin interbank liquidity and limited competition. Specialist corridor providers have compressed this substantially on major routes, which is why measuring rather than assuming matters: the spread between the best and worst quote for the same pair on the same day can exceed three percentage points.

KeyBS Pay prices from wholesale FX with quote-first disclosure: the executable rate, fee and committed receive amount are shown before you approve. That structure makes the margin measurable by design — you can run every KeyBS Pay quote through this calculator and verify it.

Common use cases

Quote verification

Check any FX quote — bank, fintech or broker — against the wholesale rate before accepting it.

Provider scorecards

Track each provider’s average margin over a quarter and route volume to the consistently tightest one.

Bank negotiation

Present measured margins from your own statements at annual pricing reviews — evidence moves pricing.

Invoice currency decisions

Quantify the conversion cost of accepting a USD invoice versus asking the supplier to invoice in their local currency.

Automate this with the API

Fetch a live indicative rate to use as your reference when measuring a quoted margin.

curl "https://keybs.io/api/v1/tools/fx?from=USD&to=GHS&amount=10000" \
  -H "x-api-key: YOUR_FREE_KEY"
Free Tools API docs and key registration

Frequently asked questions

What is a fair FX margin for business conversions?

Route-dependent. On liquid major pairs, specialist business providers often price under 1%; on African and emerging-market pairs, under 1.5% is competitive. Retail bank margins of 2–5% are common but rarely justified by wholesale costs on major corridors. Measure your current provider before judging any alternative.

Where do I find a wholesale reference rate?

Live market data feeds, financial data sites, or our free FX tool which shows live indicative rates. Capture the reference at the same moment as your quote — a rate from hours earlier is not a valid comparison.

Is the margin the same as the spread?

Related but distinct. The wholesale spread is the tiny gap between interbank bid and ask. The retail margin is what a provider adds on top of wholesale pricing for customers. When people say "hidden FX fees" they mean the retail margin — usually 10–100× the wholesale spread.

Why does my margin change between transactions?

Providers vary margin by amount, pair, time of day, market volatility and customer profile. Larger amounts often get tighter pricing. If your margin swings without explanation, ask for a written pricing schedule — or move to a quote-first provider where each transaction’s pricing is explicit.

How does KeyBS Pay’s pricing compare?

KeyBS Pay quotes an executable rate with the fee disclosed and the receive amount committed before approval — from 1.5%, route-dependent. Because everything is disclosed on the quote, you can compute the effective margin on every transaction and hold it against any competitor’s.

Does a rate lock protect me from margin?

No — a lock protects you from market movement between quote and settlement. The margin is set when the rate is quoted. Locks and tight margins are both worth having; they solve different problems.

Replace assumptions with a committed quote

Executable rate, disclosed fee, committed receive amount — before you pay anything.

Request a Quote
Keep exploring

Recommended for you

Ask AI about this page