Cost of goods sold (COGS) calculator

Cost of goods sold, or cost of sales, is the direct cost of what you sold: materials, hosting, payment fees and anything else that grows with each sale.

The formula

COGS = direct costs of what you sold

Worked example: £15,000 a month

The example is a UK software company in one month: £50,000 of revenue excluding VAT, 400 customers and £180,000 in the bank.

  1. £15,000 ÷ £50,000 revenue = 30.0% of revenue

Try it with your numbers

Work out your COGS

It starts on the example. Replace any figure with your own; nothing you type leaves your browser.

Your business numbers

Start with any one figure. Each one you add works out more below. Your numbers are kept in this browser only.

What this calculation uses

Everything you invoiced in the period.

VAT rate on your sales

Costs that grow with each sale: materials, hosting, payment fees.

Add more of your numbers

Open a group to fill it in. Everything you add shows up in the list below the calculator.

Sales and VAT
My figures cover one

Input VAT on your purchases in the period.

Subscriptions and contracts, excluding VAT.

Marketplaces only: what buyers paid in total.

Costs

Salaries, employer National Insurance, pensions, freelancers.

Ads, sales salaries and tools.

Rent, software, insurance, admin.

From your accounts. 0 if you have none.

For the period, if you pay any.

Things that last more than a year.

Customers and orders

Or invoices, for a service business.

Recurring revenue over one month

Extra MRR from existing customers.

Growth
Cash

In the period, not what you invoiced.

In the period, not counting equipment.

Balance sheet

Cash, equipment, money owed to you.

Loans, bills, tax due.

Team

Everyone added together.

One investment or campaign

On a campaign, a hire or a piece of kit.

Extra gross profit it produced.

Your cost of goods sold

£15,000

a month

  1. £15,000 ÷ £50,000 revenue = 30.0% of revenue

Formula: Direct costs of what you sold.

Gross profit
£35,000
Gross margin
70.0%

Everything your numbers show

29 of 29 worked out so far. Select one for its page.

How to read your result

COGS as a share of revenue is the other side of gross margin. If it falls per sale as you grow, your costs scale well.

Watch out for

Fixed costs such as rent or most salaries do not belong in COGS. Putting them there makes margins look worse and hides how costs scale.

Last checked . Estimates only, not financial, tax or legal advice: check your accounts and documents, and take advice before you act. More terms in the startup glossary.

Get the Bizztor newsletter

Startup news, founder guides and upcoming events for UK founders. Unsubscribe any time.

By subscribing you agree to receive emails from Bizztor. See our privacy policy.