just using deakin redunancy calc figures for leave/tax when resigning

This commit is contained in:
2025-05-11 12:03:36 +10:00
parent cea4cb9ed4
commit 5b6b6297ea

11
calc.py
View File

@@ -52,6 +52,10 @@ def calculate_savings_depletion(finance):
# whenever I leave, I get 12 weeks (or 60 business days) + whatever leave they owe me # whenever I leave, I get 12 weeks (or 60 business days) + whatever leave they owe me
payout = ((60+D_leave_owed_in_days)/bus_days_in_fortnight) * pre_tax_D_earning payout = ((60+D_leave_owed_in_days)/bus_days_in_fortnight) * pre_tax_D_earning
# just use redundancy calc...
payout = 83115.84
print( f"leave payout gross={payout}" )
# as the leave is just on top of my existing earnings and if in 2024 fin year, just take tax at 37% for the extra leave amount # as the leave is just on top of my existing earnings and if in 2024 fin year, just take tax at 37% for the extra leave amount
# hardcoded 6 represents the 12 weeks or 6 fornights of pay owed to me when I give notice or they sack me # hardcoded 6 represents the 12 weeks or 6 fornights of pay owed to me when I give notice or they sack me
D_leave_after_tax = payout * (1-0.37) D_leave_after_tax = payout * (1-0.37)
@@ -63,7 +67,12 @@ def calculate_savings_depletion(finance):
# amount of tax I will get back info: tax_diff_D_leave # amount of tax I will get back info: tax_diff_D_leave
tax_on_leave = (payout - 45000)*.37 + 4288 tax_on_leave = (payout - 45000)*.37 + 4288
D_leave_after_tax_new_fin_year = payout - tax_on_leave D_leave_after_tax_new_fin_year = payout - tax_on_leave
tax_diff_D_leave = D_leave_after_tax_new_fin_year-D_leave_after_tax
# just use redunancy calc...
D_leave_after_tax_new_fin_year = 56518.77
tax_diff_D_leave = payout - D_leave_after_tax_new_fin_year
print( f"tax_diff_D_leave: {tax_diff_D_leave}") print( f"tax_diff_D_leave: {tax_diff_D_leave}")
### leave / tax items finished ### ### leave / tax items finished ###