Home / Learn / What Is a CFD? Contracts for Difference Explained
What is a CFD?
A contract for difference (CFD) is an agreement with a broker to exchange the change in an asset's price between the time a position is opened and the time it is closed. The trader never owns the asset itself.
How a CFD works
A CFD tracks the price of an underlying market such as a share, a stock index, a currency pair, a commodity or a cryptocurrency. Opening a position means agreeing a quantity and a direction with the broker:
- Buy (long) profits if the price rises and loses if it falls.
- Sell (short) profits if the price falls and loses if it rises.
When the position is closed, the difference between the opening and closing price, multiplied by the position size, is paid to or by the trader.
Leverage and margin
CFDs are traded on margin. The trader deposits only part of the position's value, and the broker effectively lends the rest. A margin requirement of 20% means a position worth 2,000 needs 400 of margin. Gains and losses are still calculated on the full 2,000, so a 5% price move changes the account by 100, which is 25% of the margin used. Leverage therefore magnifies losses as much as gains. The guide How leverage and margin work covers this in detail.
Costs of trading CFDs
- Spread: the gap between the buy and sell price. A position starts slightly negative because of it.
- Commission: some brokers charge a fee per trade, especially on share CFDs.
- Overnight financing: positions held past the daily cut-off usually pay (or occasionally receive) a financing charge.
- Currency conversion: trading a market priced in another currency can add conversion costs.
CFD prices compared with exchange prices
A CFD price is set by the broker, usually based on the underlying market. It can differ slightly from the exchange price, and some brokers quote markets such as indices around the clock even when the underlying exchange is closed. Charts on this site that show broker CFD symbols reflect that broker's quotes, not necessarily the exchange.
Main risks
- Losses can exceed what was expected, and fast markets can move past a stop-loss level (slippage).
- A margin call or automatic close-out can happen if the account falls below the broker's margin requirement.
- The trader depends on the broker, so the broker's regulation and financial strength matter.
- CFDs are restricted or banned for retail clients in some countries, including the United States.
A full worked example
Suppose a share trades at 100.00 and a broker quotes its CFD at 99.95 to sell and 100.05 to buy. The spread is 0.10. A trader buys 50 CFDs at 100.05, so the position is worth 5,002.50. With a 20% margin requirement the broker sets aside 1,000.50 of the account as margin.
- The next day the share rises to 104.00 and the CFD is quoted 103.95 / 104.05. Closing means selling at 103.95: profit = 50 × (103.95 − 100.05) = 195.00.
- Overnight financing for one night might be a few cents per CFD, for example 0.70 in total, so the net result is about 194.30.
- If the share had fallen to 96.00 instead (CFD 95.95 / 96.05), closing at 95.95 would lose 50 × (100.05 − 95.95) = 205.00, plus financing.
The 4% move in the share produced a gain or loss of about 20% of the margin used. That is leverage at work.
CFDs compared with owning the share
| Owning the share | CFD on the share | |
|---|---|---|
| Ownership | Yes, with voting rights | No, a contract with the broker |
| Money needed | The full price | Only the margin |
| Profit from falls | Not directly | Yes, by selling (going short) |
| Holding costs | Usually none beyond fees | Overnight financing every night |
| Main risk | The share can fall to zero | Losses grow with leverage and can be quick |
Common mistakes
- Sizing by the margin, not the exposure. A 1,000 margin can control a 5,000 position. Risk should be judged on the 5,000.
- Holding for months. Financing is charged every night, so CFDs suit shorter holding periods; over long periods the cost adds up.
- Trading without a stop-loss. A fast move against a leveraged position can take a large share of the account in minutes.
- Ignoring the broker. Your money sits with the broker, so its licence and the protections in your country matter as much as the price.
Try it on Intraday Markets
The charts on the stock pages show CFD prices from regulated brokers, which can trade when the exchange is shut. Compare brokers and their regulators on our broker comparison, and read how to check a broker's regulation before opening an account.
Frequently asked questions
Can I lose more than I deposit?
With many brokers that serve retail clients in the UK and the European Union, negative balance protection limits losses to the money in the account. Elsewhere this protection may not apply, so check your broker's terms.
Are CFDs legal in the United States?
No. CFDs are not offered to retail clients in the United States.
Why does the CFD price differ from the exchange price?
The broker sets the CFD price from the underlying market and adds its spread. Index CFDs are often priced from futures, and some trade around the clock.
CFDs compared with buying the asset
Buying a share outright and buying a CFD on the same share both gain when the price rises, but they are different products. A shareholder owns part of the company, can hold the share for decades without paying financing, receives dividends directly and may vote at meetings. A CFD holder owns only a contract with a broker. Dividends are usually paid as a cash adjustment, there is no vote, and holding the position for months means paying financing every night, which can add up to several percent of the position's value each year.
The differences explain how CFDs are mostly used: for short-term trades, for going short as easily as going long, and for trading many markets from one account. For a long-term investment in a company, owning the share (or a fund holding it) is usually cheaper and simpler.
How brokers make money on CFDs
Most CFD brokers earn from the spread, from commissions and from overnight financing. Some act as market makers, which means they take the other side of client trades instead of passing every order to an exchange. That is legal and regulated, but it is a reason to look for brokers that publish how they execute orders, how often prices slip and what share of their clients lose money, a figure that regulators in the UK and the EU require them to display. A broker that offers bonuses for depositing more money or presses clients to trade larger is a warning sign.
Who should avoid CFDs
CFDs are a poor fit for money that is needed in the near future, for anyone who has not yet worked out how much they could afford to lose, and for people who find it hard to close a losing position. Practising with a demo account first, using small sizes and setting a maximum loss per day are simple ways to find out whether this kind of trading suits you before real money is at stake.
Worked example: a CFD on a share index, including costs
You open a CFD to buy 2 contracts on the US 500 index at 5,000, where each point is worth $1 per contract. The position is worth $10,000 (5,000 × $1 × 2). With 20:1 leverage, the margin is $500. The spread is 0.6 points, which costs $1.20 when you open.
- The index rises to 5,060: the gain is 60 points × $2 = $120, less the spread.
- You hold for 10 nights: overnight financing at about 7% a year on $10,000 is roughly $1.90 a night, or $19, which comes off the gain.
- The index falls to 4,900 instead: the loss is 100 points × $2 = $200, 40% of the $500 margin, from a 2% move in the index.
The example shows the two features that matter most: a small index move makes a large difference to the margin you put up, and holding costs add up over time, which is why CFDs are mostly used for short-term trading. Regulators require brokers in the UK and EU to publish the share of their retail clients who lose money on CFDs, and that figure is usually between about 60% and 80%.
Questions beginners ask
Do I own the shares with a share CFD? No. You have a contract with the broker on the price. You have no voting rights, and dividend adjustments are made in cash.
Why can't US residents trade CFDs? US rules do not allow retail CFD trading, so US-regulated brokers do not offer them.
Key points
- A CFD pays the difference in price; the asset is never owned.
- Leverage magnifies both profits and losses.
- Spreads, commissions and overnight financing reduce returns.
- Check a broker's regulation and the rules in your country before trading.