How to Calculate Project Margin for an Agency: The Formula and the Inputs That Ruin It
How do you calculate project margin for an agency? Revenue minus costs, divided by revenue, times one hundred. That is the entire formula, and you already knew it. The reason this post exists is that almost every agency gets the inputs wrong, in the same three ways, and then argues about the formula.
The formula, with a real project
Take a $15,000 website build. Your team logs hours that cost you $9,800 at fully loaded cost rates, and you spend nothing on subcontractors or stock assets. Project profit is $15,000 minus $9,800, which is $5,200. Divide by $15,000 and you get a 35% margin.
Now the same project with a wrinkle, because real projects have wrinkles. The client asked you to pass $5,000 of development work through to a contractor. Revenue is still $15,000, but $5,000 of it was never yours. Agency gross income is $10,000. Your team's delivery time costs $4,800. Delivery margin is ($10,000 minus $4,800) divided by $10,000, which is 52%. Same project, two margins, and both are right for different questions. The first tells you what the engagement earned. The second tells you what your team cost you to earn it.
| Line | Simple view | With pass-through |
|---|---|---|
| Revenue | $15,000 | $15,000 |
| Pass-through expense | $0 | $5,000 |
| Revenue that is yours | $15,000 | $10,000 |
| Delivery costs | $9,800 | $4,800 |
| Margin | 35% | 52% |
There is also a second layer worth running: fully loaded margin, which subtracts the project's allocated share of overhead on top of delivery costs. Direct margin tells you how the delivery went. Fully loaded tells you whether the agency's cost structure supports the pricing. If direct margin is healthy and fully loaded is not, the problem is not the project. It is the office. The gross versus net distinction is covered in Agency Gross Margin vs Net Margin.
The three inputs that ruin it
Salary-only cost rates. The most common lie. A designer on $80,000 a year does not cost you $38 an hour. By the time you add payroll taxes, benefits, equipment, and a share of the tools they use, the fully loaded rate is typically 1.3 to 1.5 times the salary rate. A quick method: divide fully loaded annual cost by about 1,600 billable-capable hours. Use salary alone and every project looks 10 to 15 margin points better than it is, and you will never know why the bank account disagrees with the spreadsheet. Run the real numbers in the calculator with loaded rates and see how many of last quarter's projects survive.
Hours that never reach a timesheet. The senior who spent four hours rescuing a junior's commit and logged two. The account manager who took the client call "off the books" to keep the relationship warm. The founder's "quick review" that took a morning. If the hours are not in the system, the cost is not in the margin, and the project that looks like 45% is really 30%. This is not a tooling problem. It is a culture problem, and it is fixed by making logging the path of least resistance, not by buying another dashboard.
Budgets nobody checks until invoicing. A margin calculation run after the invoice goes out is an autopsy. The number that matters is forecast margin at 50% delivery: revenue minus hours spent so far, projected to completion. If that number is red at halftime, you can still cut scope, re-staff, or renegotiate. At the end, you can only write about it. More on catching it early in Tracking Project Margin in Real Time.
The argument the formula cannot settle
There is a fight in every agency between margin and utilization, and the formula takes utilization's side by construction. A project at 25% margin that keeps a six-person team billing through a slow February might be the right call. A project at 60% that burns out your best designer is not a win either. The margin number is a fact about money. What to do about it is a judgment about the business, and it changes with cash reserves, pipeline, and how close your people are to quitting.
I have seen agencies fire clients at 15% margin and regret it when the pipeline dried up two months later, and I have seen agencies keep a 12% client for three years and call it a relationship. Both were defensible. Neither was decided by the formula. The formula's job is to make sure the 12% is 12% and not, because of salary-only rates and unlogged hours, secretly negative. Get the inputs honest, run the number every month, and then make the call with your eyes open. If scope creep is the usual suspect eating your margin, start with Scope Creep and Margin Erosion; if the pricing is the problem, How to Set Hourly Rates for a Target Margin is the fix.
Frequently Asked Questions
How do you calculate project margin for an agency?
Subtract total delivery costs from project revenue, divide by revenue, and multiply by 100. Delivery costs are every tracked hour at the person's fully loaded cost rate plus direct expenses like subcontractors. A $15,000 project costing $9,800 to deliver has a 35% margin.
What is the difference between direct and fully loaded project margin?
Direct margin counts only delivery costs tied to the project. Fully loaded margin also subtracts the project's allocated share of overhead. Comparing the two shows whether a margin problem comes from delivery or from the cost structure.
What is a good project margin for an agency?
50% gross margin is the commonly cited target, but fewer than a quarter of agencies hit it and the industry average has fallen below 40%. A US Bureau of Labor Statistics paper puts professional services at roughly 38% gross at the project level.
Why do agency margin calculations usually come out wrong?
Three input failures: salary-only cost rates instead of fully loaded rates, hours that never reach a timesheet, and budgets nobody checks until invoicing. The formula is simple; the inputs are where agencies lie to themselves.
Should pass-through costs like ad spend count in project margin?
Handle them through agency gross income first: subtract pass-through expenses from revenue, then divide delivery costs into what is left. Otherwise a project with heavy pass-through spend looks artificially low-margin.
Calculate Your Real Project Margin
Enter revenue, loaded cost rates, and hours to see your direct and fully loaded margin.
Calculate Project Margin