I has to write this function for my own project so I thought I should share. In no regards this should be treated as Primary GST calculator. You should always goto an expert for all your GST need i.e. Accountants etc.
BTW GST stands for Goods and Services Tax and this Tax was introduced into Australia in July 2000. A Tax rate of 10% applied to most goods and services. I guess there are many Items that are exempted as well to keep the cost of living down.
If you find any bug with this calculator please let me know
The javascript function are given below
<script type="text/javascript"> function gstplus() { var _iniamount = parseFloat(document.getElementById('amount').value); var _gst = parseFloat(_iniamount * 1.1) - _iniamount; document.getElementById('gst').value = _gst; document.getElementById('subtotal').value = _iniamount; } function gstminus() { var _iniamount = parseFloat(document.getElementById('amount').value); var _gst = parseFloat(_iniamount / 11) ; document.getElementById('gst').value = _gst; } </script>
If you have any doubts ask your accountant
Cheers
Link to this article is below
Search Terms:
- gst calculator australia
- australia gst rounding down
- gst australia calculator
- how to calculate the gst exclusive amount in australia
- mathematical way to calculate gst exclusive amount








What I need to find is a calculator that gives you whole number solutions for pricing. i.e what is the price point closest to $160 where the gst inclusive price and the gst exclusive price are both whole numbers. We can use it to enter a number $4450 and find theclosest option to be working both in retail (inclsuive) and billing (exclusive) whole numbers. Have you seen such a thing? Tks
You should give this a go with Knockout.js would be pretty cool. Going to do this with my GST Calculator but as with all developer never have enough time!