How is the VAT rate calculated?