To calculate VAT, you simply multiply the sale price of the product or service by the VAT rate as a decimal (for example, if the VAT rate is 20%, the decimal equivalent would be 0.20). For example, if you were selling a product for 100 euros with a VAT rate of 20%, the calculation would look like this:
100 * 0.20 = 20