How to Calculate Profit Margin for a Service Business

How to Calculate Profit Margin for a Service Business - Billbooks

Profit margin is the percentage of your revenue that’s left over as profit after subtracting your costs, calculated as (revenue minus costs) divided by revenue, then multiplied by 100. For a service business, the tricky part isn’t the math, it’s figuring out which costs actually belong in the calculation when your main expense is people’s time rather than physical goods.

This guide walks through both margin numbers you should track, what counts as a cost when you’re selling a service instead of a product, and how to run the calculation yourself with a real example.

The two profit margin numbers that actually matter

Gross profit margin: what your service costs you to deliver

Gross profit margin measures what’s left after subtracting only the direct cost of delivering your service, before overhead like rent, software, or marketing. The formula is (revenue minus cost of service delivery) divided by revenue, times 100. For a consultant, that direct cost is mostly the hours you or your team spent on the work. For an agency, it might include contractor fees and any materials billed straight through to the client.

Net profit margin: what your whole business actually keeps

Net profit margin subtracts everything, direct costs and overhead alike, then divides by revenue. The formula is net income divided by revenue, times 100. This is the number that tells you whether the business as a whole is profitable once rent, software subscriptions, insurance, and every other running cost are accounted for. Gross margin tells you if your pricing covers the work itself. Net margin tells you if the business survives.

What counts as a “cost” for a service business

Direct costs: labor, contractors, and billable materials

If you pay yourself or employees hourly or salaried wages for client work, that’s a direct cost. So is any subcontractor or freelancer fee tied to a specific project, and any materials or third-party tools you bill through to a client. The test is simple: would this cost exist if you hadn’t taken on this particular piece of work?

Overhead: everything that keeps the lights on

Rent or coworking fees, your invoicing and accounting software, marketing spend, insurance, and your own admin time all count as overhead. These costs exist whether you land one client or ten, so they belong in the net margin calculation, not the gross one.

Time you didn’t bill for

This is the cost service businesses most often leave out. Unbilled revisions, scope creep you absorbed instead of invoicing, and the hours spent on proposals that didn’t close are all real costs of running the business, even though no invoice captures them directly. They show up as lower net margin even when your gross margin on billed work looks fine.

How to calculate it step by step

A simple example

Say you bill a client $5,000 for a project. You spent 40 hours on it at an internal cost of $50 an hour (your own time or a contractor’s), so direct cost is $2,000. Gross profit is $3,000, and gross margin is $3,000 divided by $5,000, times 100, which is 60%.

Now factor in your monthly overhead, software, a portion of rent, marketing, say that project’s fair share works out to $800. Net profit on this project is $2,200, and net margin is $2,200 divided by $5,000, times 100, which is 44%. The gap between 60% and 44% is exactly the overhead your gross margin doesn’t show you.

Using a calculator instead of doing it by hand

Running this math project by project, or across a whole month of client work, gets tedious fast, especially once you’re factoring in multiple contractors and shared overhead. Billbooks’ free profit margin calculator takes your revenue and cost inputs and returns both numbers instantly, so you can check your margin on a single project or your whole month without rebuilding a spreadsheet formula each time.

Know your numbers before you quote the next project. Try Billbooks’ free profit margin calculator and see your gross and net margin in seconds.

Try The Calculator

Why your margin might look lower than you’d expect

Underpricing relative to actual time spent

The most common cause of a thin margin isn’t overhead, it’s underestimating how long work actually takes when you quoted the price. Track actual hours against your estimate for a few projects and you’ll usually find the pattern.

Tool and software creep

Subscriptions accumulate quietly. A project management tool here, a design tool there, and a few months in, your software overhead has crept up without a corresponding price increase to cover it.

Treating every client the same

Not every client costs the same to serve. A client who needs three rounds of revisions and constant check-ins costs more in unbilled time than one who signs off on the first draft. If you’re not tracking this, your margin numbers blend a profitable client with an unprofitable one and hide both.

Stop guessing what a project actually cost you. Log time, expenses, and invoices in one place with Billbooks, so your margin numbers are based on real data, not estimates.

Try Billbooks Free

What to do once you know your margin

Track it monthly, not just at tax time

Calculating margin once a year at tax time tells you what already happened. Checking it monthly, or per project, lets you catch a pricing problem or a scope-creep pattern while you can still fix it, rather than after a full year of underpriced work.

Compare your own trend, not a generic “good margin” number

Margins vary widely by service type, market, and how much of the work you subcontract, so there’s no single universal target that applies to every service business. The more useful comparison is your own margin this quarter against your own margin last quarter. A downward trend is worth investigating regardless of what the number itself is.

Keep the records that back up the number

Whatever margin you calculate needs to be backed by real records if it’s going to guide a pricing decision or show up on your tax return. The IRS recommends keeping documentation that clearly shows the amounts and sources of your income alongside your expense records on every invoice you send, so your net profit calculation on Schedule C is supported if it’s ever reviewed (IRS Publication 583).

FAQ

What’s the difference between profit margin and markup?

Profit margin is profit as a percentage of revenue (what you charged). Markup is profit as a percentage of cost (what it cost you). The same dollar amount of profit produces a lower margin percentage than markup percentage, so don’t use the two interchangeably.

Is a higher gross margin always better than a higher net margin?

They tell you different things, so neither replaces the other. A strong gross margin with a weak net margin usually points to an overhead problem, not a pricing problem, and vice versa.

How often should I calculate my profit margin?

Monthly is a reasonable minimum for most service businesses, and per-project tracking is worth doing if your projects vary a lot in size or scope.

Do I need accounting software to calculate profit margin?

No, the formula itself just needs your revenue and cost numbers. Software mainly saves you the time of pulling those numbers together and recalculating them by hand every time.

What counts as “cost” if I’m a solo freelancer with no employees?

Your own time still counts as a direct cost once you assign it an hourly value, even though you’re not writing yourself a paycheck. Leaving your own time out of the calculation is the most common way solo freelancers overstate their real margin.

Suggest a feature for Billbooks

    Use Billbooks your way

    Submit an enquiry