CFD Trading

How Are CFD Profits Actually Calculated? Full Worked Examples for 2026

FiveTec Editorial Team | Published on September 4, 2026 | 5 min read

decoration

How to Build a Trading Journal and Why Every Trader Needs One [2026] If there is one thing that separates traders who survive their first year from the ones who blow up, it is the ability to calculate profit and loss before entering a trade. Not after. Before.

Most retail traders open positions and then wait for the platform to tell them whether they won or lost. The green or red number pops up in the position window, and that is their entire relationship with the math. This is exactly why so many of them end up overleveraging, undersizing winners, and blowing accounts on trades that "did not seem that bad" until the loss actually appeared.

The good news is that CFD profit calculation is genuinely simple once you understand two things: contract size and lot size. Let me walk you through the exact formula, with worked examples across forex, gold, and a demonstration of how leverage actually affects your losses, using current market conditions as of September 2026.

The Direct Answer

CFD profit equals (Close Price minus Open Price) multiplied by Number of Lots multiplied by Contract Size. That single formula works identically across every asset class you can trade as a CFD: forex, gold, oil, indices, stocks, and cryptocurrency. The only thing that changes between instruments is the contract size number. For forex majors, contract size is 100,000 units per standard lot. For gold, it is 100 troy ounces per lot. For most stock CFDs, it is 1 share per CFD unit. Understanding this formula, plus how leverage affects margin (not profit or loss), is the foundation of every position sizing decision you will ever make.

What Actually Determines Your CFD Profit

Every profitable CFD trader watches four variables before opening any position. Miss any of them and you are trading blind.

Contract size. This is the fixed number of units that one full standard lot represents for a specific instrument. Forex majors are always 100,000 units of the base currency. Gold (XAU/USD) is typically 100 troy ounces. WTI oil is typically 1,000 barrels. Stock CFDs are typically 1 share per CFD unit. Your broker publishes the exact contract size in the platform specifications, which you can view on MT5 by right-clicking any symbol and selecting Specification.

Lot size. This is the multiple or fraction of the standard contract size that you are actually trading. A 1.0 lot position is a full standard lot. A 0.10 lot position is 10% of standard (mini lot). A 0.01 lot position is 1% of standard (micro lot). Lot size is the variable you control at trade entry, and it directly determines how much a specific price move costs or earns you.

Price movement. The difference between your open price and close price, measured in pips for forex or points for other instruments. This is what you are actually speculating on with a CFD trade, and everything else in the calculation exists to convert that price movement into a dollar amount on your account.

Direction. Whether the position is long (buy, profit if price rises) or short (sell, profit if price falls). The formula reverses the price positions depending on direction, but the mechanics remain identical.

The Universal CFD Profit Formula

Here it is in the simplest possible form.

For LONG (buy) positions: Profit = (Close Price minus Open Price) x Number of Lots x Contract Size

For SHORT (sell) positions: Profit = (Open Price minus Close Price) x Number of Lots x Contract Size

That is the entire formula. Every CFD platform in the world uses this calculation. Currency conversion applies if the profit is not in your account's base currency, and commissions plus swap fees reduce your net result, but the core arithmetic never changes.

The three things you need before applying it are your entry price, your exit price, and the contract size for the instrument. Once you have those, the profit or loss on the trade is one line of math.

What Is a Lot in CFD Trading

A lot is the standardised trading unit used to express position size in CFD markets. Rather than trading in exact dollar amounts, positions are quoted in multiples or fractions of a lot, which corresponds to the fixed contract size of the instrument.

Standard lot (1.0). The full contract size for the instrument. For forex majors like EUR/USD, this is 100,000 units of the base currency. One standard lot on EUR/USD at 1.0850 means you are controlling roughly $108,500 of currency exposure. Pip value works out to $10 per pip.

Mini lot (0.1). 10% of the standard lot. For EUR/USD this is 10,000 units, with a pip value of $1 per pip. Mini lots are the sweet spot for most retail traders because they allow meaningful position sizes without requiring the large capital that standard lots need for proper risk management.

Micro lot (0.01). 1% of the standard lot. For EUR/USD this is 1,000 units, with a pip value of $0.10 per pip. Micro lots are ideal for beginners because a 100 pip move only equals $10 profit or loss, letting new traders practise real market conditions without significant capital risk.

Nano lot (0.001). 0.1% of the standard lot. Available at some brokers but not universally offered. For EUR/USD this is 100 units, with a pip value of $0.01 per pip. Useful for extreme position sizing precision on small accounts.

A Real EUR/USD CFD Calculation

Let me walk you through a specific worked example using current conditions.

Say EUR/USD is trading around 1.1570 in early September 2026, and you take a long position at 1.1550 expecting a move up to 1.1620 based on a technical setup at support.

The trade:

  • Position: Long 0.5 lots EUR/USD
  • Open price: 1.1550
  • Close price: 1.1620
  • Contract size: 100,000 units per standard lot

The calculation: Profit = (1.1620 minus 1.1550) x 0.5 x 100,000 Profit = 0.0070 x 0.5 x 100,000 Profit = $350

Expressed in pips, that is 70 pips gained. Pip value on 0.5 lots equals $5 per pip. 70 pips times $5 equals $350, which is the same answer via the shortcut method.

If the same trade had gone against you and stopped out at 1.1520 (a 30 pip loss), the calculation would produce a loss of $150. The formula is identical, only the direction of the price movement changes the sign of the result.

A Real Gold (XAU/USD) CFD Calculation

Gold uses a different contract size than forex, which is exactly why traders who assume the formula works identically across instruments frequently miscalculate their gold positions. Gold has been trading around $4,050 to $4,100 per ounce through August and early September 2026.

The trade:

  • Position: Long 0.10 lots gold (XAU/USD)
  • Open price: $4,050.00 per ounce
  • Close price: $4,080.00 per ounce
  • Contract size: 100 troy ounces per standard lot

The calculation: Profit = (4,080.00 minus 4,050.00) x 0.10 x 100 Profit = 30.00 x 0.10 x 100 Profit = $300

Notice how 0.10 lot on gold controls 10 ounces of exposure ($40,500 notional at $4,050 per ounce). A $30 gold move on that position size produced $300 profit. The same $30 move on 1 full lot would have produced $3,000. This is why position sizing on gold specifically requires the same discipline as forex, despite the different contract mechanics.

How to Calculate CFD Loss With Leverage

This is where most beginner confusion sits, and understanding it correctly is genuinely essential before opening any live CFD position. The critical insight: leverage does not change your profit or loss on a trade. It only changes how much margin you need to open the position.

Your actual profit or loss is always calculated using the formula above, based on the price movement and position size. Leverage simply determines how much of your own capital is tied up as margin while the position is open.

Let me demonstrate with a specific scenario. Say you buy 1 standard lot EUR/USD at 1.1550 and the trade stops out at 1.1500 (a 50 pip loss).

Loss calculation, which is leverage-independent: Loss = (1.1500 minus 1.1550) x 1.0 x 100,000 Loss = minus 0.0050 x 1.0 x 100,000 = minus $500

Margin required at different leverage levels (position size approximately $115,500):

  • 30:1 leverage: $115,500 / 30 = $3,850 margin required
  • 50:1 leverage: $115,500 / 50 = $2,310 margin required
  • 100:1 leverage: $115,500 / 100 = $1,155 margin required
  • 500:1 leverage: $115,500 / 500 = $231 margin required

The loss is $500 in every case. Leverage only changes the minimum capital needed to hold the position.

The critical implication: at 500:1 leverage with only $231 margin holding a full standard lot, a $500 loss would completely wipe out that margin and trigger a margin call or stop-out. At 30:1 leverage with $3,850 margin holding the same position, the same $500 loss only represents 13% of margin. This is exactly why regulators like ESMA capped retail leverage at 30:1 on major forex pairs. Higher leverage does not create bigger losses in absolute terms, but it dramatically increases the probability of position-destroying losses relative to the capital you have at risk.

The Three Costs That Reduce Your Net Result

The profit formula gives you your gross result. Your actual net profit or loss is affected by four cost categories.

Spread. Charged at entry, built into the difference between the bid and ask prices. On a Raw ECN account with 0.0 pip spreads on EUR/USD during major sessions, spread cost is minimal. On a Standard account with 1.2 pip spread, a 0.10 lot EUR/USD position starts with an immediate $1.20 loss that must be recovered before profit begins.

Commission. Charged separately on ECN accounts, typically $3 to $7 per side per standard lot. On 0.10 lots, this works out to about $0.30 to $0.70 per side, or $0.60 to $1.40 round trip.

Overnight swap fees. Charged daily on every position held past the daily rollover time (typically 22:00 GMT). Can meaningfully compound on multi-day positions. Wednesday triggers triple swap to cover the weekend settlement, which is a common cost trap for swing traders.

Currency conversion. If your profit is denominated in a currency different from your account base currency, the broker converts it at the current exchange rate when you close the position, typically with a small conversion fee or spread.

Always factor all four costs into your realistic profit expectations before opening any position. The gross calculation and the net result on your account can differ significantly, especially on shorter-term high-frequency trading where costs represent a larger percentage of each trade's outcome.

The Three Mistakes New Traders Make With Profit Calculation

I see the same three mistakes constantly. Fix these and you are ahead of most retail traders.

Confusing leverage with position sizing. Many beginners believe 500:1 leverage means they can afford to take bigger losses because "leverage protects them." It does not. Leverage only changes margin requirements. The actual loss on a bad trade is determined by position size and price movement, not by the leverage ratio. Focus on position size for risk management, not leverage.

Forgetting to include costs in the calculation. A 20 pip profit on a Standard account with 1.5 pip spread only nets you 18.5 pips. On a scalping strategy targeting 5 to 10 pip moves, that spread cost can eliminate the entire edge. Always calculate gross minus all costs before evaluating whether a strategy is genuinely profitable.

Not calculating profit before entry. Traders who only check their P&L after closing the position have no framework for deciding position size. If you cannot answer "how much will I lose if my stop is hit" before you enter, you should not enter. Do the math first, size the position accordingly, then place the trade.

Frequently Asked Questions

How do you calculate profit on a stock CFD? For stock CFDs, contract size is typically 1 share per CFD unit. So the formula simplifies to: Profit = (Close Price minus Open Price) x Number of CFDs. Example: buying 100 Apple CFDs at $180 and closing at $185 equals ($185 minus $180) x 100 = $500 profit. Add or subtract commission and any dividend adjustments received during the holding period.

What is pip value and how do you calculate it? Pip value is the profit or loss per pip of movement on your position. For USD-quoted forex majors, pip value equals (Lot size x Contract size) x 10 to the power of negative digits. For 1 standard lot EUR/USD, this is (1 x 100,000) x 0.0001 = $10 per pip. For 0.10 lot it is $1 per pip. For 0.01 lot it is $0.10 per pip. Multiplying the pip movement by pip value gives your profit or loss in one step.

Does the profit formula work the same for going short? Yes, with the price positions reversed. For short positions, you profit when price falls, so the formula becomes (Open Price minus Close Price) x Lots x Contract Size. Everything else works identically. Short positions on dividend-paying stock CFDs also incur a dividend adjustment debit on the ex-dividend date, which reduces net profit.

What is the difference between realised and unrealised profit? Unrealised profit or loss is the current value of open positions based on live market prices. It fluctuates continuously and only becomes real when you close the position. Realised profit or loss is the actual profit or loss recorded to your account balance after closing. Only realised P&L affects your withdrawable balance. Unrealised P&L only affects your available margin and equity displayed on the platform.

Can you use an online CFD profit calculator instead of the formula? Yes, and most brokers provide one. However, understanding the underlying formula matters because calculators cannot replace your ability to estimate profit or loss quickly before entering a trade. Traders who rely entirely on calculators often skip the mental math that reveals when a position size is inappropriate for their account. Learn the formula first, use calculators as verification.

How does currency conversion affect the profit calculation? If the profit is denominated in a currency different from your account base currency, the broker converts it at the current exchange rate when you close the position. Example: a EUR/USD long trade produces profit in USD, but if your account is denominated in GBP, the broker converts USD profit to GBP at the current GBP/USD rate. Currency conversion typically involves a small conversion fee or spread.

Do all CFD brokers use the same contract sizes? Almost all use standard industry contract sizes (100,000 units per standard forex lot, 100 ounces per gold lot, 1,000 barrels per oil lot), but there are exceptions. Always verify the exact contract size for each instrument in your broker's platform specifications before assuming the standard applies. Contract size differences can produce meaningfully different profit calculations on the same underlying price move.

Risk Disclosure

Trading CFDs involves a high level of risk and may not be suitable for all investors. Between 74 and 89 percent of retail forex and CFD accounts lose money according to European regulatory data. Leveraged trading can result in losses that exceed your initial deposit unless negative balance protection is provided by your broker. Worked examples in this article use illustrative prices and standard 2026 contract sizes; actual contract sizes vary by broker and instrument and should be verified in your broker's platform specifications before trading. Leverage caps referenced (30:1 for major forex under ESMA rules) apply to retail accounts in the EU, UK, and Australia and may differ in other jurisdictions. All calculations exclude commissions, spreads, swap fees, and currency conversion charges, which will reduce net profit or increase net loss in practice. This content is for educational purposes only and does not constitute financial advice or a recommendation to enter any specific trade. Past performance is not indicative of future results.