Skip to content

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

CFD trading calculator: calculate your margin, profit and loss

Our CFD trading calculator lets you work out margin requirements and potential profit or loss before you open a position. Understanding how these calculations work is an essential part of CFD trading. This guide explains how to use the calculator and the formulas behind it.

fr-newsletter-page-header

Written by

Oli Robertson

Oli Robertson

Market Analyst, IG

Last Update Friday 14 August 2026 04:10   

Our CFD trading calculator

Use the CFD calculator below to explore different points of movement, position sizes and margin requirements. The calculator is for illustrative purposes only. Actual profit, loss and margin figures may vary based on the spread applicable to your trade and any overnight funding charges that apply if you hold a position past the daily close.

How to use our CFD profit calculator

The calculator has three inputs: the points of movement, the order size per point, and the market. Here is how each one works:

1. Choose your points of movement

Points of movement represent the distance between your entry and exit price. The calculator offers options from 50 to 500 points, reflecting typical CFD price movement ranges across different timeframes. A FTSE 100 CFD trade might move 50 points in a single session; a commodity or share CFD might see 200 points over several days.

2. Select your order size

Your order size is the amount you are staking per point of movement, entered in the quote currency of the market (USD for most international markets). The calculator offers sizes from $1 to $25 per point. A $10 per point stake means you gain or lose $10 for every point the market moves from your opening price.

3. Read your margin and P&L

The calculator shows your margin requirement (the deposit needed to open the position) and your potential profit or loss at the chosen points of movement. These figures are calculated on the full position value, not just the margin. That is the core principle of leverage: you control a much larger position than your deposit, meaning losses can exceed your initial outlay.

Key takeaway

Our CFD profit calculator calculates gross P&L and margin requirements for illustrative purposes; it does not include spread, overnight funding or commission costs

CFD trading: key figures

69%

Of retail investor accounts lose money when trading CFDs with us

5%

Typical minimum margin for major equity index CFDs (e.g. FTSE 100, S&P 500)

20%

Typical minimum margin for individual share CFDs under FCA retail client rules

How is CFD profit and loss calculated?

CFD profit and loss is calculated as the difference in price between when you opened and closed your position, multiplied by your total position size. The formula is:

P&L = (closing price - opening price) x position size

For a long (buy) position, profit occurs when closing price is above opening price.

For a short (sell) position, profit occurs when closing price is below opening price.

For example: you open a long CFD on gold at $4,050 per troy ounce with a position size of $10 per point. Gold rises 80 points to $4,130. Your profit is $10 x 80 = $800, before any spread or overnight funding costs. If gold had instead fallen 80 points to $3,970, your loss would also be $800. For UK traders exploring gold trading, these calculations help assess potential outcomes before committing real capital.

How is CFD margin calculated?

CFD margin is a percentage of the total position value required to open and maintain the position. The formula is:

Margin = total position value x margin rate

Total position value = price x position size (contracts or units)

For example: you open a FTSE 100 CFD at 10,879 with a position size of $10 per point. The total position value is 10,879 x $10 = $108,790. At a 5% margin rate, your required margin is $5,439.50. Our full margin rates are available on our charges page.

What costs does the CFD calculator not include?

The calculator shows the gross margin and P&L for the trade. It does not include:

Cost What it is When it applies
Spread Difference between buy and sell price; the primary transaction cost Every trade opened and closed
Overnight funding Daily charge for holding spot (cash) CFD positions past the daily close Any position open at daily close
Commission A per-trade fee charged on some markets, particularly shares Share CFDs on our platform; check our charges page
FX conversion Charge for converting profits/losses from a foreign currency into your account currency Trades denominated in a different currency to your account

These costs can materially affect the economics of a trade held for multiple sessions. A gold futures trade, for example, avoids overnight funding because the funding cost is priced into the futures contract rather than charged daily, making it more cost-efficient than the equivalent spot gold CFD for positions held over weeks.

Try our CFD calculator on virtual or real trades

Open an account to access 18,000+ markets with our full trading tools.

CFD calculation examples

Example 1: equity index CFD (FTSE 100)

Input Value
Market FTSE 100 CFD (cash)
Opening price 10,879
Order size $10 per point
Total position value $108,790
Margin rate (retail) 5%
Margin required $5,439.50
Scenario: market rises 100 points Profit: $10 x 100 = $1,000 (gross, before spread and funding costs)
Scenario: market falls 100 points Loss: $10 x 100 = $1,000

Example 2: commodity CFD (gold)

Input Value
Market Gold spot CFD
Opening price $4,115 per troy ounce
Order size $5 per point
Total position value $20,575
Margin rate (retail) 5%
Margin required $1,028.75
Scenario: gold rises 200 point Profit: $5 x 200 = $1,000 (gross)
Scenario: gold falls 200 points Loss: $5 x 200 = $1,000

 

For a broader view of which commodity markets traders are most active in, the best commodities to trade covers gold, oil, silver and others with current market context.

Start CFD trading with us

Access tight spreads, 18,000+ markets and award-winning platforms.

CFD calculator FAQs

How do I use the CFD profit calculator?

Select your points of movement and order size using the sliders in the CFD calculator. The calculator displays your margin requirement and potential gross profit or loss at those settings. Figures are illustrative and assume a 1-point spread; actual costs depend on the market spread and any applicable overnight funding.

How is CFD profit calculated?

CFD profit is calculated as: (closing price - opening price) x position size. For a long position, this is positive when the market rises; for a short position, it is positive when the market falls. Gross profit must be reduced by the spread and any overnight funding charges to arrive at net profit.

What is CFD margin?

CFD margin is the deposit required to open a leveraged position. It is a percentage of the total position value, set by the FCA for retail clients based on the asset class: 3.3% for major forex pairs, 5% for major indices like the FTSE 100, 10% for gold, and 20% for individual shares. Our full margin rates are on the charges page.

Does the CFD calculator include overnight funding?

No. The CFD calculator shows gross P&L and margin only. Overnight funding charges apply when spot CFD positions are held past the daily close and are calculated based on the position size, the overnight rate for the market, and the number of nights held.

Can I use the CFD calculator before I have an account?

Yes. The calculator is publicly accessible. To trade CFDs for real, you will need to open a CFD trading account with us. A demo account lets you practise with virtual funds using live market prices before committing real capital (and exposing yourself to the risk of actual live markets).

Important to know

This information has been prepared by IG, a trading name of IG Markets Limited. In addition to the disclaimer below, the material on this page does not contain a record of our trading prices, or an offer of, or solicitation for, a transaction in any financial instrument. IG accepts no responsibility for any use that may be made of these comments and for any consequences that result. No representation or warranty is given as to the accuracy or completeness of this information. Consequently any person acting on it does so entirely at their own risk. Any research provided does not have regard to the specific investment objectives, financial situation and needs of any specific person who may receive it. It has not been prepared in accordance with legal requirements designed to promote the independence of investment research and as such is considered to be a marketing communication. Although we are not specifically constrained from dealing ahead of our recommendations we do not seek to take advantage of them before they are provided to our clients. See full non-independent research disclaimer and quarterly summary.