The Teacher's Salary Calculator is a web-based tool designed to help UK teachers calculate their net take-home pay, considering the recent 6.5% pay rise. It takes into account various factors like tax, student loan repayments, pension contributions, and national insurance contributions.
- Salary Input: Users can input their current gross salary as of September 2023.
- Student Loan Plan Selection: Options for selecting different student loan plans (Plan 1 or Plan 2).
- Detailed Calculation: The calculator provides a detailed breakdown of the net take-home pay, including calculations for tax, student loan, pension, and national insurance.
- Mobile Responsiveness: The webpage is optimized for mobile devices, ensuring a seamless experience across different platforms.
The HTML structure includes:
- A form for inputting the gross salary and selecting the student loan plan.
- Sections for explanations of how the calculator works and detailed breakdowns of the calculations.
The styling is designed to be clean and responsive, making it easy to navigate on both desktop and mobile devices.
The JavaScript handles the core functionality:
- Calculation Logic: Functions to calculate tax, student loan repayments, pension contributions, and national insurance.
- Event Handling: Code to handle form submission and display the calculation results.
- Code Development: The project's code was developed with the assistance of ChatGPT, an AI language model by OpenAI.
- Git Commit Messages: All commit messages in the repository were crafted using GitHub Copilot.
To use the calculator, input your current gross salary and select your student loan plan. The calculator will display your new gross salary with the 6.5% rise, the net monthly take-home pay, and the net back-dated pay.
Contributions to this project are welcome. Feel free to fork the repository and submit pull requests.
This project is intended as a helpful tool for UK teachers to understand their salary changes and deductions in a user-friendly format.