All articles

Profit & margins

Agency Profit Margin by Service Line: Where the Money Actually Comes From

Your agency-wide P&L can look healthy while one service line quietly drags the whole thing down. Here's the formula for agency profit margin by service line, a worked example, and where the allocation usually goes wrong.

7 min read

By Joshua Barnett · Founder, ThinkProfit · Digits Partner · Certified QuickBooks ProAdvisor

December 3, 2026

Most Marketing and Advertising Agencies track one gross margin number off the agency-wide P&L, and most of the time it looks fine. A 48-52% blended margin reads as healthy. What it doesn't tell you is whether every service line is pulling its weight, or whether one is barely breaking even while another is carrying it. Agency profit margin by service line is the report that answers that question, and it changes which clients and which services you actually want more of.

Why a single blended margin hides the real story

A blended margin is a weighted average. If SEO work runs at 60% margin and social media production runs at 20%, a P&L that mixes both into one revenue and one cost-of-delivery line will show something in between, and that "in between" number tells you nothing about where to focus. Agencies that only look at the blended figure tend to keep selling more of whatever brings in revenue fastest, which is often the lowest-margin service line in the shop. Splitting the P&L by service line is the only way to see that before it shows up as a flat bank balance despite a busy year.

The formula

Service Line Gross Margin equals Service Line Revenue minus Direct Delivery Cost for that service line, divided by Service Line Revenue. Direct delivery cost means labor at a burdened hourly rate for the people actually doing the work, contractors billed against that service, and production costs tied directly to delivery. It excludes rent, admin salaries, and other overhead that doesn't change based on which service line grew or shrank. For agencies running performance or PPC retainers, it also excludes ad spend itself when that spend passes through to the client rather than sitting on your books as revenue — see our breakdown of ad spend pass-through accounting for how to keep that separate from your fee revenue.

A worked example across three service lines

Take a $2,000,000-revenue agency running three service lines: SEO, PPC management fees, and social media production. SEO brings in $800,000 in revenue against $320,000 in direct delivery cost, a 60% margin and $480,000 in gross profit. PPC management brings in $700,000 against $280,000 in direct cost, also a 60% margin and $420,000 in gross profit. Social media production brings in $500,000 against $400,000 in direct cost, a 20% margin and only $100,000 in gross profit. Add it up: $2,000,000 in total revenue, $1,000,000 in total direct cost, $1,000,000 in gross profit, a 50% blended margin. That blended 50% looks solid on the agency-wide P&L. The service-line breakdown shows that social media production is generating a quarter of the agency's revenue and only a tenth of its gross profit.

Where the margin leaks: common allocation mistakes

The report is only as good as the cost allocation underneath it, and three mistakes show up constantly. First, agencies allocate overhead costs (office rent, agency-wide software, the owner's own salary) into service lines instead of keeping them at the agency level, which artificially depresses every line and hides which one is actually the problem. Second, shared staff, especially account managers and creative directors who touch every client, get fully loaded onto whichever service line is easiest to book them against instead of split by actual hours worked. Third, production costs for social media and video work, the most labor-intensive service lines, get under-tracked because that work is harder to time-log than a PPC account manager's hours, so the real cost of delivery is understated and the margin looks better than it is. Job costing tools built for project-level tracking fix most of this; we cover the mechanics in job costing for creative agencies.

What to do when a service line is unprofitable

A service line running below 30% gross margin has three fixes, and they're not mutually exclusive. Raise prices specifically for that service line rather than agency-wide, since a blanket increase punishes your already-healthy lines along with the weak one. Reduce direct delivery cost by standardizing the production process (templates, reusable creative frameworks, a tighter revision cap) so the same output takes fewer billable hours. Or, if neither moves the number after a full quarter of trying, treat the service line as a loss leader deliberately, cap how much of it you sell, and stop quoting it as a standalone offer to new clients. What you shouldn't do is keep selling more of a service line at 20% margin because it's easy to close, since every new dollar of that revenue dilutes the agency's overall profitability further.

How this fits into your broader financial picture

Profit margin by service line is a diagnostic, not a replacement for your full P&L or your per-client profitability view. Run it alongside a per-client breakdown, since a single low-margin client inside an otherwise healthy service line is a different problem than a service line that's structurally thin across every client in it. Agencies working with a fractional CFO for marketing agencies typically see this report built into the monthly or quarterly package, right alongside cash position and AR aging, because margin by service line is what actually drives the pricing and staffing decisions the rest of the financials only describe after the fact.

Know your margin by service line, not just your blended average.

We build the chart of accounts and reporting that splits your P&L by service line, so you know which offers to sell more of and which ones are quietly costing you.

Frequently asked questions

What counts as a direct cost for a service line, and what doesn't?

Direct costs are labor at a burdened hourly rate for anyone delivering that service, contractors billed to that work, and production costs tied to delivery (ad platform seats, stock assets, design software licenses used on those accounts). Rent, admin salaries, and software that isn't delivery-specific stay out. Those get allocated at the whole-agency level, not folded into a single service line's margin.

How do I allocate account management time across service lines?

Time tracking is the most accurate method. If an account manager splits their week across SEO, PPC, and social clients, a simple weekly estimate (even rounded to the nearest quarter-hour per client) gets you close enough. Multiply their burdened hourly rate by hours logged against each service line, and allocate that cost into the service line, not into overhead.

How often should I run a profit margin by service line report?

Quarterly at minimum, since a single month can swing on one late invoice or an unusually heavy production week. Move to monthly for any service line that's come in below your target margin for two consecutive quarters, so you catch a continuing slide before it shows up in the agency-wide number.

About the author

Joshua Barnett is the founder of ThinkProfit, a bookkeeping and fractional CFO firm for marketing agencies, SaaS companies, and digital businesses. He is an official Digits Partner, a certified QuickBooks ProAdvisor, and previously ran the financial side of an M&A firm that acquired and operated digital marketing agencies.

ThinkProfit builds the reporting that shows where your agency actually makes money, service line by service line. Get a free quote to see what it would cost for your business.