Sub topic 2
Applying the rule to your income
This chapter assumes you know your monthly take-home pay, can calculate percentages, and have a list of your regular bills. The 50/30/20 rule splits net income into three shares: 50% for needs, 30% for wants, and 20% for savings and debt repayment.
Applying the rule to your income
Net income is the amount that reaches your bank account after tax and deductions. Multiply it by each share:
def budget_50_30_20(net_income):
return {
"needs": round(net_income * 0.50, 2),
"wants": round(net_income * 0.30, 2),
"savings": round(net_income * 0.20, 2),
}
print(budget_50_30_20(4000))
# {'needs': 2000.0, 'wants': 1200.0, 'savings': 800.0}Tracking what you actually spend
Record every expense for one month and group it under the three shares. Then compare actual totals with the plan. A positive difference means you overspent that category.
def compare_to_plan(plan, actual):
return {k: round(actual[k] - plan[k], 2) for k in plan}
plan = {"needs": 2000.0, "wants": 1200.0, "savings": 800.0}
actual = {"needs": 2300.0, "wants": 1000.0, "savings": 700.0}
print(compare_to_plan(plan, actual))
# {'needs': 300.0, 'wants': -200.0, 'savings': -100.0}When the rule does not fit: adjusting the percentages
If rent alone takes 60% of your net pay, the 50% needs share cannot cover it. Shift the percentages for a set period, for example 60/25/15, and write down the date you will return to the target. Keep the three shares adding to 100%.
Alternative: zero-based budgeting
Zero-based budgeting assigns every unit of income to a category until none is left. Income minus all allocations must equal zero.
income = 4000
allocations = {"rent": 1500, "food": 500, "transport": 250, "fun": 400, "savings": 900, "debt": 450}
left_to_assign = income - sum(allocations.values())
print(left_to_assign) # 0
assert left_to_assign == 0Exercise
Your net income is 3,000 and your actual needs spending is 1,600. How far over the 50% needs share are you?
Show answer
The needs share is 3,000 × 0.50 = 1,500. Spending of 1,600 is 100 over that share.