Formula:

Trade volume (lots x pip value) x number of pips gained/lost

Special Notes: When we calculate PnL the PIP value of all currency is $10 includes forex and energy except for Silver which is $50 JPY FX symbols where its 1000 JPY per pip

Silver where is 50 USD per pip