Reading time 14 minute(s)

What Is CFD Trading? CFDs Explained

CFD trading is the method of speculating on the underlying price of an asset such as shares, indices, commodities, forex and more without actually owning it.

A CFD, short for "contract for difference," is a type of financial derivative that enables you to trade the price movements of these financial markets. With this form of trading, you don't own the underlying asset — you're only getting exposure to its price movements. This means you can potentially profit from both rising and falling markets.

 

CFD trading is the method of speculating on the underlying price of an asset such as shares, indices, commodities, forex and more without actually owning it.

A CFD, short for "contract for difference," is a type of financial derivative that enables you to trade the price movements of these financial markets. With this form of trading, you don't own the underlying asset — you're only getting exposure to its price movements. This means you can potentially profit from both rising and falling markets.

 

What Is CFD Trading?

A CFD (contract for difference) is a financial derivative that allows you to speculate on price movements without owning the underlying asset. Instead of buying shares, commodities, or currencies directly, you enter into an agreement with a broker to exchange the difference in price between the opening and closing of a position. This is the core meaning of CFDs in trading.

A CFD is based on an underlying asset, such as a stock, index, or commodity, but ownership is not transferred at any point. The contract reflects the price of that asset, and its value changes as the underlying market price changes. This structure distinguishes CFDs from traditional investing, in which ownership rights, such as dividends or voting rights, may apply.

There are several key features of CFDs that make them a unique product:

  • CFDs are a derivatives product - you don't actually own the underlying asset
  • CFDs are leveraged - you only need a fraction of the full trade value to open a position
  • You can profit and incur losses from both rising and falling prices

Why Are CFDs a ‘Derivatives’ Product?

The term ‘derivatives product’ simply means that when trading CFDs, you don’t actually own the underlying asset. You’re simply speculating on whether the price will rise or fall. When you trade a CFD, you are agreeing to exchange the difference in the price of an asset from the moment the contract is opened, to the moment it’s closed.

Let’s take stock investing as an example. You’d like to purchase 10,000 shares of Barclays and its share price is 280p, which means that the total investment would cost you £28,000, not including the commission or other fees your broker would charge for the transaction. In exchange for this, you receive a stock certificate, legal documentation that certifies ownership of shares. In other words, you have something physical to hold in your hands until you decide to sell them, preferably for a profit.

With CFDs, however, you don’t own those Barclays shares. You’re simply speculating from the same movements in share price.

 How Does CFD Trading Work?

A CFD works as a contract between you and the broker to settle the difference between two prices: the price when the contract is opened and the price when it is closed. The contract reflects the change in price of the underlying asset rather than ownership of the asset itself.

To understand how CFDs work, it's important to have a good grasp of the following concepts:

  • Spread and commission
  • Deal size
  • Duration
  • Margin and leverage

Spread and Commission

CFDs are quoted in two prices: the buy price and the sell price, and allow you to profit from both rising and falling prices.

  • If you believe the price of an asset is going to rise, you go long or "buy" and you'll profit from every increase in price.
  • If you believe the price of an asset is going to fall, you go short or "sell" and you'll profit from every fall in price.

Of course, if the markets don't move in the direction you expect, you'll suffer a loss.

So, if you believe, for example, that Apple's share price will fall in value, you simply go short on Apple share CFDs and your profits will rise in line with any fall in price below your opening level. However, should Apple's share price actually rise, you would suffer a loss for every rise in price. How much you profit or lose will depend on your position size (lot size) and the size of the market price movement.

The ability to go long or short, along with the fact that CFDs are a leveraged product, makes CFDs one of the most flexible and popular ways of trading short-term movement in financial markets today.

Deal Size

Trading CFDs is more similar to traditional trading than other derivatives, such as spread bets or options. This is largely due to the fact that CFDs are traded in standardised contracts, or lots. The size of an individual lot depends on the underlying asset being traded, often mimicking how that asset is traded on the market.

Duration of the Trade

More often than not, CFD trades have no fixed expiry. A position can be closed simply by placing a trade in the opposite direction to the one that opened it.

CFDs Explained in Simple Terms

To make the mechanism easier to understand, here are the key ideas to remember:

A CFD gives price exposure, not ownership. You are not buying the actual stock, gold, or currency. You are using a contract whose value changes with the price of that market.

A CFD settles the difference between the entry and the exit price. If the price changes after the contract is opened, that change determines the result.

Margin is only a fraction of the full exposure. For example, if a broker requires 10% margin, a deposit of £1,000 can provide exposure to a position worth £10,000. This makes the contract accessible with less capital, but it does not reduce the size of the market exposure.

Leverage increases both potential gains and potential losses. Because the contract can control a larger position than the initial deposit, even relatively small market moves can have a significant effect on the result.

A CFD can reflect both rising and falling markets. The contract is designed to follow price movement in either direction.

What Is Leverage in CFD Trading?

Leverage means you gain a much larger market exposure for a relatively small initial deposit. In other words, your potential return or loss on your investment is significantly larger than in other forms of trading.

Let’s go back to the Barclays example. Those 10,000 shares of Barclays are at 280p, costing you £28,000 and not including any additional fees or commissions.

With CFD trading, however, you only need a small percentage of the total trade value to open the position and maintain the same level of exposure. Let’s suppose that XTB gives you 5:1 (or 20%) leverage on Barclays shares. This means that you would only need to deposit an initial £5,600 to trade the same amount.

If the price goes up: Barclays shares rise 10% to 308p. The value of the position is now £30,800. So with an initial deposit of just £5,600, this CFD trade has made a profit of £2,800. That's a 50% return on your investment, compared to just a 10% return if the shares were bought physically.

If the price goes down: Barclays shares fall 10% to 252p. The value of the position is now £25,200. So with an initial deposit of just £5,600, this CFD trade has made a loss of £2,800. That's a -50% loss on your investment, compared to just a -10% loss if the shares were bought physically.

The important thing to remember about leverage, however, is that while it can magnify your profits, your losses are also magnified in the same way. So if prices move against you, you may be closed out of your position by a margin call or have to top up your funds to keep it open. This is why it’s important to understand how to manage your risk.

What Is ‘Trading on Margin’ with CFDs?

Trading on margin is simply another term to describe leveraged trading, because the amount of money required to open and maintain a leveraged position is called the "margin." A margin is required to open and maintain a CFD contract. It represents only part of the total exposure created by the contract, which means the full value does not have to be provided upfront.

 CFD Trading Example: How Profit and Loss Work

Understanding how profit and loss are calculated is essential when trading CFDs. The result depends on the difference between the opening and closing price, multiplied by the position size.

Going Long (Buying) — Expecting the Price to Rise

You believe Tesla's share price will rise from its current price of $250.

1. Open a position: You buy 100 Tesla share CFDs at $250. The total exposure is $25,000, but with 5:1 leverage you only need $5,000 as margin.

2. Price moves in your favour: Tesla rises to $270 — an 8% increase.

3. Close the position: You sell your 100 CFDs at $270.

4. Calculate profit: 100 × ($270 - $250) = $2,000 gross profit. That's a 40% return on your $5,000 margin (compared to 8% if you'd bought the shares outright).

Going Short (Selling) — Expecting the Price to Fall

Now imagine you believe Tesla will fall. You sell 100 Tesla share CFDs at $250.

  • Tesla drops to $230 — you close the position.
  • Gross profit: 100 × ($250 - $230) = $2,000.
  • This is a key advantage of CFDs: you can profit from falling prices too.

When the Trade Goes Against You

You buy 100 Tesla share CFDs at $250, but Tesla drops to $230.

  • Loss: 100 × ($250 - $230) = $2,000.
  • That's a -40% loss on your $5,000 margin.
  • This is why risk management tools like stop-loss orders are essential.

Remember that in a high-volatility or low-liquidity environment, slippage may lead to opening or closing the position at a different level than expected.

 

What Can You Trade with CFDs?

CFDs are available across a broad range of global financial markets, which means a single account can provide exposure to very different underlying assets. At XTB, you can trade over 2,600 CFDs across the following asset classes:

  • Shares (Equities) — Gain exposure to the price of individual publicly listed companies, such as Apple, Amazon, or BP, without transferring ownership. CFDs on stocks allow you to speculate on the performance of specific firms across multiple international exchanges.
  • Forex (Currency Pairs)  — Trade the exchange rate between two currencies. CFDs cover major pairs such as EUR/USD or GBP/USD, as well as minor and exotic pairs, making forex one of the most liquid markets accessible through CFDs.
  • Indices — Reflect the collective performance of a basket of stocks from a specific market, such as the S&P 500, Nasdaq 100, DAX, or FTSE 100. Rather than speculating on a single company, index CFDs provide exposure to broader market trends.
  • Commodities — Cover raw materials including energy resources such as oil and natural gas, precious metals such as gold and silver, and agricultural products. CFDs on commodities provide price exposure without the need for physical delivery or storage.
  • ETFs — Exchange-traded funds track baskets of assets and can be traded as CFDs, giving you leveraged exposure to diversified portfolios.

Advantages and Disadvantages of CFD Trading

Advantages

Trade in both directions — You can go long (buy) if you think prices will rise, or go short (sell) if you think they'll fall. This flexibility isn't available with traditional share dealing.

Leverage — You only need a fraction of the full trade value as your initial deposit. This means you can gain larger market exposure with less capital.

Wide range of markets — With one CFD trading account, you can access thousands of markets including shares, forex, indices, commodities and ETFs.

No stamp duty — In the UK, CFD trades are exempt from stamp duty (tax rules may change and depend on individual circumstances).

Hedging — You can use CFDs to offset potential losses in your investment portfolio. For example, if you hold shares that you think might drop temporarily, you can open a short CFD position on those shares to offset some of the loss.


Disadvantages

Leverage amplifies losses — The same leverage that magnifies profits also magnifies losses. You can lose more than your initial deposit.

Overnight fees — Holding positions overnight incurs financing charges, which can add up over time and make CFDs expensive for long-term holding.

Risk of rapid losses — Markets can move quickly, especially during volatile periods. Without proper risk management, losses can accumulate fast.

Not suitable for everyone — 74% of retail investor accounts lose money when trading CFDs with this provider. You should consider whether you can afford the risk of losing your money.

 

 What Are the Risks of CFDs?

CFDs carry several key risks related to leverage, market volatility, and pricing conditions. These risks arise from the structure of the instrument itself, which makes understanding them essential before trading.

Leverage risk: While margin represents only a fraction of the total position size, profit and loss are calculated based on the full exposure. This means that losses can develop quickly and may exceed the initial deposit if the market moves significantly against the position, depending on the protections available on the account.

Market volatility: Financial markets can move rapidly, especially during major news events or periods of uncertainty, and prices may gap between levels without gradual transitions. In such situations, the execution price may differ from the expected price, directly affecting the final outcome of the contract.

Counterparty risk: CFDs are agreements with a broker rather than exchange-traded instruments, which means pricing and execution depend on the provider's infrastructure and conditions. This is an additional dimension of risk that should be understood before trading.

At XTB, your account is protected by negative balance protection, meaning your account balance cannot go below zero. Additionally, your funds are protected up to £120,000 by the Financial Services Compensation Scheme (FSCS).

 

 CFD Trading Costs Explained

Understanding the costs associated with CFD trading is essential for managing your investments and maximising profitability. While CFDs offer flexibility and leverage, they come with specific fees that can affect your returns.

1. Spread

The spread is the difference between the buy (ask) and sell (bid) price of a CFD. It acts as the broker's fee and is typically measured in pips.

Example: If the buy price of a stock CFD is $100 and the sell price is $99.80, the spread is $0.20. This means you start with a $0.20 cost as soon as you open the trade, which you need to recover through price movement before turning a profit.

Tighter spreads mean lower costs. Keep in mind that spreads vary from one broker to another, so it's important to compare them carefully. 

2. Commissions

Some brokers charge a commission on CFD trades, particularly for shares. This is often a percentage of the trade value or a flat fee.

Example: If a broker charges 0.1% commission and you buy $10,000 worth of CFDs, you'll pay $10 to enter the trade and another $10 to exit, totalling $20 in commission.

At XTB, we charge zero commission for transactions up to the equivalent of 100,000 EUR. Thereafter, a commission of 0.2% (minimum 10 GBP) will be charged. A 0.5% currency conversion cost may apply.

3. Overnight Financing (Swap Fees)

When you hold a CFD position overnight, you're essentially borrowing money from the broker to maintain the position. This incurs an overnight financing charge, often based on the interbank interest rate plus a small broker markup.

These charges can add up over time, especially for long-term trades. It's important to check the broker's financing rate and consider whether holding a position overnight aligns with your trading goals.

4. Other Possible Costs

  • Currency Conversion Fees: If your account is in a different currency than the underlying asset, a conversion fee may apply.
  • Guaranteed Stop-Loss Orders: Some brokers charge a premium for these risk management tools.

Why These Costs Matter

Even small fees can erode your profit margins, particularly for traders using leverage or engaging in high-frequency trading.

Here's an illustration: You enter a long CFD position on a stock at $50 with 10x leverage. The position size is $5,000 (you only invest $500). The spread is $0.10, commission is $10 round trip, and the overnight cost is $1 per day.

If the stock rises to $51 (a 2% move), your gross profit is $100. After subtracting $0.10 (spread), $10 (commission), and $2 (overnight charges for two days), your net profit is $87.90. That's still a solid gain — but significantly less than the headline figure. Always factor in costs before placing a trade.

 

CFDs vs Share Dealing

If you're deciding between CFD trading and traditional share dealing, here are the key differences:

Feature                       CFD Trading                                                                                    Share Dealing 

Ownership                 No — you speculate on price movements                             Yes — you own the actual shares 

Leverage                   Yes — trade with a fraction of the full value                            No — you pay the full share price 

Short selling              Yes — profit from falling prices                                               Generally no 

Stamp duty (UK)       No                                                                                            Yes (0.5%) 

Overnight fees          Yes — charges for holding overnight                                       No 

Dividends                  Receive dividend adjustments (long) or pay them (short)        Receive dividends directly  

Best for                     Short-to-medium term trading                                                   Long-term investing 

Both approaches have their place. Many traders use a combination — holding shares for long-term growth while using CFDs to trade short-term opportunities or hedge their portfolio.

*Tax treatment depends on individual circumstances and may change.*

 

How to Start Trading CFDs

If you're new to CFD trading, here's how to get started:

Step 1: Learn the basics

Make sure you understand how CFDs work, including leverage, margin, spreads, and the risks involved. You're already doing this by reading this guide.

Step 2: Choose a regulated broker

Only trade with a broker regulated by a reputable authority like the UK's Financial Conduct Authority (FCA). XTB is authorised and regulated by the FCA (FRN 522157) and your funds are protected up to £120,000 by the FSCS.

Step 3: Open a demo account

Before risking real money, practise with a demo account. This lets you get familiar with the trading platform and test strategies with virtual funds.

Step 4: Develop a trading plan

Decide which markets you want to trade, how much capital you're willing to risk, and what your entry and exit rules are.

Step 5: Start small

When you move to a live account, start with small position sizes until you're comfortable with how the markets move.

Open a free CFD trading account with XTB

 

 How to Build a CFD Trading Strategy

The trading strategy you choose when trading CFDs depends on a number of factors, including:

The time you have available to dedicate to trading — For example, if you have only evenings spare to research potential trades, you'll likely employ a strategy that focuses on longer time frames as you won't be able to check prices regularly throughout the day.

The markets you understand — It's always prudent to only trade markets you understand as opposed to entering trades blindly. What works in some markets may not work in others.

The risk appetite you have — The more willing you are to take on risk, the more aggressive your strategy might be, or the opposite if you want to take on less risk.

The amount of capital you have to invest — This might affect how much your strategy can absorb price swings against you before your trades are affected by low margin.

Technical Analysis vs Fundamental Analysis — Many traders tend to pick between these two popular types of analysis when choosing their strategies, while others may create a hybrid strategy which involves both. Learn more about Technical Analysis and Fundamental Analysis.

 

 Ready to Start Trading CFDs?

XTB offers CFD trading on over 2,600 instruments including forex, indices, shares, commodities and ETFs. With tight spreads, an award-winning platform, and FCA regulation, you can open a CFD trading account today.

Start Trading CFDs with XTB

CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. 74% of retail investor accounts lose money when trading CFDs with this provider. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money.

 


 

 

 

 

 

 

FAQ

A contract for difference (CFD) allows traders to speculate on the future market movements of an underlying asset, without actually owning or taking physical delivery of the underlying asset. CFDs are available for a range of underlying assets, such as shares, commodities, and foreign exchange.

Trading CFDs can be risky, and the potential advantages of them can sometimes be overshadowed by the associated counterparty risk, market risk, client money risk, and liquidity risk. CFD trading can also be considered risky as a result of other factors, including poor industry regulation, potential lack of liquidity, and the need to maintain an adequate margin due to leveraged losses.

CFDs are generally considered short-to-medium term trading instruments. Because CFDs can incur overnight fees if held for long periods of time, most traders use them for shorter-term opportunities. Whether CFD trading is right for you depends on your experience, risk tolerance, and financial goals. 74% of retail investor accounts lose money when trading CFDs with this provider.

 

Yes. CFD trading is legal in the UK and regulated by the Financial Conduct Authority (FCA). The FCA requires that CFD providers limit leverage for retail clients to between 30:1 and 2:1, depending on the asset class. XTB is FCA-authorised (FRN 522157).

 

CFDs are attractive to traders who use leverage to gain larger market exposure. However, leverage amplifies both gains and losses. Combined with market volatility, the need to maintain adequate margin, and the costs of holding positions, many retail traders incur losses. This is why education, risk management, and a solid trading plan are essential.

 

You can trade CFDs on a wide range of markets. At XTB, this includes over 2,600 instruments across forex (currency pairs like EUR/USD), stock indices (like the FTSE 100 and S&P 500), individual company shares (like Apple and Tesla), commodities (like gold, oil, and natural gas), and ETFs — all from a single trading account.

 

The loss from CFD trading is limited by the automatic stop-out mechanism. Your account balance cannot go negative because of negative balance protection, so you can't lose more money than you have deposited in your account. If you want to keep a loss-making position open, you will have to deposit additional funds to increase your margin level.

 

Both CFDs and spread betting let you speculate on price movements without owning the underlying asset, and both use leverage. The main differences are: spread betting profits are currently tax-free in the UK (CFD profits may be subject to capital gains tax), spread betting uses stake-per-point while CFDs use contracts/lots, and CFDs are available in more countries worldwide. Tax treatment depends on individual circumstances and may change.

 

If you trade Stock CFDs, you are entitled to the dividend equivalent. For buy (long) positions, you will receive a positive dividend equivalent on the ex-dividend date. At the same time, the dividend amount is deducted from the share price, resulting in a corresponding movement on the position. For sell (short) positions, you will receive a negative dividend equivalent, offset by the price adjustment. Both situations are technical and do not directly affect the overall outcome of the position.

No. Leverage is assigned to an instrument and you cannot change it yourself. For major currency pairs such as EUR/USD, you will have access to leverage of 1:30, while for shares, leverage may be as low as 1:2. It is possible to access higher leverage by becoming a Professional Client — contact your Account Manager for details.

 

stop-loss is a risk management tool that automatically closes your trade if the price moves against you by a certain amount. For example, if you buy a CFD at $100, you might set a stop-loss at $95 — meaning your trade will automatically close if the price drops to $95, limiting your loss to $5 per unit. Stop-losses are essential for managing risk in leveraged trading.

 

Delilah L.

Go to the expert 
3 minutes

England vs Croatia: Markets to Watch Ahead of the World Cup Clash

4 minutes

Keir Starmer Resigns: What It Means for GBP, Gilts and UK Markets

4 minutes

CFDs vs Spread Betting UK: What's the Difference?

This content has been created by XTB S.A. This service is provided by XTB S.A., with its registered office in Warsaw, at Prosta 67, 00-838 Warsaw, Poland, entered in the register of entrepreneurs of the National Court Register (Krajowy Rejestr Sądowy) conducted by District Court for the Capital City of Warsaw, XII Commercial Division of the National Court Register under KRS number 0000217580, REGON number 015803782 and Tax Identification Number (NIP) 527-24-43-955, with the fully paid up share capital in the amount of PLN 5.869.181,75. XTB S.A. conducts brokerage activities on the basis of the license granted by Polish Securities and Exchange Commission on 8th November 2005 No. DDM-M-4021-57-1/2005 and is supervised by Polish Supervision Authority.