The price including the VAT (assuming it's 17.5%) is just the price times 1.175 .
What I need to show is the value of the VAT (yes it is 17.5%) against the price.
So if the ex VAT price is £50, the VAT on this amount would be 8.75. This is what I need to show.
So multiply the price by 0.175