1.1.0 • Published 4 years ago

au-tax-calc v1.1.0

Weekly downloads
16
License
MIT
Repository
github
Last release
4 years ago

au-tax-calc

💵 Individual Australian tax rate given an income for FY2018-2019.

Build Status

I'm aspiring to make open-source my full-time work. If you like the work that I do, please consider supporting me.

Coffee PayPal

Rate

Taxable incomeTax on this income
0 – $18,200Nil
$18,201 – $37,00019c for each $1 over $18,200
$37,001 – $90,000$3,572 plus 32.5c for each $1 over $37,000
$90,001 – $180,000$20,797 plus 37c for each $1 over $90,000
$180,001 and over$54,097 plus 45c for each $1 over $180,000

These tax rates are calculated by the Australian Taxation Office (ATO)..

Install

npm i au-tax-calc

Usage

The output will be a number rounded to two decimal places.

Module

const calculateTax = require( 'au-tax-calc' );

calculateTax( 43565 );
// 5705.63

Test

npm test

Contribute

Don't be scared raise an issue or a pull request! Any contributions, no matter how big or small will land your picture here.