#北京計算個人所得稅
total_income = int(input("請輸入你的總收入:"))
endownment_insurance = total_income * 0.08
medical_insurance = total_income * 0.02
unemployment_insurance = total_income * 0.002
housing_provident_fund = total_income * 0.12
earned_income = total_income - endownment_insurance - medical_insurance -unemployment_insurance - housing_provident_fund
tax_payable = earned_income - 3500
print("個人繳納五險一金:", total_income * 0.222)
if tax_payable <= 1500:
tax = tax_payable * 0.03
print("個人所得稅:",tax)
elif tax_payable <=4500:
tax = (tax_payable + 105) * 0.1
print("個人所得稅:",tax)
elif tax_payable <=9000:
tax = (tax_payable + 555) * 0.2
print("個人所得稅:",tax)
elif tax_payable <=35000:
tax = (tax_payable + 1005) * 0.25
print("個人所得稅:",tax)
elif tax_payable <=55000:
tax = (tax_payable + 2755) * 0.3
print("個人所得稅:",tax)
elif tax_payable <=80000:
tax = (tax_payable + 5505) * 0.35
print("個人所得稅:",tax)
else:
tax = (tax_payable - 13505) * 0.45
print("個人所得稅:",tax)
income = total_income - endownment_insurance - medical_insurance - unemployment_insurance - housing_provident_fund - tax
print("實際收入:", income)
python計算工資個稅
1 coding utf 8 23 total int input 稅前總計 45 公積金10 6 gongjijin total 0.1 7print 公積金個人繳納 2f gongjijin 8 養老保險8 醫保2 失業0.4 合計10.4 9 shebao total 0.104 10 yin...
用python寫乙個北京市的個稅計算器
1 應納稅的錢 稅前收入 5000元 起徵點 專項扣除 五險一金等 2 工資個稅的計算公式為 3 個人所得稅 應納稅的錢 適用稅率 速算扣除數 4 51 全月應納稅所得額不超過3000元 6稅率 3 速算扣除數 元 0 72 全月應納稅所得額超過3000元至12000元 8稅率 10 速算扣除數 元...
工資和個稅的計算
工資的個人所得稅怎麼算 計算方式 應交所得稅 應納稅所得額 適用稅率 1 應納稅所得額 月度收入 5000元 起徵點 專項扣除 三險一金等 專項附加扣除 依法確定的其他扣除。2 綜合所得 工資 薪金所得 勞務報酬所得,稿費所得,特許權使用費所得 適用7級超額累進稅額,按月應納稅所得額計算徵稅,該稅率...