Estimate your taxable income and tax owed with this Tax Calculator Web Application! Input your financial details and let the application do the rest
Check out the live application here
Before getting started, make sure you have the following installed on your machine:
- A modern Web browser like Google Chrome or Microsoft Edge
- Git (optional, for cloning the repository)
- Clone the Repository:
-
Open your terminal or command prompt and run the following command to clone the repository to your local machine:
git clone https://github.com/adarshpathak3408/Tax-Calculator.git
- Open the Project:
-
Navigate to the project directory using the
cd
command:cd tax-estimation-web-tool
- Open the Application: Once inside the project directory, open the
index.html
file in your preferred web browser.
Alternatively, access the live demo here.
-
Input Fields: Easily input your gross annual income, extra income, age group, and applicable deductions.
-
Error Handling: The application provides real-time validation for user input, ensuring accurate calculations.
-
Tax Calculation: Instantly calculate taxable income and tax owed based on the provided inputs.
-
Interactive Tooltips: Hover over question mark icons for helpful explanations and guidance on each input field.
-
Responsive Design: Enjoy a seamless experience on desktop and mobile devices.
The tax calculation works based on the following formula:
Formula: "Overall Income = Gross Income + Extra Income - Deductions"
- If the overall income (after deductions) is under 8 Lakhs, no tax is applied.
- For income over 8 Lakhs:
- 30% tax for individuals under 40 years old
- 40% tax for individuals aged 40 to 59
- 10% tax for individuals aged 60 and above
-
Input Details: Enter your gross annual income, extra income, select your age group, and input any applicable deductions.
-
Validation: The application validates your input in real-time, ensuring accuracy and completeness.
-
Calculation: Based on the provided information and the tax calculation formula, the application determines your taxable income and tax owed.
-
Results: View the calculated results on the screen, including taxable income and the amount of tax owed.
-
Clear and Restart: Click the "Close" button to clear the results and start over, allowing for multiple calculations as needed.
- HTML5
- CSS3
- JavaScript
-
Valid Input:
-
Invalid Input - Character Error Tooltip:
-
Invalid Input - Age Group Missing:
-
Valid Input - No Deductions:
-
Valid Input - Age < 40:
-
Valid Input - Age โฅ 40 & < 60:
-
Valid Input - Age โฅ 60:
-
Edge Case - No Tax:
-
How It Works (Feature)
-
Information - Tooltip:
-
Blank Fields - Error:
-
Final Output
We welcome contributions to the Tax Calculator Project! If you encounter any bugs or have suggestions for improvements, please feel free to open an issue or submit a pull request.
Thank you for exploring our Tax Calculator Web Application! We hope you find it useful for estimating your taxable income and tax owed. If you encounter any issues, have suggestions for improvements, or would like to contribute to the project, please feel free to reach out to us. Happy calculating! :)