Calculate the margin, profit or loss and fees of a CFD trade. Enter your opening and closing price, quantity and margin requirement, add the commission and overnight financing, and see what the position costs and returns after fees.
Fees
How is the margin calculated?
The required margin is the position value multiplied by the margin requirement: opening price × quantity × value per point × margin requirement ÷ 100.
The leverage is the inverse of the margin requirement. A margin requirement of 5 % means a leverage of 1:20: you control a position 20 times larger than the capital you put up. Leverage multiplies profits and losses alike, and losses can exceed the margin you deposited.
How is the commission calculated?
The commission is entered as a percentage of the trade value per side. It is charged twice: once on the opening trade and once on the closing trade.
Commission = (opening value + closing value) × commission rate ÷ 100. The spread is not entered separately — enter the opening and closing prices including the spread.
How is overnight financing calculated?
Because you only deposit the margin, your broker finances the rest of the position and charges a financing fee for every night the position stays open.
Overnight financing = opening position value × annual rate ÷ 100 × nights held ÷ 365. A position opened and closed on the same day has no financing cost. This calculator treats financing as a cost for both long and short positions.