Headcount, budget and cost
Engineering is most companies' largest controllable cost: know every line, what it buys, and what you would cut first before anyone asks
In November you plan ten new engineering roles for next year, each with a loaded cost of $200,000 a year: four start in April, four in July, two in October. In January the CFO asks for savings and you cancel all ten. How much does that save next year's budget?
An engineering budget is the plan for what engineering will spend in a fiscal year, broken into lines that someone owns. The headcount plan is the part of it that lists people: the roles you have, the roles you will hire, and when. In most software companies people are the largest engineering line by a distance and cloud is usually the second, which is why Hansson’s two line items ring true. Vendors, tooling, contractors and learning make up the rest.
At this level the CEO judges you on delivery, retention and spend, and spend is judged in a spreadsheet you did not build.
How finance reads your budget
Finance does not see teams. It sees cost centres, accounts and periods. Learn four distinctions and most budget conversations get easier.
In-year cost and run-rate. In-year cost is what a line costs between the first and last day of the fiscal year. Run-rate is the annualised cost at a point in time, usually the end of the year: what next year starts from. A hire who starts in October adds a quarter of their cost this year and all of it next year. Cancelling a role saves its in-year cost this year and its run-rate every year after. When a CFO says “cut”, ask which of the two they mean.
Budget, forecast and actuals. The budget is the plan agreed before the year starts. The forecast, or reforecast, is the current best guess of where the year will land, usually redone each quarter. Actuals are what was spent. The monthly conversation with finance is about the variance between them, and a variance you explain before you are asked is worth far more than one you explain after.
Cost of revenue and operating expense. Hosting that serves customers usually sits in cost of revenue (COGS); the engineers who build the product usually sit in research and development (R&D), an operating expense. The split matters because gross margin, revenue minus cost of revenue, is one of the numbers investors use to value a software company. Sarah Wang and Martin Casado’s a16z essay The Cost of Cloud, a Trillion Dollar Paradox found that committed cloud spend averaged 50% of cost of revenue across the public software companies they benchmarked, and estimated that “$100B of market value is being lost” across 50 of them through cloud’s effect on margins. Treat the market-value figure as a model with stated assumptions (it assumes repatriation halves cloud spend), not a measurement. The point that survives is that a dollar saved on production hosting can be worth more to the company than a dollar saved on salaries.
Operating expense and capitalised cost. Some companies capitalise part of their engineers’ time spent building new software, recording it as an asset that is amortised over years rather than an expense this year. The rules are ASC 350-40 under US GAAP and IAS 38 under IFRS, and your controller decides how they apply. Know whether your company capitalises: if it does, your teams’ time-tracking feeds the accounts.
The loaded cost of an engineer
The number in the offer letter is not what an engineer costs. On top of salary the employer pays payroll taxes, health and other benefits, pension or 401(k) contributions, equipment, per-seat software, and a share of office and recruiting. Finance turns this into a load factor, a multiplier on base salary, and uses it for every role in the plan.
The commonly quoted range is 1.25 to 1.4 times base salary. That is a rule of thumb, and you should know where it comes from. The US Bureau of Labor Statistics’ Employer Costs for Employee Compensation puts benefits at 30.0% of total employer compensation cost for private industry in June 2026, wages and salaries at 70.0%. Read naively that is a multiplier of about 1.43 on wages. But the BLS counts paid leave as a benefit, while the salary you pay a salaried engineer already includes their holidays, so the true extra on top of a base salary is lower than the ratio suggests. In the UK and most of Europe the shape is the same with different taxes. Ask finance for your company’s actual factor and use theirs.
Three other costs belong in the model even if they sit on other people’s budgets:
- Recruiting. Agency fees are commonly quoted at 15 to 25% of first-year salary; treat that as a rule of thumb and use your contract’s rate. In-house recruiters usually sit in the People budget, but they are the limit on how many people you can hire.
- Ramp. A new engineer is not fully productive on day one. Many heads plan on a quarter or more before a new hire carries full weight; that is a rule of thumb, so use your own onboarding data if you have it. A plan that adds ten people in Q4 adds cost in Q4 and output in Q1 or later.
- The people who help them ramp. Fred Brooks put it as Brooks’s law in The Mythical Man-Month (1975): “adding manpower to a late software project makes it later.” Hiring is not a way to rescue a date in the same year.
The headcount plan
Will Larson’s chapter on planning in The Engineering Executive’s Primer, drafted on his blog as How to plan as an engineering executive, puts the order bluntly: “Your company’s financial plan is the foundational constraint for every function.” The financial plan sets revenue and expense targets; the budget breaks them down by function, “including vendors, contractors, and headcount”; the headcount plan names “the specific roles in the organization, with an emphasis on the new roles to be hired.” The roadmap comes after. The engineering strategy and the annual plan, covered in engineering strategy and planning, tell you what the roles are for. This chapter is about what they cost.
A headcount plan that survives review has one row per role:
| Column | Why it is there |
|---|---|
| Team | Every role belongs to a team with a mission; “general engineering” roles are the first to be cut |
| Role and level | A senior SRE and a mid-level frontend engineer cost different amounts |
| Start month | Drives in-year cost; also tells recruiting when to start |
| In-year cost | Loaded cost times months in the year, divided by twelve |
| Run-rate | Loaded cost for a full year |
| What it unlocks | The piece of the plan that does not happen without this person |
| New or backfill | Backfills keep the plan whole; new roles grow it |
Larson offers two sizing heuristics, and labels them as rough sizing for planning rather than org design: “Divide your total headcount into teams of eight,” each with a manager and a mission, then group teams into clusters of four to six. That tells you how many managers a plan implies. A plan that adds sixteen engineers and no managers has a hidden reorganisation in it. How to design that organisation belongs to org design at 50, 150 and 500.
Two checks catch most bad plans.
Can you hire it? Larson suggests tying the plan to recruiting capacity: if your company has never filled that many roles in a year, do not spend long debating them. Count last year’s closed hires, new and backfill together, and compare. If last year closed fourteen and this plan needs seventeen including seven backfills, the plan needs a recruiter or a smaller number.
Did you plan for attrition? People leave. Use your own voluntary attrition over the last two years, not an industry figure. Backfills do not grow the plan, but they consume recruiting capacity and ramp time, and a plan that ignores them overstates what the team will ship.
Cloud: the line that grows on its own
Salaries grow when you decide to hire. Cloud grows when traffic grows, when someone leaves a cluster running, when a team turns on verbose logging, or when a new feature calls a model on every request.
The FinOps Framework, maintained by the FinOps Foundation, is the common vocabulary. Its six principles, in no particular order, include “Teams need to collaborate” and “Everyone takes ownership for their technology usage”, and it describes three phases you cycle through:
| Phase | What happens | What it needs from you |
|---|---|---|
| Inform | Spend is visible and allocated to teams and products: tagging, account structure, showback reports | A rule that untagged resources are a defect, and an owner for every account |
| Optimize | Two levers: rate (commitments such as AWS Savings Plans and Reserved Instances, Google committed-use discounts, negotiated enterprise discounts) and usage (rightsizing, scheduling non-production off at night, deleting what nobody uses, storage tiers) | Engineering time, and a willingness to commit for one or three years |
| Operate | Cost becomes part of how teams work: budgets and anomaly alerts per team, cost in design reviews, a monthly review | A forum where the numbers are looked at, and a unit cost that teams own |
The framework’s core personas include Engineering, Finance, Leadership and Procurement; the FinOps practitioner is the person or team in the middle. AWS’s Cost Optimization Pillar covers the same ground from the provider’s side and is the better reference for the engineering mechanics.
The idea that turns cloud from a cost into a conversation is unit cost: cloud spend divided by a business driver such as cost per thousand payments, per active customer or per message sent. Total cloud spend going up is good news if volume went up faster. Unit cost going up is a problem whatever the total does. Put unit cost in the budget, and the growth in cloud spend becomes a forecast you can defend: volume times unit cost, with a target for the unit cost.
Two specific lines catch heads out. Observability bills grow with the data you send, and the choice of storage engine changes the bill several-fold; the logs at scale chapter shows why. Model APIs are billed by the token, and tokens, context and cost shows how a prompt change can double a line overnight.
Then there is repatriation, moving workloads from public cloud to your own or rented hardware. The a16z essay summarises the paradox as “You’re crazy if you don’t start in the cloud; you’re crazy if you stay on it.” 37signals is the public success story. Dropbox, whose S-1 the same essay cites for about $75 million of savings over two years, is another. Both had large, steady workloads and people who could run hardware. Most companies have neither, and should exhaust rate and usage savings first, which are faster and need no data centre.
Vendors and tooling
Vendor spend is the line nobody owns until it is too late. It grows through company cards, free tiers that convert, seat counts nobody trims, and contracts that renew automatically.
Keep a vendor register with an owner, an annual cost, the renewal date and the notice period for every contract. The notice period is the date that matters: a contract with a 90-day notice clause that renews on 1 March must be cancelled or renegotiated by early December, so a saving you find in January is a saving for the following year. Review renewals at least 120 days ahead.
Separate tools that scale with headcount (source control, IDEs, AI coding assistants, per-seat observability) from tools that scale with usage (CI minutes, log volume, error tracking events). Per-seat tools move with the headcount plan; usage tools move with the product. Larson splits engineering cost into three groups that map onto this: headcount, production operating costs including most cloud and production vendors, and development costs such as CI, test and development environments.
Where practitioners disagree
Headcount or dollars as the unit. Some companies approve roles; others give engineering a dollar budget and let the head trade people for tools or contractors. Roles are easier to control and harder to optimise. Dollars give you room, and give finance less visibility. Know which your company uses before you propose a trade.
Central or team-owned cloud. A central platform team that owns the bill can buy commitments and enforce tagging. Teams that see their own bill, through showback or chargeback, change their behaviour. Most mature setups do both: central rates, team-owned usage.
Cut cloud before payroll. Hansson’s post with that title argues you owe it to employees to run the cloud numbers “before you start printing those pink slips.” The counter-argument is arithmetic: at Ironwood, the fictional company in this chapter’s example, the whole non-people budget is about a quarter of the total, so a large cut cannot come from cloud alone. Both are right. Look at cloud first because it is fast and painless, and be honest about how far it goes.
Spread the cut or concentrate it. An equal percentage from every team feels fair and protects nobody from the cut. Stopping one piece of work protects the rest. Spreading is popular because it avoids a conversation.
When the CFO asks for a cut
It will happen, usually after a missed quarter or a fundraising market that turned. The CFO is not your opponent. They are doing their job, which is to keep the company solvent, and they need you to do the part only you can: say what each dollar buys.
First, ask which number. A 20% cut to next year’s in-year spend, to the exit run-rate, to cash burn, or to operating expense with gross margin protected are four different exercises. Ask what happens if the company hits it, and by when.
Then build a menu. Each lever has a speed, a size and a cost:
| Lever | When it lands | In-year against run-rate | What it costs you |
|---|---|---|---|
| Cancel roles not yet hired | Immediately | In-year is smaller, because of start dates | The work those roles were for |
| Freeze backfills | As people leave | Roughly half the run-rate in year one if leavers are spread evenly | Teams shrink where people leave, not where you choose; allow named exceptions |
| End contractors | At their notice date | Close to the full amount | The knowledge they hold |
| Cloud rate | When commitments are bought | Full, for the commitment term | Lock-in for one or three years |
| Cloud usage | Weeks | Grows as work lands | Engineering time from the teams doing it |
| Vendors | At renewal, after notice | Often next year, not this one | Migration effort |
| Discretionary spend | Immediately | Full | Learning, conferences, team events; small and visible |
| Reduction in force | Weeks to months | First-year saving is lower than run-rate because of notice, severance and legal cost | Trust, for years |
Add the levers in order of least damage per dollar, put the in-year and run-rate saving and what stops beside each, and stop when you reach the target or run out of levers you would defend. If you run out first, the remainder is not yours to spread: it is a choice of which work the company stops, and that choice belongs to the executive team. How to announce a layoff is in communication and change; the decision and its mechanics are in crises and hard calls.
Day to day
Budget work is not a season. It is a rhythm with one heavy season in it.
Weekly. A hiring review with recruiting: each open role’s stage against its planned start month, because a role that slips two months is in-year money you will not spend and a team that will not grow. Spend approvals: purchase requests above your threshold, new vendors, contractor extensions. Ten minutes on the cloud cost dashboard, looking for anomalies.
Monthly. Budget against actuals with your finance business partner, an hour. Walk every variance over an agreed threshold and say whether it will persist; this is the meeting where trust with finance is built. A cloud cost review with the platform lead and team leads, covering unit cost by product, the top movers and the untagged spend. A look at the vendor register for renewals inside the next 120 days.
Quarterly. The reforecast: update headcount for actual start dates and leavers, cloud for actual volume, vendors for what renewed. Review commitment coverage and decide whether to buy more. Share a one-page cost summary with your managers so they know what their teams cost; managers who never see the numbers cannot help you defend them.
Annually. Planning season, which starts eight to twelve weeks before the fiscal year, so roughly October to December for a calendar year (the rule of thumb in engineering strategy and planning). Finance issues the targets. You draft the headcount plan with your managers, cost it, build the cloud forecast from volume and unit cost, and walk the vendor register. Review rounds with the CEO and CFO cut it to fit. Larson notes that “how planning actually works” differs from the stated process at most companies; learn the real one in your first year by asking your CFO how last year’s numbers were decided.
The meetings that matter most are the monthly session with your finance partner and the executive budget review. The first is where you learn what finance worries about. The second is where the year is decided. Go to both with the numbers already in your head.
There is no budget; there is runway, the cash in the bank divided by monthly burn, and the founders watch it weekly. Your job is to know the burn and your share of it. Keep a list of every subscription on a company card, set billing alerts on the cloud account, and know when startup cloud credits expire, because the month they run out is a step change in burn. The headcount plan is the next three hires, each timed against runway. Nobody will ask for a load factor; use a rule of thumb and say so.
The first finance hire arrives and with them the first annual plan, department budgets and headcount approved role by role. You build engineering’s first real budget, often from a spreadsheet of company-card charges. Cloud becomes visible in gross margin, so the board starts asking about it; this is when tagging, a first commitment purchase and a monthly cost review pay off. Vendor sprawl from three years of team cards needs a register and an owner. Expect the first hard trade between hiring and tools.
A finance business partner owns your numbers with you, cost centres map to your org chart, and planning runs in several rounds from top-down targets. A central FinOps team buys commitments; procurement negotiates enterprise discounts; chargeback sends cloud costs to business units. The problems are political: location strategy for cheaper hiring, capitalisation rules that shape how work is recorded, use-it-or-lose-it spending in December, and protecting your line at reforecast when another function overran. The skill is knowing which number each executive will judge you on.
Template
# Engineering headcount plan and budget, FY<year>
Owner · Finance partner · Date · Status: draft | in review | approved
## Assumptions
- Fiscal year: <start> to <end>
- Load factor: <x> on base salary (source: finance | rule of thumb, with source)
- Average loaded cost per head: <amount> (stock-based compensation: in | out)
- Voluntary attrition: <n>% (source: our last two years); backfills: <n>
- Hires closed last year (new + backfill): <n>; this plan needs: <n>
- Business driver for cloud: <payments | messages | customers>, <volume>
## Headcount plan
| Team | Role | Level | New/backfill | Start | In-year | Run-rate | Unlocks |
|---|---|---|---|---|---|---|---|
| | | | | | | | |
Headcount: start <n>, end <n>. Managers implied: <n>.
## Budget
| Line | Basis | Owner | Renews / notice | FY amount |
|---|---|---|---|---|
| Employees, existing | <n> × <loaded cost> | | | |
| Employees, new roles | from the plan | | | |
| Contractors | | | | |
| Recruiting fees | | | | |
| Cloud, production (cost of revenue) | <volume> × <unit cost> | | | |
| Cloud, non-production (R&D) | | | | |
| <vendor> | | | | |
| Learning and conferences | | | | |
| **Total** | | | | |
Finance ceiling: <amount>. Difference: <amount>.
## Unit cost
<metric>: last year <x>, plan <y>, how we get there.
## If asked to cut, in this order
| Lever | In-year | Run-rate | What stops |
|---|---|---|---|
## Risks and open questions
- <risk>, owner, date WORKED EXAMPLE
Ironwood is a fictional payouts platform for online marketplaces: 260 people, $48M in annual recurring revenue, fiscal year January to December. Engineering will be 70 people on 1 January 2027 (61 engineers, 8 engineering managers and the VP) in eight teams. The VP wrote this in November 2026.
Assumptions. Load factor 1.25 from finance (employer taxes, health cover, 401(k) match, equipment); average base $160,000, so $200,000 per head per year. Finance budgets every role at that average; the level mix nets out. Stock-based compensation is excluded. Attrition 10% (Ironwood’s last two years), so seven backfills at the same cost. Ironwood closed 14 hires in 2026; this plan needs 17 (10 new, 7 backfills). Gap flagged: a contract recruiter for the first half, in the People budget. Cloud driver: 40M payouts, up from 31M.
Headcount plan. Start 70, end 80.
| Team | Role | Level | Start | In-year | Run-rate | Unlocks |
|---|---|---|---|---|---|---|
| Payouts core | 2 backend engineers | Senior | 1 Apr | $300,000 | $400,000 | Instant payouts in the EU |
| Compliance | 2 backend engineers | Mid | 1 Apr | $300,000 | $400,000 | Sanctions screening in house |
| Platform | 2 SREs | Senior | 1 Jul | $200,000 | $400,000 | Second region |
| Data | 2 data engineers | Mid | 1 Jul | $200,000 | $400,000 | Automated reconciliation |
| Payouts core | 1 engineering manager | M1 | 1 Oct | $50,000 | $200,000 | Splits a 10-engineer team in two |
| Merchant API | 1 backend engineer | Mid | 1 Oct | $50,000 | $200,000 | Webhooks v2 |
| Total | 10 roles | $1,100,000 | $2,000,000 |
Budget.
| Line | Basis | Owner | Renews / notice | FY2027 |
|---|---|---|---|---|
| Employees, existing | 70 × $200,000 | VP | $14,000,000 | |
| Employees, new roles | plan above | VP | $1,100,000 | |
| Contractors | 2 × $15,000 × 12 | Data EM | monthly | $360,000 |
| Agency fees | 2 senior roles × $160,000 × 20% (Ironwood’s agency rate) | VP | $64,000 | |
| Cloud, production (cost of revenue) | 40M payouts × $0.085 | Platform EM | $3,400,000 | |
| Cloud, non-production | dev, staging, CI | Platform EM | $600,000 | |
| Observability | contract | Platform EM | 1 Jul / 90 days | $420,000 |
| CI and build | contract | DevEx lead | 1 Jun / 60 days | $120,000 |
| Per-seat developer tools | 80 × $2,500 | DevEx lead | seats monthly | $200,000 |
| Paging and incident tooling | contract | Platform EM | 1 Sep / 30 days | $40,000 |
| Other software | register | VP | mostly monthly | $60,000 |
| Learning and conferences | about $2,000 per head | VP | $150,000 | |
| Total | $20,514,000 |
Finance ceiling $21,000,000; the plan is $486,000 under.
Unit cost. Total cloud per 1,000 payouts: $120 in 2026 ($3.72M over 31M), plan $100 ($4.0M over 40M), of which production is $85 ($3.4M), through a one-year Savings Plan on steady compute and scheduling non-production off at night.
If asked to cut, first: the six July and October roles ($500,000 in-year, $1,200,000 run-rate; the second region and automated reconciliation slip to 2028), then the contractors ($360,000; reconciliation stays manual).
Now you
You joined Juniper, a fictional business-messaging API (SMS and WhatsApp) based in London, as VP Engineering two months ago. Juniper has 140 people; engineering is 45 people in six teams, on a January-to-December fiscal year. Finance gives you an average base salary of £85,000 and a load factor of 1.2. The cloud bill is £95,000 a month; about 60% of it is messaging infrastructure that scales with volume, which the CEO’s plan says grows 40% next year. The plan also wants a second region, for EU data residency, live by the end of Q3, and a new WhatsApp channel team. Your managers have asked for 14 new roles. Finance has set a ceiling of £6.8 million for engineering. Complications: the observability contract (£180,000) and the CI contract (£60,000) both renew automatically on 1 March with 90 days’ notice, and one of your team leads resigned last week. Write the headcount plan and budget. Show the 14 asks with in-year and run-rate cost, say which you fund under the ceiling, and say what you will do about the two contracts before the notice date.
Self-check
You are VP Engineering at Ironwood (260 people, $48M ARR). In January the board approves a tighter plan and the CFO asks you to cut 20% from engineering's FY2027 budget of $20,514,000, which is $4,102,800, within two weeks. Engineering is 70 people at a loaded $200,000 each; the budget holds 10 new roles ($1.1M in-year, $2.0M run-rate), $4.0M of cloud, $840,000 of vendors and tooling, two contractors and learning. A cost review found $480,000 of cloud savings and $175,000 of vendor savings, and you expect seven leavers spread through the year. What do you take to the CFO?
- BOOK The Engineering Executive's Primer Will Larson, 2024
The only book written for the engineering executive's side of planning. Read it for how the financial plan constrains everything else and how to hold a conservative headcount plan. Read: Chapter 4, How to Plan: the financial plan, the budget and the headcount plan, and the order they are made in.
- POST How to plan as an engineering executive Will Larson, 2023
The free draft of the planning chapter, with the teams-of-eight sizing heuristic and the three groups of engineering cost. Read the part on stated versus real planning before your first planning season.
- DOC FinOps Framework FinOps Foundation
The shared vocabulary for cloud cost: principles, phases, domains and personas. Read the Inform phase first; most companies that think they need optimisation need allocation.
- POST The Cost of Cloud, a Trillion Dollar Paradox Sarah Wang and Martin Casado, 2021
Why cloud spend is a gross-margin question and a valuation question, not only an engineering one. Read the method as well as the headline, and note which numbers are assumptions.
- POST Cut cloud before payroll David Heinemeier Hansson, 2023
A short, opinionated case for looking at the cloud bill before the payroll when costs must fall. Read it beside your own budget to see how far the argument reaches.
- POST Our cloud-exit savings will now top ten million over five years David Heinemeier Hansson, 2024
The public numbers from the best-documented repatriation: run-rate before and after, hardware cost, payback, and a storage contract that locked spend in for years.
- DOC Cost Optimization Pillar, AWS Well-Architected Framework Amazon Web Services
The provider's own guidance on cloud financial management, expenditure awareness, rightsizing and commitments. Use it as the engineering reference behind a FinOps practice.
All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.