Commodity Profit Calculator

Calculate profit or loss on any commodity trade. Supports gold, silver, oil, and any OTC commodity CFD by entering contract size and price difference.

Units per lot: Gold = 100 oz, Silver = 5,000 oz, WTI Oil = 1,000 barrels.

Exchange Rate

Formula

Commodity P&L formula

Price Difference Long: Close − Open · Short: Open − Close
Profit / Loss Price Diff × Contracts × Contract Size × Rate

Common contract sizes: Gold = 100 oz · Silver = 5,000 oz · WTI Oil = 1,000 bbl

Worked Example

Given

Long 2 Gold contracts · Contract size = 100 oz · Open $2,500 · Close $2,530 · USD account

Price Difference (long)
$2,530 − $2,500 = $30/oz
Profit / Loss
$30 × 2 × 100 × 1.0 = $6,000 profit

Frequently Asked Questions

How is commodity P&L calculated?
Profit/Loss = Price Difference × Contracts × Contract Size × Quote→Account Rate. For a long position, price difference = close minus open. For a short, it is open minus close. This is the same formula used for CFDs — the contract size determines how many units each lot controls.
What contract sizes should I use for common commodities?
Standard OTC commodity CFD contract sizes: Gold (XAUUSD) = 100 troy oz per lot. Silver (XAGUSD) = 5,000 troy oz per lot. WTI Crude Oil (USOIL) = 1,000 barrels per lot. Natural Gas = 10,000 MMBtu per lot. These are typical retail CFD sizes — check your broker's contract specification as they vary.
How does this differ from futures commodity P&L?
Futures P&L is tick-based: you count the number of tick movements × tick value per contract. OTC commodity CFDs use a continuous price × contract size model with no fixed tick increment. Use the Futures P&L Calculator for exchange-traded futures contracts.
Does this include spreads or overnight fees?
No. Enter the exact open and close prices. To account for spreads, adjust the close price by the bid-offer spread. For overnight positions, calculate the financing cost separately using a percentage of the notional value.