All in cost

What is All-in cost in forex and CFD trading

All-in cost is the total expense associated with executing a round-turn trade, encompassing all explicit and implicit fees charged by the broker and the market. The all-in cost matters for real trading decisions because it represents the minimum price movement required to break even, excluding execution slippage and allows for accurate comparison between different broker pricing models. Traders verify the all-in cost by summing the dollar equivalent of the spread, any commission, and any overnight swap fees accrued for the position. The all-in cost is the most crucial metric for high-frequency and algorithmic strategies where execution efficiency determines profitability. To understand this term in context with others, explore our comprehensive glossary of trading terms.

Key facts about All-in cost

  • Components: The all-in cost is the sum of the variable spread, the commission, and the swap or rollover fee for the full round turn.
  • Calculation Formula: All-in Cost = Spread Cost + Commission Cost + Swap Cost (if applicable for holding overnight).
  • Metric Importance: It is the most accurate measure of a broker’s pricing competitiveness, reflecting the total amount of P&L required to break even on a trade.
  • Units: All-in cost is most practically measured in pips equivalent (for easy comparison to price movement) or US dollars per standard lot.
  • Short-Term Cost: For intraday traders, the all-in cost simplifies to the spread plus commission, as swap is not incurred.
  • Volatility Impact: The variable spread is the component of all-in cost most affected by market volatility and liquidity conditions.

How All-in cost works in forex and CFD trading

The all-in cost concept works by systematically quantifying every transaction-related debit applied to a trader’s account, allowing for a single, consolidated figure of the trading expense.

The calculation follows these steps:

  1. Spread Cost Determination: The variable spread at the moment of execution is converted into a dollar value based on the position size and currency pair.
  2. Commission Addition: The broker’s fixed fee (commission) for the full round turn (open and close) is added to the spread cost.
  3. Overnight Cost Inclusion: If the trade is held past the end-of-day rollover time (typically 5 PM New York time), the swap fee (or credit) is calculated and added to the total cost.
  4. Total Aggregation: All three components are summed to yield the total all-in cost for the transaction.

All-in Cost Total = (AskBid) in pips × Pip Value + Commission Round Turn + Swap Net

Example of All-in cost with a real trade

This example calculates the all-in cost for a standard EUR/USD position held overnight at Afterprime.

Instrument: EUR/USD
Position size: 1 standard lot (100,000 units)
Pip Value: $10.00/pip
Cost Components:
Raw Spread (Average at entry): 0.2 pips
Commission (Round Turn): $0.00 per lot
Swap (1 day debit): $2.80 per lot
Spread Cost Calculation: 0.2 pips × $10.00/pip = $2.00
Commission Cost Calculation: $0.00
Swap Cost Calculation: $2.80
All-in cost Calculation: $2.00 + $0.00 + $2.80 = $4.80

Result: The total all-in cost for holding the 1 lot position for one night is $4.80.
For intraday trades where swap does not apply, the all-in cost is $2.00 per standard lot.

How All-in cost affects your cost and risk

The all-in cost provides a practical framework for risk management by defining the minimum required profit to cover expenses, thus directly influencing strategy selection.

All-in cost compared with related concepts

All-in cost vs Spread

The all-in cost is the total monetary expense, incorporating the spread as only one of its components, whereas the spread is solely the difference between the bid and ask price, reflecting only the immediate execution cost.

All-in cost vs Effective Spread

All-in cost is a forward-looking or total retrospective cost encompassing spread, commission, and swap, while the effective spread is a single retrospective metric that combines the spread and commission into an equivalent pips figure to assess liquidity post-execution.

How Afterprime handles All-in cost

Afterprime delivers the lowest all-in cost structure in the industry through zero commission on all instruments combined with institutional-grade raw spreads averaging 0.2 pips on EUR/USD. This structure eliminates the fixed commission component entirely, reducing the intraday all-in cost to spread alone.

For overnight positions, swap fees are derived directly from underlying interbank rates with full transparency, ensuring predictable holding costs. The combination of zero commission and tight spreads results in 43% lower all-in cost than the second-best competitor and 74% lower cost than the industry average.

Afterprime Flow Rewards further reduce effective all-in cost by paying up to $3.00 per lot traded, creating a structural edge that offsets transaction costs and can materially offset transaction costs and improve net performance for high-volume traders. At 50 lots per month, Flow Rewards deliver $150 in cost offset. At 200 lots per month, this increases to $600. At 1,000 lots per month, traders receive $3,000 in Flow Rewards, fundamentally altering the cost equation for active strategies.

Broker differences in All-in cost across the industry

The total all-in cost varies significantly based on the broker’s liquidity model, which determines the combination of the spread and commission.

How to verify All-in cost on your trading platform

To verify the total all-in cost incurred on a platform like MT4 or MT5, follow these steps:

  1. Open MT4 or MT5 and place a market order for 1 standard lot of EUR/USD.
  2. Immediately check the trade’s P&L in the Terminal window under the Trade tab. The initial negative figure represents the spread cost. Check the Comments or Commission column to verify commission charges.
  3. Calculate the dollar value of the spread cost from the initial negative P&L.
  4. Hold the position past the broker’s daily rollover time (usually 5 PM New York time) to incur the swap fee.
  5. Navigate to the Account History tab after the rollover time and locate the swap entry to see the swap fee applied.
  6. Sum the spread cost (from step 3), the full round-turn commission (if any), and the swap charge from the account statement.
  7. Sanity check: For Afterprime, the sum of the spread cost for a 1 lot intraday EUR/USD trade should be approximately $2.00 with zero commission. For standard ECN accounts with $7 commission, expect approximately $9.00 total all-in cost.

Related Tools

Use these calculators to apply what you've learned:

No Fine Print. Better Trading Economics.

Built on transparency. Lowest total trading costs.
Execution you can measure. Rewards shared with you.

Invite only access for approved trading profiles.