Log in

Guides

How to calculate project margin, and why so many businesses only guess it

You know the invoice amount right away. What the project actually left you often stays unknown. Here's how to work it out while the work is still running. The numbers come from agency surveys; the method works for anyone who sells project work.

What project margin is

Project margin tells you how much of the price you keep once you've paid for everything the project cost. Take the client price and subtract the project costs. What's left is profit. Profit divided by price is your margin as a percentage.

margin = (price − project costs) ÷ price

The formula is simple. The hard part is adding up the costs honestly. Most mistakes don't happen in the math. They happen in costs nobody wrote down.

Gross margin or net margin

Gross project margin counts only costs that belong directly to the project: your team's hours, contractors, purchases for the client. It shows whether the project paid off on its own.

Net margin also subtracts company overhead: rent, licenses, the accountant, sales and time nobody pays for. It's usually calculated for the whole business per month or per year, not per project.

You need both numbers. Gross margin shows which projects and which clients make money. Net margin shows whether it all adds up to enough to run the business. When you compare your number with a survey, check which margin the survey means. Definitions vary between sources.

Margin is not markup

Margin is profit as a share of price. Markup is profit as a share of costs. The same project gives you two different numbers. A project priced at 150,000 CZK with costs of 100,000 CZK makes a profit of 50,000 CZK. The margin is a third of the price, so 33%. The markup is half of the costs, so 50%.

Mixing them up gets expensive when you write a quote. If you want a 30% margin and add 30% to your costs, you end up with a margin of only 23%. To price for a target margin, divide the costs, don't multiply: costs ÷ (1 − 0.3). The step-by-step method is in the guide How to set your hourly rate.

Why “invoice minus contractors” isn't enough

The most common shortcut is to subtract what you paid others from the invoice. The rest looks like profit. But it leaves out your own team's work, and that's usually the biggest item on a project.

Model example: a website redesign for 150,000 CZK, a contractor for 25,000 CZK. The shortcut shows 125,000 CZK and an 83% margin. But the team put 140 hours into the project. At 400 CZK an hour, that's another 56,000 CZK. The real profit is 69,000 CZK and the margin is 46%.

The gap between 83 and 46% is exactly the work the business does itself. If you don't count it, you won't spot a project where the team overworked, because invoice minus contractors always looks the same.

What belongs in project costs

Project costs include everything that wouldn't exist without this project. In practice, that's four groups.

Your own people's time

Every hour on a project costs something, even if the client doesn't pay for it. Count all the hours: design, revisions, client meetings, emails and fixes after handover. The owner's hours too. Leave them out and your margin looks better than it really is.

To turn hours into money, you need the cost of one hour.

How to calculate the cost of an hour

The cost of an hour is what a person costs you per month, divided by the hours they actually work in a month.

  • For an employee, it's gross salary plus the contributions the employer pays. Include any benefits you pay regularly.
  • Hours worked aren't 168 a month. After vacation, public holidays and sick days, the yearly average comes to roughly 150 hours.
  • Working without a team? Use what you want to pay yourself per hour. Zero is wrong, or every project will look profitable.
Example: a designer with a gross salary of 45,000 CZK (model example)

The numbers are a model, not from a real business. Employer contributions to social and health insurance in Czechia are 33.8% of gross salary.

Gross salary45,000 CZK
Employer contributions 33.8%15,210 CZK
Monthly cost60,210 CZK
Hours worked per month150 h
Cost of an hourroughly 400 CZK

That 400 CZK is the cost of every hour the designer works on a project. Hours not spent on any project aren't here. They belong to company overhead, which we'll get to below.

Contractors and subcontractors

A contractor is the easiest cost to see, and it still gets lost. Their invoice arrives after the work is done, often after you've invoiced the client. If you wait for the bill, you calculate margin with zero for contractors and see it higher than it is.

So add the contractor cost to the project as soon as you agree on the price. Paying them by the hour? Count their hours times their rate, just like your own people. When the invoice arrives, you only check that it matches.

Rebilled costs

Printing, stock photos, hosting or licenses you buy for the client and put on their invoice. The money just passes through the business. But it goes into revenue, and that changes your margin as a percentage.

Model example: you add printing for 20,000 CZK to the redesign above and rebill it to the client at the same amount. Revenue is 170,000 CZK, costs are 101,000 CZK and profit stays at 69,000 CZK. But the margin drops from 46 to 41%, even though nothing was lost on the project.

To compare projects, calculate margin from the price without rebilled items. Agency consultants call this agency gross income: revenue minus what just passes through. Treat rebilling with a markup differently: the markup is your income, the purchase price isn't.

Company overhead

Rent, software, the accountant, phone, sales and hours nobody pays for. Overhead doesn't belong to any project, but all of them pay for it. That's why it usually isn't included in gross project margin.

Want to see the net result of a single project too? Spread overhead across hours. Model example: a business has 60,000 CZK of overhead a month and three people work a combined 450 hours. That's roughly 133 CZK of overhead per hour. The redesign with 140 hours carries roughly 18,700 CZK of overhead. From the 69,000 CZK profit, about 50,300 CZK remains, a net margin of roughly 34%.

Spreading overhead across hours is an estimate. For decisions about individual projects, gross margin is enough. Watch overhead separately, for the whole business.

When to calculate margin

At the end, it's too late. 40% of agencies only estimate project profitability (Caflou, survey of 52 marketing agencies). If you calculate margin only after handover, all you learn is that the project lost money. Nothing can be changed. Yet only 59% of agencies track the margin of individual projects (Promethean Research 2025).

It pays to calculate margin three times.

Before the quote

Work out how many hours it takes for the project to break even. Subtract contractors and other costs from the price and divide the rest by the cost of an hour. In the example above, that's (150,000 − 25,000) ÷ 400 = 312 hours. If you estimate 140 hours, you have a buffer. If you estimate 280, the quote is on the edge.

During the work

Once a week, look at how many hours are used up and how much work is left. If half the hour budget is gone and a third of the work is done, you know before the project ends. You can still talk to the client about extra work or limit the next round of revisions.

After it ends

Compare the estimate with reality. Where was the estimate furthest off? On what type of work, with which client? Agency consultants (Parakeeto) recommend keeping estimates within 10% of actuals and consider 20% acceptable. This comparison is the cheapest way to write your next quote more accurately.

How much is enough

Net margin for agencies with up to 9 people is 19% (Promethean Research 2025). That's the profit of the whole business, after overhead and after hours nobody paid for. The average for all agencies in the same survey is 13%. According to it, small businesses aren't worse off than large agencies, if anything the opposite.

So a single project's margin has to be higher than 19%, because it pays for overhead and the time between projects. How much higher depends on what your overhead costs. Agency consultants (Parakeeto) recommend that 60 to 70% of the project remains after subtracting contractors and the cost of your own hours.

Treat these numbers as a guide. The surveys are mostly from agencies in the US and the UK, with different salaries and prices. Your own projects are a better yardstick. Once you know the margin of your last ten, you'll see which types of work and which clients pull the average down.

Sources: Caflou, survey on managing marketing agencies (n = 52). Promethean Research 2025, net margin by agency size and share of agencies that track project margin. Parakeeto, recommendations for project margin and estimate accuracy. Calculations in this article are model examples, amounts exclude VAT.

How Airine does it

Airine calculates project margin from the price, logged hours and assigned costs continuously, while the project is running. It doesn't spread overhead into it yet, and a cost you rebill doesn't get onto the client's invoice by itself: you add it with a manual invoice in Finance.

Projects and budgets

More guides: Hourly rate Profitable retainers Timesheets Extra work

See your margin while the project is running.

Airine calculates it from price, hours and costs. 14 days free, no credit card.