Trading cost and break-even sensitivity calculator

Small execution costs can consume a large fraction of a tight stop. Convert spread, slippage, commission and financing into money and R, then see how they affect expectancy and the break-even win rate. Use measurements from your own execution records.

The exchange rate is account-currency units for one quote-currency unit. Financing is signed for this whole position, rather than per lot or per night. All other entered costs are non-negative. Use a dot for decimals.

The tool is loading. If it does not become ready, enable JavaScript and reload this page.

Processing stays in your browser. No account or upload is required. Results depend on your inputs and are educational calculations rather than investment advice.

Put every cost in the same units

Position pip value = lots × contract units × pip size × quote-to-account rate.
1R = stop distance in pips × position pip value.
Net round-trip cost = (additional spread + adverse slippage) × position pip value + commission per lot × lots − signed whole-position financing.

Cost in R = net round-trip cost ÷ 1R.
Gross expectancy = p × average winning R − (1 − p) × average losing R.
Net expectancy = gross expectancy − cost in R.
Break-even win rate = 100 × (average losing R + cost in R) ÷ (average winning R + average losing R).

These formulas apply a constant average cost to every trade, winning or losing. Financing credits can make the net cost negative. A break-even threshold above 100% means no feasible hit rate breaks even under those assumptions. A planned take-profit ratio does not establish the realised average winning outcome or hit rate.

Avoid counting a cost twice

If entry and exit prices are actual fills, spread is usually already reflected in them. If journal averages are already net of the entered costs, choose Already net: the cost budget remains visible, but it is not deducted from expectancy again. Sensitivity is then disabled because adjusting a cost already embedded in outcome averages requires reconstructing the matching gross outcomes.

The sensitivity table keeps win rate and payoff multiples fixed while changing one cost assumption or the monetary stop-risk denominator. Changing a real stop can also change hit rate and realised payoffs. The table is an arithmetic comparison, not a suggestion to widen or tighten a stop. Totals across trades use constant monetary R and no compounding.

Worked example

One 100,000-unit EUR/USD lot on a USD account has a 10 USD pip value. A 20-pip stop defines 200 USD as 1R. One pip of additional spread, one pip of adverse slippage, 5 USD round-trip commission and −2 USD financing produce 27 USD net cost, or 0.135R. At 45% wins, a 2R average win and a 1R average loss, gross expectancy is 0.35R, net expectancy is 0.215R and the break-even win rate is 37.83%.

Embed the cost calculator

Add the compact calculator to your site. Copy the iframe and resize script together; keep the attribution inside the widget. Give each iframe a unique matching ID if you embed several.

<iframe id="fm-trading-costs" src="https://forexmechanics.com/tools/trading-costs/embed/" width="100%" height="1000" style="max-width:600px;border:1px solid #bfd0e0;border-radius:8px" title="Trading cost calculator by ForexMechanics" loading="lazy"></iframe>
<script>
(function () {
  var frame = document.getElementById('fm-trading-costs');
  window.addEventListener('message', function (event) {
    if (event.origin !== 'https://forexmechanics.com' || event.source !== frame.contentWindow) return;
    var data = event.data;
    if (!data || data.type !== 'fm-calculator-height' || typeof data.height !== 'number' || !Number.isFinite(data.height)) return;
    var height = Math.ceil(data.height);
    if (height < 200 || height > 3000) return;
    frame.style.height = height + 'px';
  });
})();
</script>

Related calculations

Method and tool reviewed 26 October 2026. Editorial methodology · About the author

← All tools and calculators

Jarosław Wasiński

Editor-in-chief, ForexMechanics.com • Macro & FX analyst

Independent analyst and practitioner with over 20 years of experience in financial markets. Actively involved in Forex since 2007, with a focus on fundamental analysis, OTC market structure, and disciplined capital risk management.

  • Creator and editor-in-chief of MyBank.pl, providing reliable financial education since 2004.
  • Author of hundreds of in-depth market commentaries, structural analyses, and educational materials for traders and investors.
  • Advocate for market transparency, promoting education grounded in hard data and institutional reports (BIS, ESMA, CFTC).

All content is educational and informational only – it does not constitute investment advice or a recommendation. Remember: leveraged trading (Forex/CFD) carries a high risk of rapid capital loss.