Providing entrepreneurs with today's tools for tomorrow's success

TA fundraising 740x360

Accurately Calculating Gross Margin for your SaaS Business

Gross Margin is a concept that can be tough to wrap your arms around if you’re running a SaaS business. At its core, gross margin is the percentage of revenue left after the cost of servicing that revenue.

Why should you care about gross margin? Easy. Gross margin is representative of the amount of cash your business is generating to cover all
of your operating expenses. Sales and Marketing, your office, your big management salary — that’s all covered by gross margin. Additionally, the
higher your margin is, the more money you can reinvest back into your business to accelerate your overall growth trajectory. The more you can make and reinvest, the faster you’ll grow.

Let’s break it down, starting with a few definitions:

  • Revenues: The amount of money a company received or recognized by selling its products and services during a specific period, including discounts and deductions for returned merchandise.
  • Cost of Goods Sold (COGS) The direct costs attributable to the production of the goods sold by a company or the services provided.

This amount includes the cost of the materials used in creating the good along with the direct labor costs used to produce the good or service.

NOTE: Gross Profit is a derivative of the above Revenues and COGS, it is vital that these two numbers are calculated properly and the appropriate costs
are recognized in COGS to determine the correct gross profit.

  • Gross Profit: a company’s revenues minus its cost of goods sold. This number represents the profit a company makes after paying for the
    costs of making and selling their products or providing their services.
  • Gross Margin: a company’s gross margin is its gross profit described as a percentage of sales (Revenues).
Gross Margin (%)=

Revenue - Cost of Goods Sold


Gross Profit


Calculating Gross Margin: An Example

ABC Company buys Widgets for $1, and can sell each Widget for $10. On each sale, they make $9. The gross margin for this company is 90%. On the other hand, XYZ Company buys Thingies for $5, and sells each Thingy for $10 making $5 in profit on each sale.

  ABC Company XYZ Company
Sale (One Unit)   $10  $10
Cost of Goods Sold  $1 $5
Gross Profit  $9 $5
Gross Margin 90% 50%

Assuming all else is equal, ABC Company has a higher margin on their sale (90% vs 50%), we can see they retain an additional $4 per unit sold. Although the above example is very simplistic, it makes understanding Gross Margin very easy.

However, when it comes to working with SaaS and other software companies, getting the accurate gross margin number can be a little more difficult because you need to properly account for the Cost of Goods Sold. When working with a software company, personally I think it is easier to not think of them as COGS, but cost of revenue. Think about it this way: what are the unavoidable expenses you’ll incur to create revenue? For a SaaS company this will include expenses such as hosting and customer support, but also third-party license agreements, data fees and other costs. This is a great way to determine whether or not something is a COGs for a software company.

Let’s look at an example for the same two companies, but as if they were software companies. Both companies are currently at $100,000 MRR. ABC Company has five Customer Support representatives which cost $4,000 each per month. Each employee has licenses to numerous software products they need to offer effective support to their customers. This costs ABC company $1,000 per month per employee. Lastly, ABC Company has hosting expenses of approximately $1,000 per month.

XYZ Company does not need any Customer Support representatives for their product. As they do not need any support representatives, they also do not need any licensing for the employees which they do not have. XYZ company generally sees their hosting expense around $5,000 per month.

ABC Company XYZ Company
Sale (One Unit) $100,000 $100,000
Cost of Goods Sold  
 Support and Maintenance $20,000  $- 
 Hosting $1,000  $5,000  
 Licensing $5,000    $- 
Gross Profit $74,000 $95,000
Gross Margin 74% 95%

In this scenario, we can see that XYZ Company had better margins and is able to retain more dollars of each sale compared to ABC Company. The largest factor driving this variance is the cost of the Customer Support Representatives. This is very accurate of what we frequently see at other companies — staffing is often the top expense.

Learn from the Big Guys: How Other SaaS & Cloud Companies Manage their Accounting

If you aren’t sure how to account for a certain expense or recognize revenue, it can be helpful to look at public tech companies (especially cloud businesses) to see how they report their financials. Some great examples are, Box, and Zendesk. It’s particularly worthwhile to explore financial statements, earnings releases and Management Discussion and Analysis (MD&A) statements to see how tech companies account for various aspects of their business and clarify information for investors. These companies spend a lot of money having their financials prepared by some of the best accounting firms in the world, so we can all learn a lot from them.

About the author: Lighter Capital is a fintech company that has created a new fundraising path for early-stage tech companies. They understand that an entrepreneur’s two greatest constraints are time and money, and have developed a funding instrument that solves for both. Their transparent, data-driven process provides founders up to $2 million of non-dilutive growth capital in a fraction of the time it takes to raise from traditional sources. More information at