Skip to content

An Australian tax calculator for the 2024-2025 FY. Track income, manage expenses, and compare WFH deduction methods (Fixed Rate vs. Actual Cost). All data is stored locally in your browser.

License

Notifications You must be signed in to change notification settings

kazimurtaza/aussie-tax-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aussie Tax Deductions Helper

Buy Me A Coffee

A comprehensive, client-side tax management application designed for Australian individuals to track income, manage expenses, and estimate their tax outcomes, with a strong focus on Work-From-Home (WFH) deductions.

Live Demo »

Deploy Static Content to Pages

Table of Contents

Overview & Goals

This application is designed for Australian individuals, particularly salaried employees, who work from home or purchase work-related items. The primary goals are to:

  • Calculate & Claim Deductions: Accurately calculate and claim all relevant work-related deductions, with a focus on WFH expenses using both the ATO Fixed Rate and Actual Cost methods.
  • Estimate Tax Outcome: Assist users in estimating their potential tax refund or payable amount from the Australian Taxation Office (ATO).
  • Record-Keeping: Provide a robust system for keeping records of income, expenses, and supporting documentation, all stored locally in the user's browser.

Target Tax Jurisdiction: Australia (ATO guidelines for the 2024-2025 Financial Year).

Features

  • Income Management:
    • Add multiple PAYG income statements (gross salary, tax withheld).
    • Track other income sources like bank interest and dividends.
  • Expense Tracking:
    • Log general work-related expenses with categories (e.g., Self-Education, Tools of Trade).
    • Manage depreciable assets with Prime Cost and Diminishing Value depreciation methods.
  • Work-From-Home (WFH) Calculations:
    • Compare deduction outcomes between the ATO Fixed Rate Method (70 cents per hour) and the Actual Cost Method.
    • Log WFH hours manually or import them via a CSV file.
  • Tax Estimation Engine:
    • Calculates taxable income based on ATO tax rates for 2024-2025.
    • Applies common tax offsets like the Low Income Tax Offset (LITO) and the Private Health Insurance offset.
  • Data Management:
    • Local Storage: All data is stored exclusively in your browser. No data is sent to a server.
    • Import/Export: Securely back up your data by exporting it to a JSON or CSV file, and restore it at any time.

Technology Stack

  • HTML: For the structure of the application.
  • Tailwind CSS: For a modern, responsive user interface.
  • JavaScript (Vanilla JS): For all application logic, calculations, and DOM manipulation, organized into ES6 modules.

Getting Started

To get a local copy up and running, follow these simple steps.

  1. Clone the repo:
    git clone https://github.com/kazimurtaza/aussie-tax-helper.git
  2. Navigate to the directory:
    cd aussie-tax-helper
  3. Open index.html in your browser. You can simply open the file directly, or use a live server extension if you have one installed in your code editor.

Tax Rate & Threshold Constants

All core tax calculation parameters are stored in js/constants.js. This centralizes the key ATO rates and thresholds, making them easy to review and update annually. Below are the key constants for the 2024-2025 financial year.

Income Tax Rates (2024-2025)

These are the legislated "Stage 3" tax rates, effective from 1 July 2024. Source: ATO - Changes to individual income tax rates

Taxable Income Tax on this Income
$0 – $18,200 Nil
$18,201 – $45,000 16c for each $1 over $18,200
$45,001 – $135,000 $4,288 + 30c for each $1 over $45,000
$135,001 – $190,000 $31,288 + 37c for each $1 over $135,000
$190,001 and over $51,638 + 45c for each $1 over $190,000

Low Income Tax Offset (LITO)

  • Maximum Offset: $700
  • Threshold 1 (Full Offset): Up to $37,500
  • Threshold 2 (Phase-out starts): Above $37,500 (reduces by 5c for every $1)
  • Threshold 3 (Phase-out increases): Above $45,000 (reduces by 1.5c for every $1)
  • Ineligible: Above $66,667

Medicare Levy

  • Standard Rate: 2% of taxable income.
  • Low-income threshold (Singles): No levy if income is below $24,276.
  • Low-income phase-in (Singles): A reduced rate is paid for income between $24,276 and $30,345.

Medicare Levy Surcharge (MLS)

An additional levy for higher-income earners without private hospital cover.

  • Base Income Threshold (Singles): $97,000
  • Base Income Threshold (Families): $194,000 (increases by $1,500 for each dependent child after the first)
  • Surcharge Rates: 1%, 1.25%, or 1.5% depending on the income tier.

Private Health Insurance (PHI) Rebate

A government contribution to help cover the cost of private health insurance. The rebate amount is income-tested and age-based.

Work-From-Home (WFH) Fixed Rate

  • Rate for 2024-2025: 70 cents per hour. This rate covers electricity, gas, internet, phone, stationery, and computer consumables. Source: ATO - Fixed rate method

Data Storage & Security

  • Storage Method: All data is stored exclusively in the user's browser local storage. The application does not have a backend and does not store any user data on external servers.
  • Security: Users are informed that clearing their browser data will permanently delete their stored information. Regular data export is recommended for backup purposes.
  • Privacy: The app does not handle or store Tax File Numbers (TFNs).

Changelog

Version 1.4.1

  • Fixed
    • Updated js/constants.js with a new PHI_REBATE_RATES_PERIODS object to hold the dual rates.
    • Modified js/storage.js to split the PHI premium data into two fields: phiPremiumsPaid_period1 and phiPremiumsPaid_period2.
    • Updated index.html to include two separate input fields for the different premium periods.
    • Updated Rewrote the calculatePhiOffset function in js/calculations.js to handle the dual-rate logic.
    • Added backward compatibility in js/storage.js to automatically migrate data for users upgrading from older versions.
    • Fixed a bug in the CSV export function to include the new dual-period premium data.
    • Refactored: Centralized the depreciation schedule generation logic into a single reusable function to eliminate code duplication and improve maintainability.
    • Fixed: Corrected a critical bug where the Medicare Levy for families was being calculated using the incorrect singles threshold. The calculation now accurately reflects family and dependent children adjustments.
    • Improved: The Work-From-Home (WFH) fixed rate displayed in the UI is now dynamically populated from the central constants file, ensuring consistency and easier maintenance.

Version 1.4.0

  • 🚀 Added
    • Edit Functionality: Users can now edit existing PAYG income and general expense entries via a modal, improving data management flexibility.
    • WFH Hours CSV Import: Users can now bulk-import their Work-From-Home hours using a CSV file. The tool is flexible and supports multiple date and time formats.
    • Time Calculation and Display: WFH hours are now calculated based on total minutes for higher accuracy. The UI has been updated to display time totals in a more user-friendly HH:MM format, alongside the decimal equivalent used for tax calculations.
    • Table Sorting: The "General Expenses" and "WFH Depreciable Assets" tables are now automatically sorted by purchase date (oldest first) to improve organization and readability.
    • Medicare exempt days: Users can now specify how many days they are exempt from Medicare benefits
  • Fixed
    • MLS Calculation Accuracy: The Medicare Levy Surcharge calculation now correctly includes personal superannuation contributions in the income test, as per ATO guidelines.
    • Future-Dated Expense Logic: Expenses with a purchase date in a future financial year are now properly excluded from the current year's deduction calculations.
    • Depreciation Calculation: Fixed a critical bug in the Diminishing Value method where assets with a 1-year effective life were incorrectly depreciated at 200% of their value. The calculation is now correctly capped at 100%.
    • Corrected the "Claim Schedule": display logic to ensure the Year 1 (Y1) value accurately reflects the pro-rata deduction for assets purchased part-way through the financial year.
    • User Interface (UI): Resolved a persistent bug where the "Remove" button for WFH Depreciable Assets was not working due to incorrect form handling by the browser. Buttons now have an explicit type="button" to prevent unintended form submissions.
    • Estimated Deduction (Fixed Rate)" field: Fixed a display issue where the "Estimated Deduction (Fixed Rate)" field was not updating correctly. CSV Export: Fixed a critical bug where the CSV export was incomplete. The export now correctly includes all data sections, including detailed WFH running costs and the full list of WFH assets.
  • Improved
    • Input Validation: All numerical input fields now prevent negative values from being entered.
    • UI Clarity: The Low Income Tax Offset (LITO) line item is now hidden in the final summary if the calculated offset is zero, resulting in a cleaner report.
    • Added "Date" and "Method" columns: to the WFH Depreciable Assets table for better visibility.
    • JSON import: Improved the JSON import validation logic to prevent errors.
    • Legacy Storage: Added backwards compatibility to the data loading function to correctly handle and convert older data structures.
  • 🙏 Acknowledgements
    • A special thanks to Anachronism59 for your detailed feedback and persistence in identifying the bugs. Your keen eye was crucial in making this version more robust and accurate.

Version 1.3.0

  • Added
    • Private Health Insurance Rebate: The app now fully calculates the Private Health Insurance (PHI) tax offset. Users can enter their premium and rebate details to get a more accurate tax outcome.
    • Expanded Expense Categories: Added "Gifts & Donations," "Cost of Managing Tax Affairs," and "Income Protection Insurance" to the general expenses section.
  • Fixed
    • Depreciation Calculation Accuracy: Corrected the "Diminishing Value" depreciation method to use the asset's written-down value, ensuring the calculation is compliant with ATO rules.

Version 1.2.0

  • Added
    • Depreciation Method Choice: Users can now select between "Prime Cost (Straight Line)" and "Diminishing Value" methods when adding a depreciable asset, allowing for more accurate and preferable deduction calculations.
    • Personal Super Deductions: A dedicated input field for "Deductible Personal Super Contributions" has been added to the "Taxpayer Details" section to be included in the total deductions.
    • Net Capital Gains: Added a field for "Net Capital Gains" in the "Other Income" section to allow for more accurate income calculations for users with investments.
    • Summary Breakdown: Superannuation deductions are now listed as a separate line item in the Tax Estimation Summary for better clarity.

Version 1.1.0

  • Added
    • Family & Single MLS Calculations: The app now accurately calculates the Medicare Levy Surcharge (MLS) for both "Single" and "Family" filing statuses.
    • Advanced Taxpayer Details: Added new inputs for "Filing Status", "Spouse's Income", "Number of Dependent Children", "Reportable Fringe Benefits", and checkboxes for "Medicare Levy Exemption" and "Private Hospital Cover" to support more complex tax scenarios.
    • Event Tracking: Implemented custom event tracking for Google Analytics to monitor feature usage and JavaScript errors.
    • Improved
    • Mobile Navigation: The main navigation bar is now horizontally scrollable on mobile devices, fixing a key UI issue on smaller screens.
    • Fixed
      • JavaScript Stability: Resolved a TypeError by ensuring all JavaScript modules are loaded completely and function calls have the correct parameters.

Disclaimer

This application provides an estimate only and is not professional tax advice. Always verify current ATO rates and rulings from ato.gov.au before making financial decisions.

About

An Australian tax calculator for the 2024-2025 FY. Track income, manage expenses, and compare WFH deduction methods (Fixed Rate vs. Actual Cost). All data is stored locally in your browser.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks