PRICING

6 min read

How to Calculate Profit Margin on a Service-Based Project

Your hourly rate looks fine on paper. But once you subtract overhead, non-billable hours, and scope creep, the real margin tells a different story.

Calculator, notebook and coffee on a desk — calculating profit margin

Why service margins are tricky

Product-based businesses have it simple: buy for $10, sell for $20, margin is 50%. Service businesses don’t work like that. Your “cost of goods” is your time — and time is slippery.

You might quote 20 hours, but spend 28 after revisions and client calls. You might earn $100/hour on paper, but once you subtract the 15 hours a week you spend on admin, sales, and bookkeeping, your effective rate drops fast.

That’s why calculating profit margin on service projects requires a different lens — one that accounts for all the invisible costs hiding behind your billable hours.

The gross margin formula for services

The formula itself is straightforward:

Gross Margin (%) = (Revenue − Direct Costs) ÷ Revenue × 100

For a service business, Revenue is what the client pays. Direct Costs include your billable time (at your real hourly cost, not your rate), subcontractor fees, and any project-specific expenses like software licenses or travel.

The key distinction: your hourly cost is not the same as your hourly rate. Your cost includes the overhead you absorb for every hour you work. To learn how to calculate that, see our Hourly Rate Calculator.

A real-world example

Let’s say you quote a branding project at $5,000. You estimate 40 hours of work at $125/hour. Looks like a clean deal. But here’s the reality:

  • You spent 48 hours (8 extra from revisions and meetings)
  • Your real hourly cost (including overhead) is $85/hour
  • Direct cost: 48 × $85 = $4,080
  • Gross profit: $5,000 − $4,080 = $920
  • Gross margin: $920 ÷ $5,000 = 18.4%

That 18.4% margin is a far cry from the 32% you projected when you quoted 40 hours at $125. This is where most freelancers get blindsided.

Use our Profit Margin Calculator to check your numbers before sending the quote.

Costs most freelancers miss

The usual suspects that shrink your margin on service projects:

  • Non-billable admin and project management time
  • Client calls, emails, and feedback rounds
  • Scope changes that don’t get requoted
  • Software and tool subscriptions allocated to the project
  • Taxes and fees on the revenue
  • Invoicing, accounting, and collection time

For a deeper dive into these, read Hidden Costs Explained and Business Overhead.

How to protect your margin

Five practical rules that keep your service margins healthy:

  1. Know your real hourly cost — not your rate. Include overhead, non-billable time, and taxes. (Calculate it here)
  2. Track actual time per project — compare quoted vs. actual hours after every project. Build a database of reality.
  3. Add a contingency buffer — 10–15% on top of your estimate covers the inevitable scope drift. (Learn how)
  4. Price scope changes immediately — every “quick addition” erodes margin. Quote it or eat it.
  5. Review margins monthly — calculate your actual margin on completed projects and adjust pricing for the next round.

It depends on the industry and overhead structure, but most healthy service businesses target a gross margin between 40–60%. Below 30% means your pricing may not cover overhead long-term.

Use the same formula: (Revenue − Direct Costs) ÷ Revenue × 100. Your direct cost is your billable hours multiplied by your real hourly cost (not your rate). Include overhead allocation per hour.

For gross margin, typically no — taxes come out after. But for net margin (what you actually keep), yes. Make sure you’re not confusing the two.

Suchanová & Partners

Pricing tools and guides for freelancers and small businesses.

Sources