// personal finance for engineers
The Software
Engineer's Guide to Investing
System thinking for personal finance that doesn't fall over.
A system-design approach to personal finance. You already reason about failure modes, redundancy and observability at work — this book applies the same discipline to your own balance sheet.
available on amazon · 268 pages

01 — the problem
You can design a system that survives a region outage. Your money runs on a spreadsheet you last opened in March.
Engineering salaries arrive with equity, vesting schedules, multi-currency accounts and a tax situation nobody explained. Most personal finance advice is written for someone with one paycheque and no stock options — so it gets ignored, and the default becomes cash sitting idle in a current account.
The gap is not knowledge. It is that finance is presented as a set of tips instead of a system with inputs, failure modes and monitoring. This book closes that gap by using the vocabulary you already think in, and by insisting every decision be observable, reversible and boring enough to run unattended.
“A financial plan you have to remember to execute is a plan with a human in the hot path.”
02 — inside the book
Six systems, applied to one balance sheet
Each part opens with the engineering concept, then maps it onto a concrete financial mechanism with worked numbers.
Instrument before you optimise
Net worth, burn rate, savings rate and runway as first-class metrics. What to log monthly, what to alert on, and which dashboards are noise.
An emergency fund is an SLA
Sizing your cash buffer against real failure modes — layoffs, visa changes, medical events — instead of a round number someone posted online.
No single point of failure
One employer, one currency, one brokerage, one country. Diversification framed as removing SPOFs from your income and asset graph.
Automate the boring pipeline
Automatic transfers, index contributions, rebalancing schedules. Deploy your savings on a cron, review the logs quarterly, stop hand-deploying.
Break it on purpose
Run drills: a 40% drawdown, six months without income, a currency shock. Find out which part of your finances falls over while stakes are low.
Equity, taxes and interest
RSUs, options, vesting cliffs and high-interest debt read as liabilities on a ledger — with a payoff order that survives contact with reality.

03 — author
Michael Afreh
Michael is a senior software engineer in Berlin with more than twelve years building and running production systems in banking, fintech and e-commerce — from core banking platforms across West Africa to e-commerce systems with millions of products. The kind of work where a bad assumption shows up as an incident report at 3am.
He started writing about money the way he writes design docs: state the constraints, name the failure modes, keep the operations boring. This book is the version of those notes he wishes someone had handed him at his first offer letter.
04 — free tools
Run the numbers on your own plan
All calculatorsFree calculators that run in your browser. Nothing you type is sent anywhere.
high availability
Emergency fund calculator
How many months of essential costs to keep in cash, based on your job, household and visa.
ci / cd
Compound interest calculator
How a starting amount and a monthly contribution grow, with a range of interest rates.
financial independence
FIRE calculator
Your financial independence number and how many years your savings take to reach it.
05 — free chapter
Read chapter one before you buy anything
“Inheriting the Codebase” — the opening chapter, sent as a PDF. It sets up the model the rest of the book runs on.