Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sorry for such a newb question but my mind is not thinking well at this time.

If I have the Grand Total (including VAT) ammount of money paid and the VAT % which was paid, how can I figure out the sub total (total before VAT)?

For example

if Sub Total = 70 and VAT is 18% (70*18% = 12.6) Then total = 70+12.6 = 82.6

Now if i was given the Total 82.6 and VAT 18%, how can I find sub total?

A programmatic answer is also accepted as its what Im looking for.

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted
  1. Assume that your sub total is $x$.
  2. Add VAT to it $ x + 18 \% \text{ of } x = x + 0.18 x$.
  3. Now since this is your total, equate it to your total. i.e. $x + 0.18 x = 82.6$.
  4. Now, we have $1.18 x = 82.6$, and I guess we can find this $x$.
share|improve this answer
so x = total/(vat/100)? –  rikket Jan 11 '13 at 15:14
@rikket $x = \frac{\text{total}}{1 + \frac{\text{VAT}}{100}}$ –  Santosh Linkha Jan 11 '13 at 22:29
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.