Stock Meadow · Metric glossary · Statement figures

Cost of revenue (COGS): formula and how to read it

Cost of revenue, often called cost of goods sold (COGS) or cost of sales, is what it directly cost a company to make or deliver what it sold. Taking it off revenue gives gross profit.

Updated · By Stock Meadow · About us

What is Cost of revenue (COGS)?

Direct cost of what the company sold over the last twelve months. The direct cost of the goods and services sold. Added up over the last twelve months from the company's statements, as our data provider standardizes them (the figures the Income statement and Cash flow tabs show): the latest four quarters (two half-years for a company that reports twice a year; or the latest fiscal year plus the quarters since it, less the same quarters a year earlier; else the latest fiscal year), the same twelve months the Valuation tab, P/E and EV/EBITDA use. Revenue minus this is gross profit. Data providers file some costs under different lines, so this can differ from other sites' figures, while revenue, pre-tax income and net income agree. Not calculated for banks and insurers, whose statements aren't laid out this way. A dollar amount describes size rather than quality, so it isn't scored; use it as a filter or a column. Shown only for companies that report in US dollars (our data has no exchange rates).

Stock Meadow groups it under Statement figures, and shows it in tables as Cost of revenue.

Formula and a worked example

Cost of revenue (TTM) = cost of revenue of the latest four quarters added up, from the company's statements (the same twelve months the Valuation tab and P/S use); revenue − cost of revenue = gross profit

A retailer with $1,000 million of revenue over the last twelve months that paid $700 million for the goods it sold has a cost of revenue of $700 million, leaving $300 million of gross profit. The numbers are made up for illustration.

How to read it

It shows how much of each sales dollar goes on the product itself. As a share of revenue it is the other side of the gross margin: a smaller share leaves more to pay for research, marketing, overheads and profit.

It can be used as a filter and as a column, but not for scoring: it describes a company rather than making it better or worse.

Common pitfalls

  • Companies, and data providers, file some costs under different lines (for example shipping, hosting or depreciation), so this can differ from other sites' figures, while revenue, pre-tax income and net income agree. Compare companies in the same industry.
  • It is not calculated for banks and insurers, whose statements aren't laid out this way.
  • A company that reports in a currency other than US dollars has no figure, because our data has no exchange rates.

How Stock Meadow handles gaps. Usually blank when the company reports in a currency other than US dollars (our data has no exchange rates), a quarter of the line is missing from the statements, or the latest statements are more than 17 months old, or the company is a bank or insurer.

Treat any single metric as one clue, and read the company's financial statements before drawing a conclusion. Stock Meadow's figures are research tools based on reported data, not investment advice.

Stock Meadow models that use it

No scoring model uses it. It is a filter and a table column only.

Read about every scoring model in the user guide.

More statement figures metrics

Frequently asked questions

Is cost of revenue the same as cost of goods sold?
Mostly. Cost of goods sold is the usual name at a company that sells products; cost of revenue or cost of sales is used when it also covers services. Each is the direct cost of what was sold, and Stock Meadow shows the line as the company reports it.
Can I score stocks on Cost of revenue?
It can be used as a filter and as a column, but not for scoring: it describes a company rather than making it better or worse.
Why is Cost of revenue blank for some stocks?
It is usually blank when the company reports in a currency other than US dollars (our data has no exchange rates), a quarter of the line is missing from the statements, or the latest statements are more than 17 months old, or the company is a bank or insurer. Stock Meadow leaves the figure blank rather than guessing it.

Use Cost of revenue in Stock Meadow

Filter the whole stock list on Cost of revenue (TTM) and show it as a column in the stock screener. Sign up free, no card needed.

Open the stock screener