Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.65 KB

README.md

File metadata and controls

58 lines (38 loc) · 1.65 KB

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 income Tax on this income
0 – $18,200 Nil
$18,201 – $37,000 19c 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.

Adam Zerella