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
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
Enter the rate you were offered
From the quote, the app screen or your statement — exactly as quoted, same direction as the reference.
- 3
Enter the conversion amount
The margin cost scales linearly, so use your real transaction size to see the real cost.
- 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.
Corridors, tools and reading for this calculator
More calculators
Replace assumptions with a committed quote
Executable rate, disclosed fee, committed receive amount — before you pay anything.
Request a Quote