Have ideas to improve npm?Join in the discussion! »

    au-tax-calc
    TypeScript icon, indicating that this package has built-in type declarations

    1.1.0 • Public • Published

    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

    Install

    npm i au-tax-calc

    DownloadsWeekly Downloads

    15

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    5.49 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar