SlideShare a Scribd company logo
Income Tax Calculator (For A Salaried Person)
Assignment 1 Report
Submitted By : Group 1
S.No. Name Roll No. Registration No.
1. Mohit Kumar Mahato RK19SPA09 11913514
2. Rocky Sharaf RK19SPB70 11918040
3. Qazi Maaz Arshad RK19SPA26 11906424
Courses Code : INT213
School of Computer Science and Engineering
Lovely Professional University
Phagwara, Punjab (India)
Student Declaration
This is to declare that this report has been written by us (Group 1).
No part of the report is copied from other sources. All information
included from other sources have been duly acknowledged. We
aver that if any part of the report is found to be copied, We shall
take full responsibility for it.
Mohit Kumar Mahato – 09
Rocky Sharaf – 70
Qazi Maaz Arshad – 26
Place : Bahraich , Uttar Pradesh
Date : 22/10/2020
Acknowledgement
We are overwhelmed in all humbleness and gratefulness to our
teacher and guide Ms. Gagandeep Kaur who provided wholesome
direction and support to us at every stage of our project.
Her wisdom , knowledge and commitment to the highest standards
inspired and motivated us to successfully complete this project.
Mohit Kumar Mahato – 09
Rocky Sharaf – 70
Qazi Maaz Arshad – 26
Contents
Title Page No.
• Cover Page 1
• Student Declaration 2
• Acknowledgement 3
• Contents 4
• Purpose Of Project 5
• Basic Fundamentals Of Income Tax 5 – 6
Calculations
• Project Description 7 – 8
• Application Walkthrough 8
• How We Built This GUI Application 9
• SWOT Analysis 10
• Screenshots 11 – 14
• Source Code 15 – 28
• Bibliography 29
Purpose Of Project
The main aim of our project is to built a GUI (Graphical User
Interface) application to calculate the liable tax of a salaried person.
This application aims at providing a user-friendly approach to
calculate the payable tax without digging into complex details and
calculations.
Our income tax calculator helps user to manage their taxes and
choose the best suitable tax regime (old or new). Our calculator gives
user the opportunity to check how much they can save by opting one
tax system over the other.
Basic Fundamentals Of Income Tax Calculations
Income Tax is an annual tax on income. The Indian Income Tax Act
(Section 4) provides that in respect of total income of the previous
year of every person income tax shall be charged for the
corresponding assessment year at the rates laid down by the
Financial Act for that assessment year. Section 14 of the Income Tax
Act further provides that for the purpose of charge of income tax and
computation of total income all incomes shall be classified under the
following heads of income :
Salaries
Income from house property
Profits or gains of business or profession
Capital gains
Income from other sources (not covered in above four categories)
The total income from all the above heads of income is calculated in
accordance with the provisions of the Act as they stand on the first
day of April of any assessment year.
But tax rates are not applied on total income ,tax rates are applied
on Total Taxable Income which is calculated after the deductions in
total income.
Tax deductions is a reduction in tax obligation from Gross Income.
Tax deduction varies in amount as different incomes are treated
differently under various sections of Income Tax Act these are :
80C (Bank FD’s , LIC Premium , Tuition fees etc.)
80CCC ( Pension Funds)
80CCD ( Pension Funds by Central Government)
80TTA ( Interests on Bank Savings Account)
80CCG (Equity Saving Schemes)
80CCF (Long Term Infrastructure Bonds)
80D (Medical Insurance)
80E (Education Loan)
Other sections are 80EE, 80G ,80CGA ,80GGB ,80GC )
The total deductions from all the sources is calculated in accordance
with the provisions of the Act as they stand on the first day of April
of any assessment year.
Taxable Income = Total Gross Income – Total Deductions
Net Payable Tax = (Tax Rate) x (Taxable Income)
Project Description
Our calculator has a very simple design , any user who is not aware
of basic calculations involved in calculating income tax can easily
operate.
At first users need to click on the Start button to proceed .
Then Users needs to enter their details like Name, Contact No. and
Email Id for record purposes.
Users can always check current tax slabs rates by clicking on a button
in the bottom right corner (Check Taxes Scheme).
After entering basic details Users needs to press the next button and
they are taken to next page.
Users now need to enter their total annual income (sum of salaries,
profits, capital gains etc.) for the current assessment year .
Then users need to enter the sum of all deductions (pensions,
education loan , medical insurance etc.).
After providing the above inputs users need to click on the calculate
button and the output will be displayed.
The output format will be :
Old Tax : XXXX [ Payable tax according to earlier tax slab rates ]
New Tax : XXXX [ Payable tax according to new tax slab rates ]
Tax Savings : XXXX [ Difference between Old Tax and New Tax ]
Better Option : XXXX [ Suggestion to choose preferable Tax Scheme ]
Users can always reset the input values by clicking the Reset button.
Upon clicking the Credits button in the bottom right corner a pop up
window appears having details of all the developers who contributed
in designing and execution of this application.
The Exit button in the bottom right corner successfully terminates
the application and calculator is closed.
Application Walkthrough
Reset
Enter
Basic
Details
Check Tax
Schemes
Next
Enter
Income and
Deductions
Calculate Result
E
X
I
T
Bye-Bye
Credits Developers
Profile
Taxes
Rates
Start
How We Built This GUI Application
To design this Income Tax Calculator, we have followed a very
planned approach. We have gone through multiple online income tax
calculators and observed their format as well as their functioning. We
have spent a great amount of time and effort in studying the Income
Tax basics and laws and regulations of Income Tax Act.
We have used Python Tkinter to built this GUI application we have
worked on different platforms like Anaconda and Pycharm.
We have made this application very user-friendly. The background
image we have used has a very good combination of colors making it
more attractive and beautiful.
SWOT Analysis
Opportunities
Reduce Prerequisite: We can
add calculation of Total
Income from various sources
and calculation of Total
Deductions under various
sections of Income Tax Act.
Extension: We can target
other groups (ex. Businesses)
by adding tax calculation
system for them also.
Weakness
Pre-Calculation: Users need to
be ready with total income
and total deductions figure.
Specific: Our calculator is
designed only for salaried
Indian individual. Taxes of
businesses and foreign
currency cannot be calculated.
Unnecessary Feature: Asking
basic details is irrelevant from
Users point of view.
Strengths
User-Friendly: All users can
learn to use our calculator
quickly and use it efficiently.
Works Offline: No need of an
active internet connection.
Simplicity: Users need not to
dig into complex rules and
understanding of Income Tax.
Additional Feature: Calculator
suggests preferable tax
scheme and calculate savings.
Threats
Competition: Clients are more
likely to use another
calculator because most of
them target multiple audience
groups and offer other
features like calculating Total
Income and Total Deductions.
Government’s Taxation Rules
and Policy Amendment: We
will have to update all the
mathematics if new taxation
system is introduced.
Screenshots
Home Page
Enter Basic Details
Check Taxes Scheme
Enter Income and Deductions and Calculate -
Output When Better Option Is Old Tax
Output When Better Option Is New Tax
Output When Income Tax Is Not Applicable
Reset/Update
Credits
Source Code
#Importing tkinter package
from tkinter import *
#Importing messagebox widget from tkinter package
from tkinter import messagebox
root = Tk() #Creating root window
root.title("Income Tax calculator") #Root window title
root.geometry('1000x600') #Window size
root.maxsize(1000, 600)
font1 = ("Times", 14, "bold") #Saving font styles
font2 = ("Times", 13, "bold")
def des_f1(): #Destroys 1st
frame f1
f1.destroy()
#Creating 1st
frame f1:-
f1 = Frame(root, height=600, width=1000)
f1.propagate(0)
f1.pack(side='top')
#Creating canvas on f1 for background image
c = Canvas(f1, width=1000, height=600, bg="blue")
c.pack()
p1 = PhotoImage(file='front.gif') #Background image of f1
#Inserting image in canvas
c.create_image(0, 0, image=p1, anchor=NW)
#Creating button to move to next frame f2
Button(f1, text="Start", font=font1,
foreground='white',command=des_f1, bg='#8b1c13', width=8,
border=4).place(x=450,y=500)
def des_f2(): #Function to destroy 2nd
frame f2
f2.destroy()
#Creating 2nd
frame f2 :-
f2 = Frame(root, height=600, width=1000, background='red')
f2.propagate(0)
f2.pack(side='top')
#Creating canvas on f2 for background image
c = Canvas(f2, width=1000, height=600, bg="blue")
c.pack()
p2 = PhotoImage(file='back.gif') #Background image of f2
#Inserting image in canvas
c.create_image(0, 0, image=p2, anchor=NW)
#Creating labels and entry boxes
l0 = Label(f2, text='Enter your details :-', font=font1)
l0.place(x=250, y=100)
l1 = Label(f2, text='Name', font=font1)
l1.place(x=250, y=140)
e1 = Entry(f2, width=50, border=2)
e1.place(x=450, y=140)
l2 = Label(f2, text='Contact', font=font1)
l2.place(x=250, y=180)
e2 = Entry(f2, width=50, border=2)
e2.place(x=450, y=180)
l3 = Label(f2, text='Email Id', font=font1)
l3.place(x=250, y=220)
e3 = Entry(f2, width=50, border=2)
e3.place(x=450, y=220)
#Button to move to 3rd
frame f3 :-
Button(f2, text="Next", command=des_f2, width=10,
border=4).place(x=500, y=300)
#Function to display the new and old tax slab rates :-
def tax_scheme():
new_window = Toplevel(f2) #Creating new window
new_window.title("Tax scheme") #Window title
new_window.geometry("452x322") #window size
Label(new_window, text="This is a Tax scheme",
image=logo).pack()
#Adding image having the new and old tax rates :-
logo = PhotoImage(file="image.gif")
label = Label(f2, text="This is the main window")
label.pack(pady=10)
#Button which shows the new and old tax rates in new window :-
Button(f2, text="Check Taxes Scheme",
command=tax_scheme).place(x=770, y=500)
def des_f3(): #Function to destroy 3rd
frame f3
f3.destroy()
#Creating the 3rd
frame f3:-
f3 = Frame(root, height=600, width=1000, background='yellow')
f3.propagate(0)
f3.pack(side='top')
#Creating canvas on f3 for background image
c = Canvas(f3, width=1000, height=600, bg="blue")
c.pack()
p3 = PhotoImage(file='back.gif') #Background image of f3
#Putting image in canvas of f3 :-
c.create_image(0, 0, image=p3, anchor=NW)
#Labels and entry boxes of 3rd
frame f3 :-
l4 = Label(f3, text='Enter the required data (in INR) :-', font=font1)
l4.place(x=250, y=100)
l5 = Label(f3, text='Annual Income', font=font1)
l5.place(x=250, y=160)
e5 = Entry(f3, width=50, border=2)
e5.place(x=480, y=160)
l6 = Label(f3, text='Exemptions / deductions', font=font1)
l6.place(x=250, y=200)
e6 = Entry(f3, width=50, border=2)
e6.place(x=480, y=200)
def oldtax(ta): #Function to calculate the tax as per old rates
total = 0 #ta is the taxable amount=(income-deductions)
n = 0
while ta > 0:
if n == 1:
if ta >= 250000:
total = total + 250000 * 5 / 100
else:
total = total + ta * 5 / 100
elif n == 2 or n == 3:
if ta >= 250000:
total = total + 250000 * 20 / 100
else:
total = total + ta * 20 / 100
elif n == 4 or n == 5:
if ta >= 250000:
total = total + 250000 * 30 / 100
else:
total = total + ta * 30 / 100
elif n == 6:
total = total + ta * 30 / 100
else:
total = 0
ta = ta - 250000
n = n + 1
cess = total * 4 / 100 #CESS is the 4% of Total tax
return total + cess #Returning final tax = (Total tax + cess)
def newtax(ta): #Function for calculating tax as per new rates
total = 0 #ta is the annual income
n = 0
while ta > 0:
if n == 1:
if ta >= 250000:
total = total + 250000 * 5 / 100
else:
total = total + ta * 5 / 100
elif n == 2:
if ta >= 250000:
total = total + 250000 * 10 / 100
else:
total = total + ta * 10 / 100
elif n == 3:
if ta >= 250000:
total = total + 250000 * 15 / 100
else:
total = total + ta * 15 / 100
elif n == 4:
if ta >= 250000:
total = total + 250000 * 20 / 100
else:
total = total + ta * 20 / 100
elif n == 5:
if ta >= 250000:
total = total + 250000 * 25 / 100
else:
total = total + ta * 25 / 100
elif n == 6:
total = total + ta * 30 / 100
else:
total = 0
ta = ta - 250000
n = n + 1
cess = total * 4 / 100 #CESS is the 4% of Total tax
return total + cess #Returning final tax = (Total tax + cess)
def delete(): #Function for clearing the output labels
l8 = Label(f3, text="
",
font=font1,
background="white")
l8.place(x=480, y=300)
l10 = Label(f3, text="
",
font=font1,
background="white")
l10.place(x=480, y=340)
l12 = Label(f3, text="
",
font=font1,
background="white")
l12.place(x=480, y=380)
l14 = Label(f3, text="
",
font=font1,
background="white")
l14.place(x=480, y=420)
delete()
#Function for calculating new and old tax by calling their functions:-
def calculate():
delete() #Clears the previously calculated tax
at = e5.get() #Retrieves annual income given by user
ad = e6.get() #Retrieves annual deductions of user
ta = int(at) - int(ad) #Calculates taxable amount
old = oldtax(ta) #Calling function to calculate old tax
new = newtax(int(at)) #Calling function to calculate new tax
tax_save = abs(new - old) #Calculates tax savings
tax_save = round(tax_save, 2) #Sets precision of tax saving
if new > old: #Calculating which tax is cheaper
better = "old tax"
elif ta <= 250000:
better = "Income tax not applicable (Taxable income < 250000)"
else:
better = "new tax"
#Printing the calculated old and new tax and tax savings :-
l7 = Label(f3, text='Old tax', font=font1)
l7.place(x=250, y=300)
l8 = Label(f3, text=str(old), font=font1)
l8.place(x=480, y=300)
l9 = Label(f3, text='New tax', font=font1)
l9.place(x=250, y=340)
l10 = Label(f3, text=str(new), font=font1)
l10.place(x=480, y=340)
l11 = Label(f3, text='Tax saving', font=font1)
l11.place(x=250, y=380)
l12 = Label(f3, text=str(tax_save), font=font1)
l12.place(x=480, y=380)
l13 = Label(f3, text='better option', font=font1)
l13.place(x=250, y=420)
l14 = Label(f3, text=better, font=font1)
l14.place(x=480, y=420)
#Button for calculating taxes for data given by the user
Button(f3, text="Calculate", command=calculate, width=10,
border=4).place(x=500, y=250)
#Button to reset the output labels for next calculation
Button(f3, text="Reset", command=delete, width=10,
border=4).place(x=610, y=250)
def credit(): #Function to print project credits in a message box
#Creating message box which will display the credits
messagebox.showinfo('Credits',
'NametttReg. numbertRoll no.nnMohit Kumar
Mahatot11913514t09nn'
'Rocky Sharaftt11918040t70nn'
'Qazi Maaz Arshadtt11906424t26 nn'
'Special Thanks to Gagandeep Ma’am')
#Button for displaying project credits
Button(f3, text="Credits", command=credit, foreground='white',
font=font1, width=8, border=4, bg='#ad0414').place(x=630,y=500)
def end(): #Function for exiting the project
root.destroy()
#Button for exiting the project
Button(f3, text="Exit", command=end, foreground='white', width=8,
font=font1, border=4, bg='#ad0414').place(x=800, y=500)
root.mainloop() #Method for starting the root window
Bibliography
• www.google.com
• www.quora.com
• www.youtube.com
• www.incometaxindia.gov.in
• www.slideshare.net
• Python GUI Programming CookBook – Burkhard A. Meier
• Class Notes And Video Lectures – Ms. Gagandeep Kaur

More Related Content

What's hot

online blood bank system design
online blood bank system designonline blood bank system design
online blood bank system design
Rohit Jawale
 
Atm project
Atm projectAtm project
Credit card fraud detection using machine learning Algorithms
Credit card fraud detection using machine learning AlgorithmsCredit card fraud detection using machine learning Algorithms
Credit card fraud detection using machine learning Algorithms
ankit panigrahy
 
Harsh Mathur Final Year Project Report on Restaurant Billing System
Harsh  Mathur Final Year Project Report on Restaurant Billing SystemHarsh  Mathur Final Year Project Report on Restaurant Billing System
Harsh Mathur Final Year Project Report on Restaurant Billing System
Harsh Mathur
 
Computer Science Internship Report PDF Leena AI
Computer Science Internship Report PDF Leena AIComputer Science Internship Report PDF Leena AI
Computer Science Internship Report PDF Leena AI
shadowhazard77
 
Credit card fraud detection
Credit card fraud detectionCredit card fraud detection
Credit card fraud detectionkalpesh1908
 
Final Project Report of College Management System
Final Project Report of College Management SystemFinal Project Report of College Management System
Final Project Report of College Management System
MuhammadHusnainRaza
 
BANK MANAGEMNT SYSTEM.pptx
BANK MANAGEMNT SYSTEM.pptxBANK MANAGEMNT SYSTEM.pptx
BANK MANAGEMNT SYSTEM.pptx
VjVj28
 
BANK MANAGEMENT SYSTEM report
BANK MANAGEMENT SYSTEM reportBANK MANAGEMENT SYSTEM report
BANK MANAGEMENT SYSTEM report
Nandana Priyanka Eluri
 
Smart Health Prediction Report
Smart Health Prediction ReportSmart Health Prediction Report
Smart Health Prediction Report
Arhind Gautam
 
Bank management system
Bank management systemBank management system
Bank management system
sumanadas37
 
SRS for Hospital Management System
SRS for Hospital Management SystemSRS for Hospital Management System
SRS for Hospital Management System
kataria Arvind
 
Online railway reservation system
Online railway reservation systemOnline railway reservation system
Online railway reservation system
PIYUSH Dubey
 
Banking management system
Banking management systemBanking management system
Banking management system
Home
 
Online doctor appointment
Online doctor appointmentOnline doctor appointment
Online doctor appointment
Amna Nawazish
 
Banking system (final)
Banking system (final)Banking system (final)
Banking system (final)
prabhjot7777
 
Student management system
Student management systemStudent management system
Student management system
Amit Gandhi
 
Online Admission System
Online Admission System  Online Admission System
Online Admission System
Laukesh Jaishwal
 
College Management System
College Management SystemCollege Management System
College Management System
Swapna Subhadarsini
 
Final Year Project BCA Presentation on Pic-O-Stica
Final Year Project BCA Presentation on Pic-O-SticaFinal Year Project BCA Presentation on Pic-O-Stica
Final Year Project BCA Presentation on Pic-O-Stica
Sharath Raj
 

What's hot (20)

online blood bank system design
online blood bank system designonline blood bank system design
online blood bank system design
 
Atm project
Atm projectAtm project
Atm project
 
Credit card fraud detection using machine learning Algorithms
Credit card fraud detection using machine learning AlgorithmsCredit card fraud detection using machine learning Algorithms
Credit card fraud detection using machine learning Algorithms
 
Harsh Mathur Final Year Project Report on Restaurant Billing System
Harsh  Mathur Final Year Project Report on Restaurant Billing SystemHarsh  Mathur Final Year Project Report on Restaurant Billing System
Harsh Mathur Final Year Project Report on Restaurant Billing System
 
Computer Science Internship Report PDF Leena AI
Computer Science Internship Report PDF Leena AIComputer Science Internship Report PDF Leena AI
Computer Science Internship Report PDF Leena AI
 
Credit card fraud detection
Credit card fraud detectionCredit card fraud detection
Credit card fraud detection
 
Final Project Report of College Management System
Final Project Report of College Management SystemFinal Project Report of College Management System
Final Project Report of College Management System
 
BANK MANAGEMNT SYSTEM.pptx
BANK MANAGEMNT SYSTEM.pptxBANK MANAGEMNT SYSTEM.pptx
BANK MANAGEMNT SYSTEM.pptx
 
BANK MANAGEMENT SYSTEM report
BANK MANAGEMENT SYSTEM reportBANK MANAGEMENT SYSTEM report
BANK MANAGEMENT SYSTEM report
 
Smart Health Prediction Report
Smart Health Prediction ReportSmart Health Prediction Report
Smart Health Prediction Report
 
Bank management system
Bank management systemBank management system
Bank management system
 
SRS for Hospital Management System
SRS for Hospital Management SystemSRS for Hospital Management System
SRS for Hospital Management System
 
Online railway reservation system
Online railway reservation systemOnline railway reservation system
Online railway reservation system
 
Banking management system
Banking management systemBanking management system
Banking management system
 
Online doctor appointment
Online doctor appointmentOnline doctor appointment
Online doctor appointment
 
Banking system (final)
Banking system (final)Banking system (final)
Banking system (final)
 
Student management system
Student management systemStudent management system
Student management system
 
Online Admission System
Online Admission System  Online Admission System
Online Admission System
 
College Management System
College Management SystemCollege Management System
College Management System
 
Final Year Project BCA Presentation on Pic-O-Stica
Final Year Project BCA Presentation on Pic-O-SticaFinal Year Project BCA Presentation on Pic-O-Stica
Final Year Project BCA Presentation on Pic-O-Stica
 

Similar to INT213 Project Report: Income Tax Calculator

Destination reminder
Destination reminderDestination reminder
Destination reminder
Ashwin Bangar
 
Fin-Vest: Personal Finance Management
Fin-Vest: Personal Finance ManagementFin-Vest: Personal Finance Management
Fin-Vest: Personal Finance Management
IRJET Journal
 
Udyog launched Visual Udyog 1.0 service tax software
Udyog launched Visual Udyog 1.0 service tax softwareUdyog launched Visual Udyog 1.0 service tax software
Udyog launched Visual Udyog 1.0 service tax software
pravin sawant
 
Udyog launched Visual Udyog 1.0 Service Tax Software
Udyog launched Visual Udyog 1.0 Service Tax SoftwareUdyog launched Visual Udyog 1.0 Service Tax Software
Udyog launched Visual Udyog 1.0 Service Tax Software
pravin sawant
 
Capstone New Century Wellness Group Task Financial.pdf
Capstone New Century Wellness Group Task Financial.pdfCapstone New Century Wellness Group Task Financial.pdf
Capstone New Century Wellness Group Task Financial.pdf
studywriters
 
IS320 Database Applications.docx
IS320 Database Applications.docxIS320 Database Applications.docx
IS320 Database Applications.docx
stirlingvwriters
 
iaetsd Easy tax a user friendly mobile application
iaetsd Easy tax   a user friendly mobile applicationiaetsd Easy tax   a user friendly mobile application
iaetsd Easy tax a user friendly mobile application
Iaetsd Iaetsd
 
Payroll System Specification
Payroll System SpecificationPayroll System Specification
Payroll System SpecificationMichael Hather
 
Payroll Management System Complete Report
Payroll Management System Complete ReportPayroll Management System Complete Report
Payroll Management System Complete Report
Savio Aberneithie
 
GSTplus - end-to-end GST eco-system
GSTplus - end-to-end GST eco-systemGSTplus - end-to-end GST eco-system
GSTplus - end-to-end GST eco-system
skorydov
 
guidelines for e-invoice for software packages
guidelines for e-invoice for software packages guidelines for e-invoice for software packages
guidelines for e-invoice for software packages
krishna moorthy suresh
 
EMI calculator batch-17P.pptx
EMI calculator batch-17P.pptxEMI calculator batch-17P.pptx
EMI calculator batch-17P.pptx
Sriharsha203438
 
Il tds tax_deduction_at_source
Il tds tax_deduction_at_sourceIl tds tax_deduction_at_source
Il tds tax_deduction_at_source
sunita m
 
So Responsible Pitch deck
So Responsible Pitch deckSo Responsible Pitch deck
So Responsible Pitch deck
KimberleyLau4
 
Income Tax (Savings) Declaration using greytHR
Income Tax (Savings) Declaration using greytHRIncome Tax (Savings) Declaration using greytHR
Income Tax (Savings) Declaration using greytHR
Greytip Software
 
Gst
GstGst
Comp 122 lab 2 lab report and source code
Comp 122 lab 2 lab report and source codeComp 122 lab 2 lab report and source code
Comp 122 lab 2 lab report and source code
pradesigali1
 
GST and GSTN Goods and Service Tax Network
GST and  GSTN Goods and Service Tax Network GST and  GSTN Goods and Service Tax Network
GST and GSTN Goods and Service Tax Network
mukesh negi
 
FPT stock price forecast for future.pptx
FPT stock price forecast for future.pptxFPT stock price forecast for future.pptx
FPT stock price forecast for future.pptx
nguyengiatung4567
 

Similar to INT213 Project Report: Income Tax Calculator (20)

Destination reminder
Destination reminderDestination reminder
Destination reminder
 
Fin-Vest: Personal Finance Management
Fin-Vest: Personal Finance ManagementFin-Vest: Personal Finance Management
Fin-Vest: Personal Finance Management
 
Udyog launched Visual Udyog 1.0 service tax software
Udyog launched Visual Udyog 1.0 service tax softwareUdyog launched Visual Udyog 1.0 service tax software
Udyog launched Visual Udyog 1.0 service tax software
 
Udyog launched Visual Udyog 1.0 Service Tax Software
Udyog launched Visual Udyog 1.0 Service Tax SoftwareUdyog launched Visual Udyog 1.0 Service Tax Software
Udyog launched Visual Udyog 1.0 Service Tax Software
 
Capstone New Century Wellness Group Task Financial.pdf
Capstone New Century Wellness Group Task Financial.pdfCapstone New Century Wellness Group Task Financial.pdf
Capstone New Century Wellness Group Task Financial.pdf
 
IS320 Database Applications.docx
IS320 Database Applications.docxIS320 Database Applications.docx
IS320 Database Applications.docx
 
iaetsd Easy tax a user friendly mobile application
iaetsd Easy tax   a user friendly mobile applicationiaetsd Easy tax   a user friendly mobile application
iaetsd Easy tax a user friendly mobile application
 
Payroll System Specification
Payroll System SpecificationPayroll System Specification
Payroll System Specification
 
Payroll Management System Complete Report
Payroll Management System Complete ReportPayroll Management System Complete Report
Payroll Management System Complete Report
 
Tax
TaxTax
Tax
 
GSTplus - end-to-end GST eco-system
GSTplus - end-to-end GST eco-systemGSTplus - end-to-end GST eco-system
GSTplus - end-to-end GST eco-system
 
guidelines for e-invoice for software packages
guidelines for e-invoice for software packages guidelines for e-invoice for software packages
guidelines for e-invoice for software packages
 
EMI calculator batch-17P.pptx
EMI calculator batch-17P.pptxEMI calculator batch-17P.pptx
EMI calculator batch-17P.pptx
 
Il tds tax_deduction_at_source
Il tds tax_deduction_at_sourceIl tds tax_deduction_at_source
Il tds tax_deduction_at_source
 
So Responsible Pitch deck
So Responsible Pitch deckSo Responsible Pitch deck
So Responsible Pitch deck
 
Income Tax (Savings) Declaration using greytHR
Income Tax (Savings) Declaration using greytHRIncome Tax (Savings) Declaration using greytHR
Income Tax (Savings) Declaration using greytHR
 
Gst
GstGst
Gst
 
Comp 122 lab 2 lab report and source code
Comp 122 lab 2 lab report and source codeComp 122 lab 2 lab report and source code
Comp 122 lab 2 lab report and source code
 
GST and GSTN Goods and Service Tax Network
GST and  GSTN Goods and Service Tax Network GST and  GSTN Goods and Service Tax Network
GST and GSTN Goods and Service Tax Network
 
FPT stock price forecast for future.pptx
FPT stock price forecast for future.pptxFPT stock price forecast for future.pptx
FPT stock price forecast for future.pptx
 

More from Qazi Maaz Arshad

INT217 Project Viva Presentation: Excel Dashboard
INT217 Project Viva Presentation: Excel DashboardINT217 Project Viva Presentation: Excel Dashboard
INT217 Project Viva Presentation: Excel Dashboard
Qazi Maaz Arshad
 
INT217 Project Report: Excel Dashboard
INT217 Project Report: Excel DashboardINT217 Project Report: Excel Dashboard
INT217 Project Report: Excel Dashboard
Qazi Maaz Arshad
 
LPU Summer Training Project Viva PPT - Modern Big Data Analysis with SQL Spec...
LPU Summer Training Project Viva PPT - Modern Big Data Analysis with SQL Spec...LPU Summer Training Project Viva PPT - Modern Big Data Analysis with SQL Spec...
LPU Summer Training Project Viva PPT - Modern Big Data Analysis with SQL Spec...
Qazi Maaz Arshad
 
Cse443 Project Report - LPU (Modern Big Data Analysis with SQL Specialization)
Cse443 Project Report - LPU (Modern Big Data Analysis with SQL Specialization)Cse443 Project Report - LPU (Modern Big Data Analysis with SQL Specialization)
Cse443 Project Report - LPU (Modern Big Data Analysis with SQL Specialization)
Qazi Maaz Arshad
 
Municipal Solid Waste Management in Developing Countries
Municipal Solid Waste Management in Developing CountriesMunicipal Solid Waste Management in Developing Countries
Municipal Solid Waste Management in Developing Countries
Qazi Maaz Arshad
 
Ultrasonic testing
Ultrasonic testingUltrasonic testing
Ultrasonic testing
Qazi Maaz Arshad
 
Zero energy building
Zero energy buildingZero energy building
Zero energy building
Qazi Maaz Arshad
 
Open data science
Open data scienceOpen data science
Open data science
Qazi Maaz Arshad
 
Ecotourism
EcotourismEcotourism
Ecotourism
Qazi Maaz Arshad
 
Gesture Robotics
Gesture RoboticsGesture Robotics
Gesture Robotics
Qazi Maaz Arshad
 
Benefits of Ecotourism in India
Benefits of Ecotourism in IndiaBenefits of Ecotourism in India
Benefits of Ecotourism in India
Qazi Maaz Arshad
 
Battery disposal
Battery disposalBattery disposal
Battery disposal
Qazi Maaz Arshad
 
MGN231 Community Development Project Report
MGN231 Community Development Project ReportMGN231 Community Development Project Report
MGN231 Community Development Project Report
Qazi Maaz Arshad
 

More from Qazi Maaz Arshad (13)

INT217 Project Viva Presentation: Excel Dashboard
INT217 Project Viva Presentation: Excel DashboardINT217 Project Viva Presentation: Excel Dashboard
INT217 Project Viva Presentation: Excel Dashboard
 
INT217 Project Report: Excel Dashboard
INT217 Project Report: Excel DashboardINT217 Project Report: Excel Dashboard
INT217 Project Report: Excel Dashboard
 
LPU Summer Training Project Viva PPT - Modern Big Data Analysis with SQL Spec...
LPU Summer Training Project Viva PPT - Modern Big Data Analysis with SQL Spec...LPU Summer Training Project Viva PPT - Modern Big Data Analysis with SQL Spec...
LPU Summer Training Project Viva PPT - Modern Big Data Analysis with SQL Spec...
 
Cse443 Project Report - LPU (Modern Big Data Analysis with SQL Specialization)
Cse443 Project Report - LPU (Modern Big Data Analysis with SQL Specialization)Cse443 Project Report - LPU (Modern Big Data Analysis with SQL Specialization)
Cse443 Project Report - LPU (Modern Big Data Analysis with SQL Specialization)
 
Municipal Solid Waste Management in Developing Countries
Municipal Solid Waste Management in Developing CountriesMunicipal Solid Waste Management in Developing Countries
Municipal Solid Waste Management in Developing Countries
 
Ultrasonic testing
Ultrasonic testingUltrasonic testing
Ultrasonic testing
 
Zero energy building
Zero energy buildingZero energy building
Zero energy building
 
Open data science
Open data scienceOpen data science
Open data science
 
Ecotourism
EcotourismEcotourism
Ecotourism
 
Gesture Robotics
Gesture RoboticsGesture Robotics
Gesture Robotics
 
Benefits of Ecotourism in India
Benefits of Ecotourism in IndiaBenefits of Ecotourism in India
Benefits of Ecotourism in India
 
Battery disposal
Battery disposalBattery disposal
Battery disposal
 
MGN231 Community Development Project Report
MGN231 Community Development Project ReportMGN231 Community Development Project Report
MGN231 Community Development Project Report
 

Recently uploaded

road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
ShahidSultan24
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 

Recently uploaded (20)

road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
addressing modes in computer architecture
addressing modes  in computer architectureaddressing modes  in computer architecture
addressing modes in computer architecture
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 

INT213 Project Report: Income Tax Calculator

  • 1. Income Tax Calculator (For A Salaried Person) Assignment 1 Report Submitted By : Group 1 S.No. Name Roll No. Registration No. 1. Mohit Kumar Mahato RK19SPA09 11913514 2. Rocky Sharaf RK19SPB70 11918040 3. Qazi Maaz Arshad RK19SPA26 11906424 Courses Code : INT213 School of Computer Science and Engineering Lovely Professional University Phagwara, Punjab (India)
  • 2. Student Declaration This is to declare that this report has been written by us (Group 1). No part of the report is copied from other sources. All information included from other sources have been duly acknowledged. We aver that if any part of the report is found to be copied, We shall take full responsibility for it. Mohit Kumar Mahato – 09 Rocky Sharaf – 70 Qazi Maaz Arshad – 26 Place : Bahraich , Uttar Pradesh Date : 22/10/2020
  • 3. Acknowledgement We are overwhelmed in all humbleness and gratefulness to our teacher and guide Ms. Gagandeep Kaur who provided wholesome direction and support to us at every stage of our project. Her wisdom , knowledge and commitment to the highest standards inspired and motivated us to successfully complete this project. Mohit Kumar Mahato – 09 Rocky Sharaf – 70 Qazi Maaz Arshad – 26
  • 4. Contents Title Page No. • Cover Page 1 • Student Declaration 2 • Acknowledgement 3 • Contents 4 • Purpose Of Project 5 • Basic Fundamentals Of Income Tax 5 – 6 Calculations • Project Description 7 – 8 • Application Walkthrough 8 • How We Built This GUI Application 9 • SWOT Analysis 10 • Screenshots 11 – 14 • Source Code 15 – 28 • Bibliography 29
  • 5. Purpose Of Project The main aim of our project is to built a GUI (Graphical User Interface) application to calculate the liable tax of a salaried person. This application aims at providing a user-friendly approach to calculate the payable tax without digging into complex details and calculations. Our income tax calculator helps user to manage their taxes and choose the best suitable tax regime (old or new). Our calculator gives user the opportunity to check how much they can save by opting one tax system over the other. Basic Fundamentals Of Income Tax Calculations Income Tax is an annual tax on income. The Indian Income Tax Act (Section 4) provides that in respect of total income of the previous year of every person income tax shall be charged for the corresponding assessment year at the rates laid down by the Financial Act for that assessment year. Section 14 of the Income Tax Act further provides that for the purpose of charge of income tax and computation of total income all incomes shall be classified under the following heads of income : Salaries Income from house property Profits or gains of business or profession Capital gains Income from other sources (not covered in above four categories) The total income from all the above heads of income is calculated in accordance with the provisions of the Act as they stand on the first
  • 6. day of April of any assessment year. But tax rates are not applied on total income ,tax rates are applied on Total Taxable Income which is calculated after the deductions in total income. Tax deductions is a reduction in tax obligation from Gross Income. Tax deduction varies in amount as different incomes are treated differently under various sections of Income Tax Act these are : 80C (Bank FD’s , LIC Premium , Tuition fees etc.) 80CCC ( Pension Funds) 80CCD ( Pension Funds by Central Government) 80TTA ( Interests on Bank Savings Account) 80CCG (Equity Saving Schemes) 80CCF (Long Term Infrastructure Bonds) 80D (Medical Insurance) 80E (Education Loan) Other sections are 80EE, 80G ,80CGA ,80GGB ,80GC ) The total deductions from all the sources is calculated in accordance with the provisions of the Act as they stand on the first day of April of any assessment year. Taxable Income = Total Gross Income – Total Deductions Net Payable Tax = (Tax Rate) x (Taxable Income)
  • 7. Project Description Our calculator has a very simple design , any user who is not aware of basic calculations involved in calculating income tax can easily operate. At first users need to click on the Start button to proceed . Then Users needs to enter their details like Name, Contact No. and Email Id for record purposes. Users can always check current tax slabs rates by clicking on a button in the bottom right corner (Check Taxes Scheme). After entering basic details Users needs to press the next button and they are taken to next page. Users now need to enter their total annual income (sum of salaries, profits, capital gains etc.) for the current assessment year . Then users need to enter the sum of all deductions (pensions, education loan , medical insurance etc.). After providing the above inputs users need to click on the calculate button and the output will be displayed. The output format will be : Old Tax : XXXX [ Payable tax according to earlier tax slab rates ] New Tax : XXXX [ Payable tax according to new tax slab rates ] Tax Savings : XXXX [ Difference between Old Tax and New Tax ] Better Option : XXXX [ Suggestion to choose preferable Tax Scheme ]
  • 8. Users can always reset the input values by clicking the Reset button. Upon clicking the Credits button in the bottom right corner a pop up window appears having details of all the developers who contributed in designing and execution of this application. The Exit button in the bottom right corner successfully terminates the application and calculator is closed. Application Walkthrough Reset Enter Basic Details Check Tax Schemes Next Enter Income and Deductions Calculate Result E X I T Bye-Bye Credits Developers Profile Taxes Rates Start
  • 9. How We Built This GUI Application To design this Income Tax Calculator, we have followed a very planned approach. We have gone through multiple online income tax calculators and observed their format as well as their functioning. We have spent a great amount of time and effort in studying the Income Tax basics and laws and regulations of Income Tax Act. We have used Python Tkinter to built this GUI application we have worked on different platforms like Anaconda and Pycharm. We have made this application very user-friendly. The background image we have used has a very good combination of colors making it more attractive and beautiful.
  • 10. SWOT Analysis Opportunities Reduce Prerequisite: We can add calculation of Total Income from various sources and calculation of Total Deductions under various sections of Income Tax Act. Extension: We can target other groups (ex. Businesses) by adding tax calculation system for them also. Weakness Pre-Calculation: Users need to be ready with total income and total deductions figure. Specific: Our calculator is designed only for salaried Indian individual. Taxes of businesses and foreign currency cannot be calculated. Unnecessary Feature: Asking basic details is irrelevant from Users point of view. Strengths User-Friendly: All users can learn to use our calculator quickly and use it efficiently. Works Offline: No need of an active internet connection. Simplicity: Users need not to dig into complex rules and understanding of Income Tax. Additional Feature: Calculator suggests preferable tax scheme and calculate savings. Threats Competition: Clients are more likely to use another calculator because most of them target multiple audience groups and offer other features like calculating Total Income and Total Deductions. Government’s Taxation Rules and Policy Amendment: We will have to update all the mathematics if new taxation system is introduced.
  • 12. Check Taxes Scheme Enter Income and Deductions and Calculate - Output When Better Option Is Old Tax
  • 13. Output When Better Option Is New Tax Output When Income Tax Is Not Applicable
  • 15. Source Code #Importing tkinter package from tkinter import * #Importing messagebox widget from tkinter package from tkinter import messagebox root = Tk() #Creating root window root.title("Income Tax calculator") #Root window title root.geometry('1000x600') #Window size root.maxsize(1000, 600) font1 = ("Times", 14, "bold") #Saving font styles font2 = ("Times", 13, "bold") def des_f1(): #Destroys 1st frame f1 f1.destroy() #Creating 1st frame f1:-
  • 16. f1 = Frame(root, height=600, width=1000) f1.propagate(0) f1.pack(side='top') #Creating canvas on f1 for background image c = Canvas(f1, width=1000, height=600, bg="blue") c.pack() p1 = PhotoImage(file='front.gif') #Background image of f1 #Inserting image in canvas c.create_image(0, 0, image=p1, anchor=NW) #Creating button to move to next frame f2 Button(f1, text="Start", font=font1, foreground='white',command=des_f1, bg='#8b1c13', width=8, border=4).place(x=450,y=500) def des_f2(): #Function to destroy 2nd frame f2 f2.destroy() #Creating 2nd frame f2 :- f2 = Frame(root, height=600, width=1000, background='red') f2.propagate(0) f2.pack(side='top') #Creating canvas on f2 for background image
  • 17. c = Canvas(f2, width=1000, height=600, bg="blue") c.pack() p2 = PhotoImage(file='back.gif') #Background image of f2 #Inserting image in canvas c.create_image(0, 0, image=p2, anchor=NW) #Creating labels and entry boxes l0 = Label(f2, text='Enter your details :-', font=font1) l0.place(x=250, y=100) l1 = Label(f2, text='Name', font=font1) l1.place(x=250, y=140) e1 = Entry(f2, width=50, border=2) e1.place(x=450, y=140) l2 = Label(f2, text='Contact', font=font1) l2.place(x=250, y=180) e2 = Entry(f2, width=50, border=2) e2.place(x=450, y=180) l3 = Label(f2, text='Email Id', font=font1)
  • 18. l3.place(x=250, y=220) e3 = Entry(f2, width=50, border=2) e3.place(x=450, y=220) #Button to move to 3rd frame f3 :- Button(f2, text="Next", command=des_f2, width=10, border=4).place(x=500, y=300) #Function to display the new and old tax slab rates :- def tax_scheme(): new_window = Toplevel(f2) #Creating new window new_window.title("Tax scheme") #Window title new_window.geometry("452x322") #window size Label(new_window, text="This is a Tax scheme", image=logo).pack() #Adding image having the new and old tax rates :- logo = PhotoImage(file="image.gif") label = Label(f2, text="This is the main window") label.pack(pady=10) #Button which shows the new and old tax rates in new window :- Button(f2, text="Check Taxes Scheme", command=tax_scheme).place(x=770, y=500)
  • 19. def des_f3(): #Function to destroy 3rd frame f3 f3.destroy() #Creating the 3rd frame f3:- f3 = Frame(root, height=600, width=1000, background='yellow') f3.propagate(0) f3.pack(side='top') #Creating canvas on f3 for background image c = Canvas(f3, width=1000, height=600, bg="blue") c.pack() p3 = PhotoImage(file='back.gif') #Background image of f3 #Putting image in canvas of f3 :- c.create_image(0, 0, image=p3, anchor=NW) #Labels and entry boxes of 3rd frame f3 :- l4 = Label(f3, text='Enter the required data (in INR) :-', font=font1) l4.place(x=250, y=100) l5 = Label(f3, text='Annual Income', font=font1) l5.place(x=250, y=160) e5 = Entry(f3, width=50, border=2) e5.place(x=480, y=160)
  • 20. l6 = Label(f3, text='Exemptions / deductions', font=font1) l6.place(x=250, y=200) e6 = Entry(f3, width=50, border=2) e6.place(x=480, y=200) def oldtax(ta): #Function to calculate the tax as per old rates total = 0 #ta is the taxable amount=(income-deductions) n = 0 while ta > 0: if n == 1: if ta >= 250000: total = total + 250000 * 5 / 100 else: total = total + ta * 5 / 100 elif n == 2 or n == 3: if ta >= 250000: total = total + 250000 * 20 / 100 else:
  • 21. total = total + ta * 20 / 100 elif n == 4 or n == 5: if ta >= 250000: total = total + 250000 * 30 / 100 else: total = total + ta * 30 / 100 elif n == 6: total = total + ta * 30 / 100 else: total = 0 ta = ta - 250000 n = n + 1 cess = total * 4 / 100 #CESS is the 4% of Total tax return total + cess #Returning final tax = (Total tax + cess) def newtax(ta): #Function for calculating tax as per new rates total = 0 #ta is the annual income n = 0 while ta > 0:
  • 22. if n == 1: if ta >= 250000: total = total + 250000 * 5 / 100 else: total = total + ta * 5 / 100 elif n == 2: if ta >= 250000: total = total + 250000 * 10 / 100 else: total = total + ta * 10 / 100 elif n == 3: if ta >= 250000: total = total + 250000 * 15 / 100 else: total = total + ta * 15 / 100 elif n == 4: if ta >= 250000: total = total + 250000 * 20 / 100 else: total = total + ta * 20 / 100
  • 23. elif n == 5: if ta >= 250000: total = total + 250000 * 25 / 100 else: total = total + ta * 25 / 100 elif n == 6: total = total + ta * 30 / 100 else: total = 0 ta = ta - 250000 n = n + 1 cess = total * 4 / 100 #CESS is the 4% of Total tax return total + cess #Returning final tax = (Total tax + cess) def delete(): #Function for clearing the output labels l8 = Label(f3, text=" ", font=font1, background="white") l8.place(x=480, y=300)
  • 24. l10 = Label(f3, text=" ", font=font1, background="white") l10.place(x=480, y=340) l12 = Label(f3, text=" ", font=font1, background="white") l12.place(x=480, y=380) l14 = Label(f3, text=" ", font=font1, background="white") l14.place(x=480, y=420) delete() #Function for calculating new and old tax by calling their functions:- def calculate(): delete() #Clears the previously calculated tax
  • 25. at = e5.get() #Retrieves annual income given by user ad = e6.get() #Retrieves annual deductions of user ta = int(at) - int(ad) #Calculates taxable amount old = oldtax(ta) #Calling function to calculate old tax new = newtax(int(at)) #Calling function to calculate new tax tax_save = abs(new - old) #Calculates tax savings tax_save = round(tax_save, 2) #Sets precision of tax saving if new > old: #Calculating which tax is cheaper better = "old tax" elif ta <= 250000: better = "Income tax not applicable (Taxable income < 250000)" else: better = "new tax" #Printing the calculated old and new tax and tax savings :- l7 = Label(f3, text='Old tax', font=font1) l7.place(x=250, y=300) l8 = Label(f3, text=str(old), font=font1) l8.place(x=480, y=300)
  • 26. l9 = Label(f3, text='New tax', font=font1) l9.place(x=250, y=340) l10 = Label(f3, text=str(new), font=font1) l10.place(x=480, y=340) l11 = Label(f3, text='Tax saving', font=font1) l11.place(x=250, y=380) l12 = Label(f3, text=str(tax_save), font=font1) l12.place(x=480, y=380) l13 = Label(f3, text='better option', font=font1) l13.place(x=250, y=420) l14 = Label(f3, text=better, font=font1) l14.place(x=480, y=420)
  • 27. #Button for calculating taxes for data given by the user Button(f3, text="Calculate", command=calculate, width=10, border=4).place(x=500, y=250) #Button to reset the output labels for next calculation Button(f3, text="Reset", command=delete, width=10, border=4).place(x=610, y=250) def credit(): #Function to print project credits in a message box #Creating message box which will display the credits messagebox.showinfo('Credits', 'NametttReg. numbertRoll no.nnMohit Kumar Mahatot11913514t09nn' 'Rocky Sharaftt11918040t70nn' 'Qazi Maaz Arshadtt11906424t26 nn' 'Special Thanks to Gagandeep Ma’am') #Button for displaying project credits Button(f3, text="Credits", command=credit, foreground='white', font=font1, width=8, border=4, bg='#ad0414').place(x=630,y=500) def end(): #Function for exiting the project root.destroy()
  • 28. #Button for exiting the project Button(f3, text="Exit", command=end, foreground='white', width=8, font=font1, border=4, bg='#ad0414').place(x=800, y=500) root.mainloop() #Method for starting the root window
  • 29. Bibliography • www.google.com • www.quora.com • www.youtube.com • www.incometaxindia.gov.in • www.slideshare.net • Python GUI Programming CookBook – Burkhard A. Meier • Class Notes And Video Lectures – Ms. Gagandeep Kaur