Sub topic 6
Tracking what you actually spend
A budget is a plan. Tracking is how you find out whether the plan matches reality. This chapter assumes you can already calculate net monthly income, classify expenses as needs, wants or savings, and apply the 50/30/20 rule to get a dollar budget. Here you will record real spending, compare it to the plan, and read the differences.
Why tracking comes after the plan
The 50/30/20 rule gives you targets: for a take-home income of 4,000, that is 2,000 for needs, 1,200 for wants and 800 for savings. Targets do not tell you what happened. Most people underestimate small, frequent purchases and overestimate how much they save. Tracking replaces memory and guesswork with a record.
Tracking has two parts:
- Recording: capturing each transaction with a date, an amount and a category.
- Comparing: totaling each category and subtracting the plan from the actual figure.
Recording is mechanical. Comparing is where the useful information appears.
Where the data comes from
You have three common sources. Each has a trade-off.
| Source | Strength | Weakness |
|---|---|---|
| Bank and card statements (CSV export or app) | Complete and accurate, with no manual entry | Merchant names are cryptic, and cash is missing |
| Manual log in a spreadsheet or notes app | Captures cash and gives you a daily view of spending | Easy to forget, so entries get skipped |
| Budgeting app that syncs accounts | Automatic categorization and charts | Auto-categories are often wrong, and you depend on the app |
A practical default is to use statements as the main source and add cash purchases by hand. Statements are the record you can verify, because the totals must match your account balance changes.
Building a transaction record
Whatever tool you use, keep the same columns:
- Date
- Description
- Amount (positive for money spent)
- Category (one of your budget categories)
- Bucket (needs, wants or savings)
Keep the bucket separate from the category. "Groceries" is a category and belongs to the needs bucket. "Restaurants" is a category and belongs to the wants bucket. This lets you report at two levels: the three-way split from the rule, and the detail underneath it that explains why a bucket went over.
Comparing actual spending to the plan
The core calculation subtracts the plan from the actual amount for each bucket. A positive result means you spent more than planned. A negative result means you spent less.
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}The sign convention is the same for all three buckets, but the meaning is not. For needs and wants, a positive number is overspending. For savings, a positive number means you saved more than planned, which is good. In the example above, savings is -100, so you saved 100 less than the plan.
Before you act on a result like this, check these points:
- Needs over by 300: Is this a one-time cost or a new fixed cost? A rent increase is permanent. A car repair is not.
- Wants under by 200: Did you really spend less, or did a want get miscategorized as a need?
- Savings under by 100: Did the money leave the account for something else, or did you plan a transfer and not make it?
Notice that the three differences sum to zero: 300 − 200 − 100 = 0. That is not a coincidence. In the example, actual spending in all three buckets totals 4,000, exactly the income. When the differences sum to zero, you moved money between buckets. When they do not, income and recorded spending differ, which means a transaction is missing or something was counted twice.
Totaling a transaction list
Here is a complete script that takes a list of transactions, totals each bucket and compares the result to the plan. It uses only the standard library.
from collections import defaultdict
PLAN = {"needs": 2000.0, "wants": 1200.0, "savings": 800.0}
transactions = [
("2026-11-01", "Rent", 1500.00, "housing", "needs"),
("2026-11-03", "Supermarket", 220.40, "groceries", "needs"),
("2026-11-05", "Bus pass", 90.00, "transport", "needs"),
("2026-11-09", "Electricity", 140.00, "utilities", "needs"),
("2026-11-12", "Dinner out", 85.50, "restaurants", "wants"),
("2026-11-15", "Streaming", 15.99, "subscriptions", "wants"),
("2026-11-20", "Concert", 120.00, "entertainment", "wants"),
("2026-11-25", "Transfer to savings", 700.00, "emergency fund", "savings"),
]
def total_by_bucket(rows):
totals = defaultdict(float)
for _date, _desc, amount, _category, bucket in rows:
totals[bucket] += amount
return {bucket: round(value, 2) for bucket, value in totals.items()}
def compare(plan, actual):
return {k: round(actual.get(k, 0.0) - plan[k], 2) for k in plan}
actual = total_by_bucket(transactions)
print(actual)
print(compare(PLAN, actual))Running it prints the following.
{'needs': 1950.4, 'wants': 221.49, 'savings': 700.0}
{'needs': -49.6, 'wants': -978.51, 'savings': -100.0}Two things stand out. The actual.get(k, 0.0) call handles a bucket with no transactions, which would otherwise raise a KeyError. And the wants bucket is far under plan only because the list is incomplete: eight transactions cannot cover a full month of discretionary spending. A result that looks too good usually means missing data, not discipline.
Checking that your record is complete
Before you read any comparison, reconcile the record against the bank. The check is simple:
- Take the account balance at the start of the month.
- Add all income received and subtract all money spent according to your record.
- Compare the result to the balance at the end of the month.
If the two figures differ, find the gap before you draw conclusions. Common causes include:
- Cash withdrawals that were never itemized
- Pending card transactions that posted after the month ended
- Refunds recorded as negative spending in one place and ignored in another
- Transfers between your own accounts counted as spending
That last cause is the most common error in tracking. Moving 700 from checking to a savings account is not an expense in the sense of money leaving your hands. In the 50/30/20 rule it is the savings bucket, and you count it once. If you count it as spending in checking and again as a deposit elsewhere, the totals double.
Handling awkward transactions
Some transactions do not fit a single category. Decide on a rule once and apply it consistently, so that month-to-month comparisons mean something.
- Mixed purchases: A supermarket receipt may include food (need) and a gift (want). Split it if the amount is large. Otherwise assign the whole purchase to the dominant category.
- Shared costs: If you pay a bill and a housemate repays you, record only your share, or record the full bill and the repayment as a negative amount in the same category.
- Refunds: Subtract them from the category of the original purchase, in the month you receive them.
- Annual or irregular bills: A 600 insurance premium paid in one month distorts that month. Either divide it by twelve and set that amount aside monthly, or mark it as irregular and report it separately.
- Credit card payments: Paying the card bill is not a new expense, because the purchases were already recorded. Track the purchases and treat the payment as a transfer. The exception is interest and fees, which are real costs, and any amount you pay toward the principal balance of debt, which belongs in the savings and debt share.
Reading the results
A single month tells you little. A pattern across several months tells you more. Look at three things.
Size of the variance. A difference of 20 in a 1,200 wants bucket is noise. A difference of 300 in needs is a signal. A useful working threshold is about 5% of the bucket or a fixed amount that matters to you.
Direction and repetition. One overspend can be an event. The same bucket over plan three months running is evidence that the plan is wrong, not that you lack discipline. The next chapter covers adjusting the percentages when this happens.
Concentration. Within an overspent bucket, find the one or two categories responsible. Needs over by 300 because of groceries calls for a different response than needs over by 300 because of a new rent.
How often to track
The right frequency depends on how closely your spending follows the plan.
- Daily: Useful when you are learning your habits or when a bucket keeps overrunning. It takes a few minutes and catches errors while you still remember the purchase.
- Weekly: A good steady state. Import statements, categorize new rows and check each bucket's running total against the plan.
- Monthly only: Cheapest, but errors pile up and you find overspending after the money is gone.
Weekly checking has a practical advantage. Halfway through the month, a bucket that has used 75% of its plan is a warning you can still act on.
Common errors
- Categorizing by the merchant, not the purpose. A pharmacy sells medicine (need) and cosmetics (want).
- Leaving a "miscellaneous" category unchecked. If it grows beyond a few percent of income, it is hiding spending you should classify.
- Rounding every entry. Small rounding errors add up, and they stop the reconciliation from matching.
- Changing category rules mid-year. Comparisons across months become meaningless.
- Tracking income loosely. Use the same net figure that the plan used, or the variances will include income differences.
Exercise
Your plan is needs 2,000, wants 1,200 and savings 800. Your tracked actuals for the month are needs 2,150, wants 1,350 and savings 500. Your net income was 4,000. Compute the variance for each bucket, state whether the three variances sum to zero, and say what the result tells you about your record.
Show answer
Variances are needs +150, wants +150 and savings -300. They sum to 0, so the three buckets together total 4,000 (2,150 + 1,350 + 500), which equals income. That means your record is consistent with income and no transactions appear to be missing. The overspending in needs and wants came directly out of savings, which fell 300 short of the plan.
Exercise
You transfer 700 from checking to a savings account, and your spreadsheet records it twice: once as a withdrawal from checking in the "transfers" category (counted as wants) and once as a savings contribution. What happens to your totals, and how do you fix it?
Show answer
The 700 is counted twice, so recorded spending exceeds income by 700 and the wants bucket looks 700 higher than reality. The reconciliation against the bank balance will also fail. Fix it by deleting the "transfers" entry and keeping one savings entry of 700 in the savings bucket.