I wish to calculate the Gross Margin on my products and to display in the product template.
Gross Margin = ( (list_price/1+(tax)) - standard_price ) / (list_price/1+(tax))
Tax is included in the list_price (which is the sale price)
Tax is not included in the standard_price (which is the cost price)
Can anyone help
Calculating a gross margin including tax does not make sense in my opinion. Especially not when you exclude purchase tax.