COGS (Cost of Goods Sold) | Futureproof

COGS (Cost of Goods Sold)

Quick Definition

The direct costs of producing and delivering your product or service, subtracted from revenue to calculate gross profit.


What is COGS?

Cost of Goods Sold (COGS) represents the direct costs of producing and delivering your product or service. For SaaS companies, this typically includes hosting, third-party software, and customer support costs.

COGS is subtracted from revenue to calculate gross profit. It excludes operating expenses like sales, marketing, and R&D, which come out of gross profit.

SaaS COGS Components

Why COGS Matters

COGS directly determines your gross margin, which is a key indicator of business model quality. High COGS means low margins and less money for growth. Optimizing COGS improves profitability without cutting investment.

How to Calculate COGS Step by Step

Step 1: List every direct cost of delivering your product. The key question: "Would this cost go away if I had zero customers?" If yes, it's COGS.

For SaaS:

For Ecommerce:

Step 2: Exclude operating expenses. These are NOT COGS:

Step 3: Calculate gross profit.

Step 4: Set up proper cost categorization in your accounting. The biggest challenge with COGS is consistent categorization. Set up your chart of accounts with a clear COGS section from day one. This prevents scrambling to recategorize expenses before an investor meeting or audit.

Common mistakes founders make:

COGS in Ecommerce

For ecommerce, COGS includes product cost, shipping, packaging, and fulfillment. Margins are much tighter than SaaS, making COGS optimization critical for profitability.

Formula

Gross Profit = Revenue - COGS

Gross Margin % = (Revenue - COGS) ÷ Revenue × 100

Example

SaaS COGS breakdown:

Total COGS = $112,000

If revenue is $500,000: