Trading cost calculator: spread, commission and swap
Every trade pays the spread, often a commission, sometimes slippage and swap. See what that adds up to per trade, per month and per year – and how much of your edge it eats.
Your trade
Symbol specification
Cost per trade
Cost at other volumes
Results are estimates for planning and education. They depend on the inputs and on your broker's contract specification, and they are not a promise of any profit or of passing any evaluation. Trading involves risk; see the risk disclaimer.
Do this inside MetaTrader
Measure the real costs of your own account instead of estimating them: spread at entry and exit, slippage, commission and swap for every trade, per EA and per symbol.
The four costs of a trade
- Spread: the difference between the bid and ask price. You pay it once per round trip – buying at the ask and selling at the bid. It varies with the time of day and widens around news and at the daily rollover.
- Commission: charged per lot on raw-spread or ECN accounts, usually quoted per round turn (open and close). Accounts without commission normally have a wider spread instead.
- Slippage: the difference between the price you asked for and the price you got. It is small for limit orders and in liquid hours, larger for stop orders and fast markets.
- Swap: the overnight financing charge or credit for positions held past the daily rollover; on many brokers Wednesday's swap counts three nights.
The calculator converts the pip-based costs into money with the pip value of the symbol, adds the commission and swap, and expresses the total in money and in pips.
Cost in R: the number that matters
A cost of 17 USD means little on its own. Divided by the money at risk it becomes comparable: with a 20-pip stop on one lot of EURUSD the risk is 200 USD, so 17 USD is 0.085 R. A strategy that earns +0.15 R per trade after costs earned +0.235 R before them – costs took more than a third of the edge. Short stops make the same spread a larger share of the risk, which is why scalping systems are so sensitive to costs.
Break-even win rate
Without costs, a strategy with a reward-to-risk of 1.5 breaks even at a 40 % win rate. Every trade's cost has to be paid on top: the break-even win rate becomes (1 + cost in R) ÷ (reward-to-risk + 1). With 0.085 R of costs it rises to 43.4 %. If your real win rate is close to the break-even line, cutting costs is the cheapest improvement you can make.
Ways to reduce costs
- Trade in the liquid hours – the London and New York overlap – when spreads are tightest.
- Avoid the minutes around the daily rollover and high-impact news, when spreads widen sharply.
- Compare account types: raw spread plus commission is often cheaper than a "no commission" account for active traders.
- Use wider stops and targets where the strategy allows it, so the fixed cost is a smaller share of each trade.
- Check positive and negative swaps before holding positions for days or weeks.
The defaults in the calculator are typical examples. Your broker's actual spread, commission and swap are shown in the symbol specification and in your trade history.
Frequently asked questions
How do I calculate the spread cost of a trade?
Multiply the spread in pips by the pip value of your position. One lot of EURUSD has a pip value of 10 USD, so a 0.8-pip spread costs 8 USD per round trip.
Is commission charged per side or per round turn?
Brokers quote both. Enter the round-turn amount (open plus close) per lot; if your broker quotes per side, double it.
What does "cost in R" mean?
It is the trade's total cost divided by the money you risk to the stop loss. It shows how much of each trade's risk budget goes to costs and lets you compare strategies with different stop sizes.
Why is my expectancy after costs needed?
If you enter your average result per trade after costs in R, the calculator adds the costs back to show your edge before costs and the share of it that costs take. It is optional.
Are the default spread and commission values my broker's?
No. They are typical examples. Use your broker's specification, or measure the real values from your own trade history.
More free tools
Position Size Calculator
Lot size from balance, risk and stop loss, plus pip value for forex, metals, indices and crypto.
Open the tool →Prop Firm Challenge Calculator
Maximum risk per trade, losing streaks you can survive and a Monte Carlo pass-rate estimate for any challenge rules.
Open the tool →MT5 Backtest Report Analyzer
Equity curve, monthly returns, Monte Carlo drawdowns and a robustness score from your Strategy Tester report.
Open the tool →Risk of Ruin Calculator
Chance of a ruinous drawdown, gain needed to recover, losing streaks and the Kelly fraction.
Open the tool →Currency Correlation Table
Correlation of forex pairs, gold, indices and Bitcoin over 3 months, 1 year and 5 years, plus an exposure checker.
Open the tool →Forex Market Hours Clock
Sydney, Tokyo, London and New York sessions and their overlaps in your time zone, with daylight saving.
Open the tool →Compounding Calculator
Balance projection from a monthly return, return needed for a goal, and a Monte Carlo range with drawdown risk.
Open the tool →