now allows downloading, defaults include health care and better leave calc. This is probably good enough now, so I have also saved a snapshot/csv of the data
This commit is contained in:
9
calc.py
9
calc.py
@@ -24,10 +24,11 @@ def calculate_savings_depletion(finance):
|
||||
TLS_price = finance['TLS_price']
|
||||
CBA_price = finance['CBA_price']
|
||||
|
||||
# leave in days, 10 business days to a fortnight, salary is per fortnight, and we lose 37% to tax
|
||||
# (assuming we don't earn over $180k)
|
||||
# if we could stretch this to July 2026, then would be more (due to less tax)
|
||||
D_leave_after_tax = (D_leave_owed_in_days/10) * D_Salary;
|
||||
# leave in days, 10 business days to a fortnight,
|
||||
# paid before tax I earn $7830.42 / fortnight. Tax on that will be at 37% or $4933.16 after tax
|
||||
# if we could stretch this to July 2026, then would be more (due to less tax)
|
||||
after_tax_extra_leave_per_fortnight = 4933.16
|
||||
D_leave_after_tax = (D_leave_owed_in_days/10) * after_tax_extra_leave_per_fortnight;
|
||||
|
||||
# Constants for interest calculations
|
||||
annual_interest_rate = Interest_Rate / 100.0
|
||||
|
||||
Reference in New Issue
Block a user