CFD (Contract for Difference)

With CFDs, you can trade forex, stock indices, commodities, shares and cryptocurrencies from a single account, go long when you expect prices to rise or short when you expect them to fall, and use leverage. Leverage magnifies losses as well as gains, so it pays to understand the costs and risks first.
This guide explains how CFDs work, how to calculate profit, loss and margin, which markets you can trade, how CFDs compare with buying shares and with forex margin trading, the costs involved, the main advantages and risks, and how beginners can get started.
- A CFD tracks an asset's price without giving you ownership, and you can go long or short
- Profit or loss = price difference × contract size × lots; required margin = position value ÷ leverage
- CFDs cover forex, indices, commodities, shares and crypto, and maximum leverage differs by product
- The main costs are the spread, swap and slippage; some account types also charge a commission
- Beginners can start by learning the basics and practicing on a demo account before trading small live positions with a stop loss
1. What Is a CFD?
A CFD is an agreement between a trader and a broker to exchange the difference in an asset's price between the time a position is opened and the time it is closed. No shares, gold or oil ever change hands.
The name says it all: you settle only the difference. CFDs have four basic features:
-
No ownership: You trade the price movement only and never receive the underlying shares, metal or coins
-
Two-way trading: You can go long when you expect a rise or short when you expect a fall
-
Margin and leverage: You deposit only part of the position's value as margin to open a larger position
-
Over-the-counter: CFDs are not listed on an exchange; they are traded on the broker's platform, which makes them an over-the-counter (OTC) product
Going Long and Going Short
-
Long (buy): If you expect the price to rise, you buy first and sell later to close the position
-
Short (sell): If you expect the price to fall, you sell first and buy later to close the position

Long example: You buy a crude oil CFD at $70 per barrel and close it at $75. You make $5 per barrel.
Short example: You sell a gold CFD at $3,000 per ounce and buy it back at $2,950. You make $50 per ounce. If the price rises to $3,050 instead, you lose $50 per ounce.
2. How to Calculate CFD Profit, Loss and Margin
Profit and Loss
- Long: P/L = (closing price − opening price) × contract size × lots
- Short: P/L = (opening price − closing price) × contract size × lots
The contract size is the quantity one lot represents, such as one index unit, 100 ounces or one coin. It differs by product and is listed in the contract specifications on your trading platform.
The result is in the product's quote currency, so it may need converting into your account currency. The formula also leaves out the spread, commission and swap.
Margin
Required margin = position value ÷ leverage = price × contract size × lots ÷ leverageExample: You buy one lot of an index CFD with a contract size of 1 at 40,000 points
Position value: 40,000 × 1 × 1 = $40,000
At 100:1 leverage: Required margin = 40,000 ÷ 100 = $400
Close at 40,500: Profit = (40,500 − 40,000) × 1 × 1 = $500
Close at 39,600: Loss = $400, the entire margin
Leverage lets a small amount of margin control a much larger position, but here a 1% move against you is enough to wipe out the whole margin. Before you trade, you can run the numbers with the Titan FX margin calculator.

3. What Can You Trade with CFDs?
At Titan FX, Standard and Blade accounts can trade the following as CFDs:
| Market | Examples | Max leverage |
|---|---|---|
| Forex | About 60 currency pairs | 1,000:1 |
| Gold | Gold | 1,000:1 |
| Other precious metals | Silver, platinum, palladium | 500:1 |
| Major indices | US30, US500, NAS100, JPN225 | 1,000:1 |
| Other indices | European, Asian and other indices | 500:1 |
| Energy | Crude oil, natural gas | 500:1 |
| Soft commodities | Agricultural products | 50:1 |
| Crypto | Bitcoin, ether and more | 100:1 |
| U.S. shares | 100+ stocks | 20:1 |
Leverage on shares, crypto and soft commodities is fixed. For other products, the leverage set on your account applies, up to the maximum above. Micro accounts offer up to 2,000:1 on forex, subject to eligibility, but do not offer indices, energy or shares. Leverage may be temporarily restricted around major economic releases.
Forex CFDs
Trade exchange-rate movements in pairs such as EUR/USD and USD/JPY. The forex market trades almost around the clock on weekdays and is the most heavily traded financial market in the world. For the basics, see What Is Forex Trading?.
Index CFDs
Index CFDs track a stock index, so one trade reflects the direction of an entire market without picking individual stocks.
Popular choices include the Dow Jones (US30), the S&P 500 (US500), the Nasdaq 100 (NAS100) and the Nikkei 225 (JPN225). Index prices respond to economic data, interest rates and corporate earnings.
Commodity CFDs
These include precious metals such as gold and silver, energy such as crude oil and natural gas, and agricultural products.
Commodity prices are driven by geopolitics, interest rates, supply and demand, and the weather. Gold is often treated as a safe haven, while oil is more closely tied to the economic cycle and producer policy.
Crypto CFDs
Trade the price movements of cryptocurrencies such as Bitcoin and ether. You do not need a crypto wallet, and you can trade on weekends.
Crypto usually moves more than forex or indices and carries lower leverage, so size your positions carefully.
Share CFDs
Trade the price movements of large U.S. companies, long or short. Because you do not own the shares, you have no shareholder voting rights.
At Titan FX, share CFDs are available on MT5 only, with leverage fixed at 20:1.
4. CFDs vs. Shares vs. Forex Margin Trading
| CFDs | Shares | Forex margin | |
|---|---|---|---|
| Ownership | No | Yes | No |
| Short selling | Yes | Requires borrowing | Yes |
| Leverage | Yes | Only on margin | Yes |
| Markets | Many asset classes | Single stocks | Currency pairs |
| Holding cost | Swap | Interest only on margin | Swap |
Forex margin trading also uses margin on a broker's platform, so its structure is similar to CFDs. The main difference is scope: forex margin trading covers currency pairs only, while CFDs also cover indices, commodities, shares and crypto.
Compared with buying shares, CFDs let you go short directly and use leverage, but you cannot attend shareholder meetings. Holding a CFD overnight incurs swap, so CFDs suit short- to medium-term trading better; estimate the cost before holding for the long term.
5. CFD Trading Costs
Spread
The spread is the gap between the buy (ask) price and the sell (bid) price. The moment you open a trade, you show a loss equal to the spread, and the more often you trade, the more these costs add up.

For more detail, see What Is a Spread?.
Swap
If you hold a position past the end of the trading day, you pay or receive swap, depending on the product and the direction of your trade. Over long holding periods, this cost keeps adding up.

Commission
Some account types charge a commission. At Titan FX, the Standard account has no commission, with the cost built into the spread. The Blade account offers spreads from 0.0 pips and charges a commission of $3.5 per lot. Share and crypto CFDs carry no commission. See the account comparison for the differences.
Dividend Adjustments
If you hold an index CFD when its constituent stocks go ex-dividend, your account is credited or debited with a dividend adjustment. The amount equals the announced index dividend × lots × contract size, with opposite signs for long and short positions. Past adjustments are listed in the dividend history.
Slippage
When major data is released or liquidity is thin, your order may be filled at a different price from the one you saw. This is slippage, and it can work for or against you.

6. Advantages and Risks of CFD Trading
Advantages
-
Go long or short: You can look for opportunities whether prices rise or fall
-
Capital efficiency: Margin lets you open a larger position than your deposit
-
Many markets in one account: Forex, indices, commodities, shares and crypto are all on one platform
-
No expiry for most products: You decide how long to hold; check each product's specifications on the Titan FX website
Risks
-
Leverage magnifies losses: When the price moves against you, losses grow in line with your leverage. If your equity can no longer support the position, it will be closed through a stop-out
-
Price gaps: After weekends or major news, the market can open beyond your stop loss. A stop order does not guarantee a fill at your set price, so losses can exceed what you planned
-
Swap costs: Over long holding periods, swap eats into profits
-
Broker quality: A CFD is a contract with your broker, so its pricing, execution and handling of client funds all affect your results
7. How to Start Trading CFDs
-
① Learn the basics: Understand how leverage, margin, spreads and swap are calculated, and how opening, closing and stop losses work. If you come across an unfamiliar term, look it up in the Titan FX glossary.
-
② Pick one or two markets you know: For example, gold or a U.S. stock index. Watch how it moves, when it trades and what news affects it. Spreading yourself across too many markets makes it harder to build judgment.
-
③ Choose a broker: Check that pricing and execution are stable, costs are transparent, deposits and withdrawals are convenient, and client funds are segregated from the company's own money. Titan FX, for example, offers MT4 and MT5, spreads from 0.0 pips on the Blade account and a Zero Cut system.
-
④ Practice on a demo account: Use an MT5 demo account to get used to placing orders and setting stop losses and take profits, and watch how margin and P/L change with the price.
-
⑤ Build a simple trading plan: Start with technical analysis and fundamental analysis, and set clear rules for entries, exits and stop losses. The Titan FX market analysis tools overview groups our price, indicator and calculator tools by each step of the trading process.
-
⑥ Start small with real money: Keep leverage and position size under control and set a stop loss on every trade. A common approach is to risk no more than 1% to 2% of your account on a single trade; see the 2% rule. Record the reason for and the result of every trade, and review them regularly.
8. FAQ
Q1. Is CFD trading the same as forex margin trading?
The structure is similar. Both use margin and leverage on a broker's platform, and both let you go long or short. The difference is scope: forex margin trading covers currency pairs only, while CFDs also cover indices, commodities, shares and crypto.
Q2. Can I hold CFDs for the long term?
Yes. Most CFDs have no expiry date. Holding positions overnight incurs swap, though, so estimate that cost before holding for the long term.
Q3. Can I lose more than my deposit with CFDs?
If the price gaps sharply, your account balance can turn negative. Titan FX operates a Zero Cut system that resets a negative balance to zero, applied after review by the trade operations team. You should still use stop losses and control your position size.
Q4. Is CFD trading safe?
CFDs are traded over the counter with your broker, so safety depends on the broker's regulation and how it handles client funds. When choosing a broker, check whether it keeps client funds separate from its own operating funds.
9. Conclusion
A CFD (contract for difference) lets you trade price differences without owning the underlying asset. You can go long or short and use leverage across forex, indices, commodities, shares and crypto from one account. Maximum leverage varies by product, so check the specifications before you trade.
Leverage improves capital efficiency, but it also magnifies losses. Before you start, work out your margin and trading costs, practice on a demo account, and then move to small live trades with a stop loss in place.
Further Reading
Titan FX Trading Strategy Lab. We produce educational content for investors covering FX, commodities (crude oil, precious metals, agricultural products), stock indices, U.S. equities, and cryptocurrencies.
Primary Sources
- Trading conditions: Titan FX Help Center, "What Is the Maximum Leverage for Each Trading Instrument?"; Titan FX website, "Zero Blade Account," "Index CFDs," "Commodities," "Cryptocurrency CFDs" and "Share CFDs" pages, accessed November 12, 2026