This is a Python desktop application built as part of my Computer Science degree at Liverpool Hope University. It serves as a practical tool for self-employed individuals in the UK to estimate their annual tax and National Insurance contributions.
This project was submitted for the Python Programming coursework module and received a final grade of A+ (84%).
GUI Interface Built using Python's native Tkinter library for a simple and user-friendly experience.
Accurate Tax Logic
Calculates Income Tax based on official government rates.
Calculates Class 2 and Class 4 National Insurance contributions.
Supports multiple tax years (2024-2025, 2023-2024, 2022-2023) by loading rates from a separate configuration file.
Additional Features
Includes logic for Simplified Vehicle Expenses (flat rate per mile).
Applies the Marriage Allowance tax reduction.
Data Visualisation Uses Matplotlib to generate a pie chart showing the breakdown of gross income (Net Take-Home, Tax, NI, and Expenses).
The application is split into two main files, following the Separation of Concerns principle
uk_self_employed_tax_calculator.pyContains all application logic, including theTaxLogicclass for calculations and theTaxCalculatorAppclass for the GUI.tax_year_configuration.pyA separate data file that stores all tax rates and thresholds. This allows for easy updates to future tax years without changing the core application code.
- Ensure you have Python 3 and the
matplotliblibrary installedpip install matplotlib - Run the main application file
python uk_self_employed_tax_calculator.py