A simple tax slab calculator to compute income tax based on predefined tax slabs announced for 2025-26. The calculator takes an input of income and outputs the applicable tax according to the specified tax rates. Tax percentages are fixed according to the 2025-26 tax rates.
- Calculates tax based on income input.
- Shows you tax percentage in each slab.
-
Clone this repository to your local machine:
git clone https://github.com/your-username/tax-slab-calculator.git
-
Install the required dependencies
pip install -r requirements.txt
-
Run the fastapi server
python -m uvicorn main:app
That will present an output like
INFO: Started server process [16780] INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
Open the URL on a browser
-
Enter the amount and it gives the tax and break-ups