The formula
VAT to add = Price before VAT × 15%
VAT inside a price = Price including VAT × 15 ÷ 115
Worked example
Adding VAT: Rs 1,000 × 15% = Rs 150, so the customer pays Rs 1,150.
Removing VAT: a price of Rs 1,150 including VAT contains 1,150 × 15 ÷ 115 = Rs 150 of VAT, which leaves Rs 1,000.
Taking 15% off Rs 1,150 would give Rs 172.50, which is wrong because the 15% was charged on the price before VAT.