<img height="1" width="1" style="display:none;" alt="LinkedIn" src="https://px.ads.linkedin.com/collect/?pid=1310905&amp;fmt=gif">

Discover

Explore CloudZero


Overview Icon
Overview

Discover the power of cloud cost intelligence.

Services Icon
Services

Give engineering a cloud cost coach.

Pricing Icon
Pricing

Learn more about CloudZero's pricing.

Demo Icon
Demo

Request a demo to see CloudZero in action.

About Icon
About

Learn more about CloudZero and who we are.

Connect With Us

Got questions? We have answers.


Questions Icon

Speak with our Cloud Cost Analysts and get the answers you need.

Get in touch arrow-right

Featured

How SeatGeek Decoded Its AWS Bill and Measured Cost Per Customer

Read customer story arrow-right
User Icon

By Role


Engineering

Enable engineering to make cost-aware development decisions.

Finance

Give finance the context they need to make informed decisions.

FinOps

Decentralize cloud cost and mature your FinOps program.

Use Case Icon

By Use Case


Provider Icon

By Provider


Amazon Web Services (AWS)

Measure, monitor, and optimize cloud spend on AWS.

Snowflake

Combine cloud cost intelligence from AWS and Snowflake.

Resources Icon

Learn


Blog

Discover the best cloud cost optimization content in the industry.

Content Library

Browse helpful webinars, ebooks, and other useful resources.

Case Studies

Learn how we’ve helped happy customers like SeatGeek, Drift, Remitly, and more.

Featured

5 Tactical Ways To Align Engineering And Finance On Cloud Spend

Read blog post arrow-right

SaaS COGS: What To Consider In Your Cost Of Goods Sold

Learn what you should include as SaaS COGS, how to calculate it, and four tips for discussing costs with your leadership team.

Is your current cloud cost tool giving you the cost intelligence you need?  Most tools are manual, clunky, and inexact. Discover how CloudZero takes a new  approach to organizing your cloud spend.Click here to learn more.

When you lead engineering for a company running on AWS, every technical decision you make can have an impact on your profit margin. So it’s no surprise that many of us are increasingly responsible for answering questions and reporting about costs to our executive teams — and in some cases, the board.

However, it can be challenging to translate complex engineering concepts to business leaders. If you frame things well, though, you can have more productive conversations that lead to greater alignment between engineering and the rest of the business. 

In my experience, positive discussions about cost tradeoffs can help your team make better decisions about everything from roadmap prioritization to pricing models.

With that in mind, I’d like to share some of my recommendations for discussing cost with your leadership team — and hope it might help you have stronger cost conversations. 

Table Of Contents

What Are COGS In A SaaS Company?

Cost of goods sold (COGS) in a software-as-a-service (SaaS) company refers to the direct costs you incur in building and running subscription-based software services. COGS are also referred to as cost of sales. 

These services are software-enabled and distributed over the internet, which makes them unique. COGS for SaaS differs from traditional software companies that create a physical software copy and distribute it.

Many SaaS companies over-report their COGS because they are unsure what they should include in their cost of goods sold reports. Some equate operating expenses (OPEX) with cost of goods sold (COGS), which is inaccurate and could have negative consequences, such as reducing your share price.  

What is the difference between COGS and operating costs?

COGS reflect how much you spend on building and supporting the software services that your customers purchase. Meanwhile, operating costs represent the costs incurred to run and support your entire business, not just the software-enabled services you provide. 

COGS also differ from cost of revenue in that the latter applies when you sell a physical product. Cost of revenue also includes indirect expenses such as the commissions you'd pay your sales staff and the shipping costs of raw materials.     

So, what costs should you consider COGS in a SaaS?

SaaS COGS Examples: What Should You Consider COGS In A SaaS Company?

A SaaS company's cost of goods sold includes:

  • The cost of hosting applications like Amazon Web Services (AWS).
  • Cloud costs such as Amazon EC2 and S3 bills, application performance monitoring (APM) fees, and infrastructure monitoring and security fees, etc.  
  • Payments for software licenses or subscriptions that directly support the development and running of the software-enabled service you depend on for revenue.
  • Transactional costs, such as cost of travel and billing.
  • Employee salaries, training, and onboarding costs incurred by customer support personnel who ensure that customers can use your software hassle-free.
  • Expenses directly related to the creation and operation of your revenue source.

COGS does not include general administration, R&D amortization, product development, internal operations, upselling, rent, commissions, or data center maintenance. These are operational costs. 

There are also no rules as to what to include in a SaaS P&L as COGS. As a result, SaaS finance teams struggle to figure out what to account for as COGS, let alone forecast and provision technology costs with accuracy.

Additionally, engineering leaders cannot explain to finance (and to the C-Suite) how engineering activities impact the company’s overall profitability. 

We see this and more SaaS cost visibility challenges more often now. They are reasons more SaaS companies are reporting weaker gross margins, and ultimately, insufficient profits to keep them afloat. 

If you've migrated to the cloud recently, for example, you're seeing unique infrastructure, metrics, and billing details. Your financial team may be more blindsided now than ever.

As an example, the costs of testing software features in production or scaling your customer's resources can increase COGS. Cloud costs are also highly variable, changing as you onboard more customers, commission additional features, and generate more traffic through viral marketing activities. 

When you cannot trace costs back to a specific feature, customer, or project in your app, you may never know how much you spend on each. 

As a result, you may struggle to: 

  • Set the right SaaS pricing based on how much you spend building, running, and supporting each app feature.
  • Estimate how much discount you can offer without compromising your net profit.
  • Decide the right time to review and update your subscription pricing with a specific customer(s), so you can improve your per customer gross margins, hence overall profitability.
  • Invest in innovation without worrying about going over budget.    
  • Show C-suite and finance where and how you spent your engineering budget.

The COGS of each SaaS business will differ based on its unique business model, industry, compliance laws, and other factors. What do you do when your costs differ from the "standard" bunch? 

How Do You Calculate SaaS COGS?

As a start, you need to see all your costs in the context of your business. Different companies have differing formulas for calculating COGS manually, such as:

  • Total Revenue - Gross Margin = COGS
  • Recurring Subscription Revenue - Recurring Subscription Revenue = Expenses That Directly Support Recurring Revenue (COGS)

Notice the difference between those SaaS COGS calculation methods and the following formula for calculating a conventional business’s COGS:

COGS = Inventory At The Start Of A Period + Purchases Made Over That Period - Ending Inventory 

It is highly unlikely that you will keep inventory as a SaaS company, which is why you will rarely use this last formula. 

You are more likely to have COGS similar to the ones in this table:

COGS Totals

Company X

Development

$26,700

Customer support for the app

$11,900

Application maintenance

$3,500

Cost of subscriptions

$1,650

Hosting

$5,050

Licensing fees

$2,300

Total cost of goods sold

$51,100

Company X’s cost of goods sold equals $51,100 for the specific period these costs accrued. 

Sadly, most cloud providers lump all costs into one billing statement. As a result, it is very difficult to determine what cost you what, when, where, and why — reducing your cloud cost visibility. 

When you don't have a clear understanding of where your cloud spend is going, you might not know where you can optimize — such as cutting your AWS bill by reducing unused resources, or using more resources for the same fees.   

The good news is that you can use a cloud cost intelligence platform like CloudZero to understand your spend and align costs to feature, products, customers, teams, and more.

Cost Per Customer Report

CloudZero combines COGS with unit economics, enabling you to visualize and map the true cost of supporting each segment of your business. The following are examples of unit costs: 

  • Cost per customer so you can tell the average costs per customer, letting you know if you charge each customer enough to cover the cost of supporting them, for example.
  • Cost per feature so you can tell how much each feature costs versus how much it returns.
  • Cost per team and project, so you can improve its efficiency.    

How Can You Use SaaS COGS?  

Understanding COGS is important in calculating SaaS gross margins, which typically range between 60-90%. So SaaS COGS should be between 10-40%. Many SaaS businesses end up over-reporting their SaaS cost of goods sold to avoid misrepresenting costs to investors. 

COGS can also help you calculate the gross profit of your SaaS business. From there, you can estimate the surplus revenue you have to cover your operating expenses, like rent, sales, and marketing. 

You can also use the data to conduct a SaaS COGS benchmark. Comparing key SaaS business metrics and practices to industry peers and standards may allow you to determine how to improve gross margins, and ultimately net profit. 

Investors also look out for COGS in SaaS P&L to gauge profitability, hence the attractiveness of a SaaS company. 

Higher gross margins lead to a higher valuation, which can boost the amount you can get during a funding round, as you can see here.

Gross Margins Chart 

Net profits often fall when gross margins are weak. Low-profit margins make it harder to fund R&D and innovation. Furthermore, you may not have enough left over to fund marketing and sales campaigns that can help you attract more and higher-value clients.  

Many companies in the SaaS sector assume gross margins will increase as they scale. That's not necessarily true. 

It might be tough to optimize your SaaS COGS as a larger company if you have trouble understanding and allocating them now. It could mean being unable to report higher gross margins that would increase your valuation, attract investors, and make it easier to service operating costs.

How To Help C-Suite Understand SaaS COGS

Now here's the thing. Engineers strive to improve existing technical features, minimize downtime, and integrate additional components. Finance, SaaS executives, investors, and the board want to see how an input X will lead to more recurring sales (renewed subscriptions) and increased profits.  

Engineers may not always be aware of the financial aspects of the equation. But they know how operations work at the technical level, including how to scale and maintain service availability to improve customer experiences and, hence, retention. 

So, what steps should the engineering team take to align with C-suite (and finance)? In what ways do you encourage SaaS executives to understand SaaS COGS so they can provide the resources you need to innovate?    

1. Speak The Language Of Business

Engineers are used to communicating technical metrics, whether it's explaining why uptime has improved or advocating for a fresh approach to a roadmap initiative. Instead, break down engineering costs in a way that helps your executive team make sense of your costs.

For example, an executive team or board of directors does not care how much Amazon S3 costs or how architectural choices from years ago resulted in the current cost structure.  

They want to know things like:

  • How much does it cost to run each application? What are the most expensive features of the application? What features do customers (internal and external) actually use?
  • How do costs correlate to different engineering teams?
  • How much does it cost to host individual customers and business use cases? For example, how much do customers at a particular service tier cost to support?
  • How profitable is each product?
  • How can we reduce costs? Which trade-offs must be made?
  • What is our unit cost (e.g., cost per message, transaction, etc.?)

Then talk about the potential roadblocks that might come up. 

2. Discussing Trade-Offs And Risks

In most cases, giving your executive team a list of projects to improve COGS or margins won't be enough since they won't have the context they need to support your decision — and know whether you're recommending the right strategy.

As an engineering leader, it’s your job to remove that uncertainty by providing important context about trade-offs and risks.

We like to group projects with easy-to-understand groupings like “no-brainer” and “moonshot” projects. If a project takes several staff days and saves 10% on your bill, it’s a no-brainer — and your executives will almost certainly agree.

However, some projects are more speculative, so you aren't sure what kind of savings they'll yield. These project might reduce your COGS by half, but they might also be a dead-end. Those are your moonshots.

For example, describe the human resource costs and the roadmap items that might be at risk. You should also express any uncertainty you have about the approach you plan to take. When you're only 50% sure your changes will affect costs and performance, it's better to say so proactively than to embark on your plan only to report lackluster results.

Every engineering initiative will not be a success. Business leaders rely on engineering for information when deciding which risks are worth taking. 

If your engineering team spends three months re-architecting the application and there's a 50% chance they'll save $1 million per month, should they do it? Is it worth it to improve performance by 50% while increasing costs by 30%?

Even with the best data, there will always be some uncertainty. It's essential to convey uncertainty accurately by presenting potential risks and benefits as part of any decision-making process. This will allow leadership to make an informed decision.

3. Make Sure You Have GTM Context

Margin improvement goes beyond technical system improvements. To ensure the products you build are priced and packaged correctly, get input from your GTM team leaders, such as your CRO or head of product.

One of the most important things you can do is present your cost and utilization data, mapped to the business units they care about.

Taking this approach allows your team to work together to maximize margins — and shows your team potential revenue growth areas they may not have thought of otherwise.

For example, let’s say you work for a SaaS company that offers a messaging platform, and you allow your customers to backup messages for free, but you identify that storage costs are 30% of your COGS. You will want to use this data to discuss whether you should start charging extra for storage — or whether you could reduce the cost of storage with an engineering solution.

Your business can benefit greatly from these sorts of conversations. Not only can you grow your margins and provide direction to your business — but finding a solution that doesn’t involve engineering can help keep new feature delivery on pace so that you can stay competitive.

4. Don’t Wait For The Crisis

Engineering leaders who can have successful conversations about COGS don’t wait for a crisis. Cost data is something engineering leaders need to pay attention to continually, and neither engineering leaders nor the exec team should wait for crunch time to have a conversation about it.

If you want to become an expert in cost data, you need to pay attention and use it frequently in your decision-making.

These are ultimately business decisions. Effective executive teams use data to support their choices. You need to show, with data, how the technical decisions your organization has made are associated with your business results and goals.

The team also needs to have enough information about costs, risks, and trade-offs to make their own contributions, even if they do not know how your technical system works and wouldn’t know which way is up on an AWS bill.

Cloud Cost Intelligence Can Help

Having trouble connecting technical decisions with business results? 

CloudZero's Cloud Cost Intelligence platform automatically aligns cloud spend to the metrics businesses care about like COGS, cost per feature, customer, product, team, environment, and more.

Engineering leaders can empower their engineers to see the cost impact of their work and even drill down into cost data from a high level down to the individual components that drive their cloud spend.

Engineering teams can see exactly what AWS services cost them the most and why — and finance teams can finally get the cost insight they need to make informed decisions that ensure profitability for their business.

Request a demo today to see how CloudZero can help your organization understand your SaaS COGS.

STAY IN THE LOOP


Join thousands of engineers who already receive the best AWS and cloud cost intelligence content.