Skip to main content
Jumpstart
Partners
PricingHow It WorksAboutBlog
See the workflow map

Jumpstart
Partners

Monthly close, clear reporting, and someone to own the work behind the numbers.

info@jumpstartpartners.finance(240) 621-2794
Remote-First, Serving Globally

Quick Links

  • Pricing
  • Finance Workflow Map
  • How It Works
  • Fixed-Fee Projects
  • About
  • Blog
  • Free Guide
  • Start the Diagnostic
  • Due Diligence Readiness

Resources

  • All Articles
  • Cash Flow Forecasting
  • Controller ROI Analysis
  • Break-Even Analysis
  • SaaS Revenue Recognition
  • E-commerce Accounting
  • Year-End Close Checklist

Projects

  • All Fixed-Fee Projects
  • AP Setup Project
  • Cash Flow Optimization
  • Books Cleanup
© 2026 Jumpstart Partners. All rights reserved.Privacy & Terms
Skip to main content
Jumpstart
Partners
PricingHow It WorksAboutBlog
See the workflow map
/
/

Jumpstart
Partners

Monthly close, clear reporting, and someone to own the work behind the numbers.

info@jumpstartpartners.finance(240) 621-2794
Remote-First, Serving Globally

Quick Links

  • Pricing
  • Finance Workflow Map
  • How It Works
  • Fixed-Fee Projects
  • About
  • Blog
  • Free Guide
  • Start the Diagnostic
  • Due Diligence Readiness

Resources

  • All Articles
  • Cash Flow Forecasting
  • Controller ROI Analysis
  • Break-Even Analysis
  • SaaS Revenue Recognition
  • E-commerce Accounting
  • Year-End Close Checklist

Projects

  • All Fixed-Fee Projects
  • AP Setup Project
  • Cash Flow Optimization
  • Books Cleanup
© 2026 Jumpstart Partners. All rights reserved.Privacy & Terms
Skip to main content
Jumpstart
Partners
PricingHow It WorksAboutBlog
See the workflow map
  1. Home
  2. /
  3. Blog
Financial Operations

How to Calculate Gross Margin That Catches an Investor's Eye

Learn how to calculate gross margin for SaaS and service firms. Our guide includes formulas, benchmarks, and real-world examples to improve profitability.

ByJumpstart Partners, CPA, QuickBooks ProAdvisor
·February 25, 2026·17 min read

Your gross margin isn't just a number—it’s the single clearest indicator of your company's scalability and financial health. If you’re a founder steering a business between $1M-$5M ARR, a weak or inaccurate gross margin signals to investors that your business model has foundational cracks. It reveals how much profit you squeeze from every dollar of revenue before accounting for sales, marketing, and overhead. Get it right, and you prove you have a highly efficient, scalable machine. Get it wrong, and you risk losing credibility during your next funding round.

The formula is simple: (Total Revenue - Cost of Goods Sold) / Total Revenue. But the devil is in the details, specifically in what you classify as your Cost of Goods Sold (COGS).

Illustration showing Gross Margin formula in a magnifying glass, a balance scale with Revenue and COGS, and Scalability concept.

Why Gross Margin is Your Most Important Scalability Metric

Stop thinking of gross margin as just another line on your P&L. For you, it’s the ultimate diagnostic tool. It cuts through the noise and answers one critical question: how profitably can you deliver your core product or service?

A high gross margin is proof of a strong, efficient business model—the kind that gets investors excited. A low one signals foundational problems you can't fix by simply spending more on growth. It forces you to confront tough questions about your pricing, delivery costs, and operational drag.

"Revenue growth might catch a buyer’s eye, but gross margin reveals whether you’re building a scalable, efficient SaaS business or masking costly cracks in delivery. For that reason, private equity firms and strategic buyers weigh gross margin heavily." - Noah Dickinson, Software Equity Group

Nailing this metric gives you the power to:

  • Validate your pricing strategy. Are you actually charging enough to cover delivery costs and leave a healthy profit?
  • Assess your operational efficiency. Pinpoint exactly where you're leaking money—whether it's hosting costs, third-party software fees, or inefficient team time.
  • Prepare for fundraising. Investors zoom in on gross margin to gauge your SaaS unit economics metrics that actually matter. A SaaS company below 75% will face serious questions.

Before you can improve it, you must understand the fundamentals of how to calculate gross profit margin. Let's break down what goes into the formula.

Gross Margin Formula At a Glance

The calculation itself is straightforward, but the two main ingredients—Revenue and Cost of Goods Sold (COGS)—are where founders often get tripped up. Use this table to ensure you’re thinking about them correctly.

ComponentWhat It IsWhy It Matters to Your Business
RevenueThe total income generated from sales of your products or services. For SaaS, this is your recognized recurring revenue.This is the top-line number your entire business operates from. Accuracy here, especially with revenue recognition standards like ASC 606, is non-negotiable.
COGSThe direct costs associated with creating and delivering your product or service. This excludes indirect costs like sales commissions or rent.This is where most mistakes happen. Correctly identifying COGS is the key to an accurate gross margin and understanding your true profitability.

Getting these two components right is everything. Misclassify one expense as COGS when it should be an operating expense (OpEx), and your entire profitability picture becomes distorted.

Calculating Gross Margin for SaaS Businesses

For a SaaS founder, gross margin isn't just an accounting line item—it’s the ultimate stress test of your business model's scalability. When investors look at your numbers, this is one of the first they’ll scrutinize. Your Cost of Goods Sold (COGS) isn't about physical inventory; it's the direct, recurring cost of keeping your software live and your paying customers happy.

Getting this number right is non-negotiable. A sloppy calculation can easily hide operational inefficiencies, leading to a brutal surprise during a funding round or due diligence. The goal is to draw a clean line between the costs of running the service and the costs of growing the business.

Identifying Your True SaaS COGS

The trick is to isolate every expense that scales directly with your customer base and service delivery. Everything else—like the money you spend to land a new customer or the salaries for engineers building new features—belongs under Operating Expenses (OpEx).

Here’s exactly what belongs in your SaaS COGS calculation:

  • Hosting & Infrastructure: Your bills from platforms like AWS, Google Cloud, or Azure that host your application.
  • Third-Party Data & APIs: Costs for essential integrated services, like a mapping API or a data provider that's core to your product's value.
  • Customer Support & Success Salaries: The fully-loaded cost (salaries, payroll taxes, benefits) for team members directly responsible for onboarding, troubleshooting, and customer retention.
  • Payment Processing Fees: Transaction fees from services like Stripe that eat into every dollar you collect.

Just as important is knowing what to exclude. These are critical business costs, but they are not direct costs of goods sold:

  • Research & Development (R&D) salaries
  • Sales commissions and marketing spend
  • General and administrative (G&A) expenses like rent or executive salaries

A Worked Example: SaaS Gross Margin Calculation

Let’s walk through a realistic scenario. Imagine your SaaS company, "ScaleUp AI," has the following annual financials:

  • Annual Recurring Revenue (ARR): $2,000,000
  • One-Time Implementation Fees (recognized over 36 months): $50,000
  • Total Recognized Revenue: $2,050,000

Now, let's tally the annual direct costs that make up your COGS:

Expense CategoryAnnual CostIncluded in COGS?
AWS Hosting$180,000Yes
Customer Support Team (Fully Loaded Cost)$325,000Yes
Stripe Processing Fees (2.9%)$59,450Yes
Third-Party API Fees$45,000Yes
R&D Team Salaries$400,000No (OpEx)
Sales & Marketing Spend$500,000No (OpEx)

Your Total COGS is $180,000 + $325,000 + $59,450 + $45,000 = $609,450.

With these numbers, you can calculate your key metrics. First, find your Gross Profit: Gross Profit = Total Recognized Revenue - Total COGS $2,050,000 - $609,450 = $1,440,550

Next, calculate the Gross Margin Percentage: Gross Margin % = (Gross Profit / Total Recognized Revenue) x 100 ($1,440,550 / $2,050,000) x 100 = 70.3%

A 70.3% gross margin is on the lower end for a scalable SaaS model. While not a deal-breaker, it's a signal that you need to investigate your cost structure. According to OpenView's 2024 SaaS Benchmarks, the median gross margin for SaaS companies is 78%, with top-quartile performers hitting 87%. A margin of 70% puts you in the bottom quartile and prompts an immediate review of hosting costs, support team efficiency, and pricing. While gross margin gives a powerful high-level view, you can get a more granular look at profitability by understanding contribution margin.

Calculating Gross Margin for Agencies and Service Firms

For agencies and professional services firms, gross margin is the truest measure of client and project profitability. Unlike a SaaS business where the biggest cost is infrastructure, your largest cost is your team. This is a simple but critical distinction.

The main challenge is accurately allocating the cost of your billable talent to your Cost of Goods Sold (COGS). If you get this wrong, you might think a difficult, time-consuming client is profitable when they’re actually an anchor dragging your business down. Your goal is to isolate the direct costs of delivering client work. Every dollar spent fulfilling a contract belongs in COGS. Everything else—from winning new business to paying office rent—is an operating expense.

Pinpointing Your Agency and Service COGS

The heart of COGS for any service business is labor. And not just salaries—the fully-loaded cost. A good rule of thumb: if you couldn't deliver the client work without this specific expense, it's almost certainly a direct cost.

Here’s what you absolutely must include in your agency’s COGS calculation:

  • Billable Employee Salaries & Wages: The portion of salary for employees directly working on client projects (designers, developers, strategists, project managers).
  • Payroll Taxes & Benefits: All associated payroll taxes, health insurance, and 401(k) contributions for those billable team members. This is non-negotiable.
  • Freelancer & Contractor Payments: Every dollar paid to external contractors who contribute directly to client deliverables.
  • Project-Specific Software: Licenses for tools used exclusively for a particular client project, like a specialized analytics tool or a stock photo subscription for one account.

What stays out? Indirect overhead. This includes administrative salaries (like your office manager or a non-billable CEO), the rent for your office, and commissions for your sales team. These are the costs of running the business, not delivering the service.

COGS Breakdown: SaaS vs. Services

The line between COGS and Operating Expenses can feel blurry, especially when comparing different business models. This table breaks down the typical direct costs for a SaaS company versus a services firm to make the distinction crystal clear.

Expense CategoryInclude in SaaS COGS?Include in Agency/Services COGS?
Hosting & Infrastructure (AWS, etc.)YesNo
Customer Support SalariesYesNo (Overhead)
Onboarding Team SalariesYesYes (If billable)
Billable Team Salaries (Devs, Designers)No (R&D)Yes
Freelancers & Contractors (Direct Work)Yes (e.g., specific dev work)Yes
Project-Specific SoftwareYes (e.g., integrated tools)Yes
Sales & Marketing SalariesNo (OpEx)No (OpEx)
Administrative & G&A SalariesNo (OpEx)No (OpEx)

As you can see, the core difference comes down to labor allocation. In SaaS, R&D labor is an operating expense, while in services, your delivery team's labor is the primary component of COGS.

A Worked Example: Agency Gross Margin Calculation

Let's put this into practice with "Growth Creative," a digital agency. Here are their annual financials:

  • Total Annual Revenue: $1,500,000

Now, we need to dig into their direct costs to figure out their COGS.

Expense CategoryAnnual CostIncluded in COGS?
Billable Team Salaries$525,000Yes
Billable Team Payroll Taxes & Benefits (25%)$131,250Yes
Freelance Designer Fees$90,000Yes
Client Project Software$20,000Yes
Administrative Salaries$120,000No (OpEx)
Office Rent & Utilities$60,000No (OpEx)

First, we calculate the agency's Total COGS by adding up only the direct costs: $525,000 (Salaries) + $131,250 (Benefits) + $90,000 (Freelancers) + $20,000 (Software) = $766,250

With that number locked in, we can find the Gross Profit: $1,500,000 (Revenue) - $766,250 (COGS) = $733,750

And finally, we calculate the all-important Gross Margin Percentage: ($733,750 / $1,500,000) x 100 = 48.9%

A 48.9% margin is a fantastic sign of a healthy, efficient service business. For context, many agencies operate in the 35-45% range. Hitting nearly 50% indicates strong pricing power, high billable utilization, and tight control over project costs. This isn't just an internal metric; private equity firms often look for margins above 35%, making this calculation vital for any agency considering fundraising or a future exit. This chart illustrates a similar calculation for a SaaS business, breaking down how revenue splits between direct costs and the resulting gross margin.

A SaaS gross margin analysis chart showing $5M Annual Recurring Revenue, $1.25M Cost of Goods Sold, and a 75% Gross Margin.

With $5M in revenue and $1.25M in direct costs (COGS), the business retains a very strong 75% gross margin, leaving a significant chunk of revenue to fund growth and operations. By applying this same disciplined logic, you can perform an agency profitability analysis to calculate true client ROI and finally get a clear picture of which accounts are fueling your bottom line—and which ones are draining it.

Red Flags: Common Gross Margin Mistakes to Avoid

Calculating gross margin seems simple, but a few common errors will completely warp your understanding of your company's financial health. An investor or buyer will sniff these out in a heartbeat—and it’s one of the fastest ways to lose credibility during due diligence. It signals you don’t fully grasp the core mechanics of your own business model.

Common gross margin mistakes including misclassified expenses, incorrect salary allocations, and wrong revenue recognition.

These aren't just minor accounting details. They are foundational mistakes that hide inefficiencies and can lead you to make disastrous decisions about pricing, hiring, and growth.

"A messy gross margin calculation isn't just a math error; it's a sign that the leadership team doesn't truly understand their own business model. If you can't get COGS right, an investor has to question every other number you present." Jumpstart Partners offers controller-led finance ops for founder-led B2B AI SaaS teams—monthly close, reporting, and billing support scoped after the Finance Ops Diagnostic.

Let's walk through the most common traps and how to fix them so your financials are bulletproof.

Mistake 1: Misclassifying Operating Expenses as COGS

This is, without a doubt, the number one error. Founders often lump costs related to acquiring customers into the bucket for delivering the service. The classic example? Putting sales commissions in COGS. Sales commissions are a cost of winning a customer, not fulfilling the contract. They belong in your Operating Expenses (OpEx) under Sales & Marketing. Putting them in COGS artificially deflates your gross margin and makes your core service look far less efficient than it is.

  • Actionable Step: Audit your COGS line by line. Move anything related to sales, marketing, G&A, or R&D to the correct OpEx category. Your COGS must only include costs essential to deliver your product or service to a paying customer.

Mistake 2: Fumbling Salary Allocations

For service businesses and SaaS companies, salary allocation is a minefield. The common mistake is dumping 100% of a salary for an employee with a mixed role into a single bucket. For example, if your CTO spends 20% of their time on high-level customer support and 80% on R&D, you must allocate their fully-loaded salary cost accordingly. Putting it all in R&D understates your COGS; putting it all in COGS overstates it.

  • Actionable Step: Have employees in hybrid roles track their time for a month to establish a reliable baseline. Use that data to create an allocation percentage for their salary and benefits between COGS and OpEx. Review these allocations quarterly.

Mistake 3: Ignoring Revenue Recognition Rules

This one trips up many SaaS companies, especially those with one-time setup fees. The mistake is booking the entire fee as revenue in the month you receive the cash. According to accounting standards like ASC 606, that revenue must be recognized over the expected lifetime of the customer. Booking it all at once gives you a misleading spike in revenue and gross margin, creating a lumpy financial picture that is a massive red flag for any investor. For a deeper dive, review our guide to SaaS revenue recognition under ASC 606.

  • Actionable Step: Work with your finance expert to amortize one-time fees over the estimated customer contract term. This smooths out your revenue stream and provides a much truer picture of your company’s real, ongoing profitability.

Actionable Next Steps: Using Gross Margin to Drive Growth

Once you have an accurate gross margin, the real work begins. This number is a powerful lever for making smarter, faster decisions. Think of a healthy gross margin as the fuel for your growth engine—it’s the cash your core operations generate that you can reinvest in sales, marketing, and R&D.

Your next steps should be to:

  1. Benchmark Against Your Industry: Compare your gross margin to industry benchmarks. If your SaaS margin is 68% and the median is 78%, you have an efficiency problem. If your agency margin is 50% and the average is 40%, you have a competitive advantage to lean into.
  2. Analyze Trends Over Time: A declining margin, even with rising revenue, is an early warning sign. It could signal scope creep, rising infrastructure costs, or pricing pressure. Plot your margin on a monthly chart and investigate any downward trend immediately.
  3. Use It to Inform Pricing: A low margin is a direct challenge to your pricing strategy. It tells you that you may be undervaluing your product or service and leaving money on the table with every customer. Use your margin data to model the impact of a price increase.
  4. Identify Cost Efficiencies: A high COGS is a direct call to action. Dive into your largest direct costs—hosting, third-party tools, or specific team salaries—and find opportunities to optimize without sacrificing quality. This is how you figure out how to improve profit margins.

By treating gross margin as a strategic KPI, you move from reactive problem-solving to proactive, data-driven leadership.

Gross Margin FAQs

As a founder, you're not just looking for definitions; you're looking for answers that apply to your business. Here are the most common questions we hear from CEOs.

What’s a Good Gross Margin for My Industry?

This is the question, and the answer is always, "It depends." There's no universal "good" number, but there are clear industry benchmarks that investors will use to judge you.

  • For SaaS companies, the target is high. You should be aiming for a gross margin above 75%. Best-in-class, public-ready SaaS businesses consistently hit 85% or more. If you dip below 70%, be prepared for investors to ask tough questions about your scalability and cost structure.
  • For digital agencies and professional services, the numbers look different. A healthy margin is typically between 35% and 50%. This range is completely normal and expected, as it accounts for the biggest cost in any service model: your people.

How Often Should I Calculate Gross Margin?

At an absolute minimum, you must calculate this monthly. This isn't an annual check-up. Gross margin is a core vital sign of your business's health. Tracking it monthly lets you spot trends before they become disasters. A slowly eroding margin is the classic canary in the coal mine—it signals creeping inefficiency long before it blows up your annual P&L.

Gross Margin vs. Contribution Margin: What's the Difference?

They sound similar, but they tell you two very different stories about your business.

  • Gross Margin is the high-level view. It measures your company’s core profitability after accounting for the direct costs of producing and delivering your product or service (COGS). This is the number investors use to understand if your entire business model can scale profitably.
  • Contribution Margin gets more granular. It tells you the profitability of a single sale after subtracting all variable costs—not just COGS, but also variable operating costs like sales commissions. It’s a powerful tool for unit-level decisions.

To get a hands-on feel for how these numbers play out, a retail profit margin calculator can be a useful tool for modeling different scenarios. While both metrics are important, for assessing the fundamental health and scalability of your business, gross margin is king.


Your gross margin isn't just a number on a spreadsheet—it's a direct reflection of your business's health and its readiness to scale. Getting it right is non-negotiable. Jumpstart Partners offers controller-led finance ops for founder-led B2B AI SaaS teams—monthly close, reporting, and billing support scoped after the Finance Ops Diagnostic.

Topics

how to calculate gross margin
gross margin formula
saas cogs
agency profitability
investor metrics

— If your close, billing, reporting, or AI costs need too much manual cleanup, start with a short diagnostic. Start the diagnostic →

Jumpstart
Partners

Monthly close, clear reporting, and someone to own the work behind the numbers.

info@jumpstartpartners.finance(240) 621-2794
Remote-First, Serving Globally

Quick Links

  • Pricing
  • Finance Workflow Map
  • How It Works
  • Fixed-Fee Projects
  • About
  • Blog
  • Free Guide
  • Start the Diagnostic
  • Due Diligence Readiness

Resources

  • All Articles
  • Cash Flow Forecasting
  • Controller ROI Analysis
  • Break-Even Analysis
  • SaaS Revenue Recognition
  • E-commerce Accounting
  • Year-End Close Checklist

Projects

  • All Fixed-Fee Projects
  • AP Setup Project
  • Cash Flow Optimization
  • Books Cleanup
© 2026 Jumpstart Partners. All rights reserved.Privacy & Terms