تخطَّ إلى المحتوى الرئيسي

Cost of Revenue

Intermediate

تكلفة الإيرادات

Also known as: Cost of Sales, Cost of Revenues

Financial & Fundamental Analysis
Last updated

Definition reviewed before publishing

Our content team writes and reviews every definition before it is published, and revisits it when the way a term is used in the markets changes. The date shows the latest change to this term.

Last updated on 25 November 2026

Cost of revenue is the total direct cost a company incurs to produce the goods or deliver the services it sold and get them to customers during a period. It appears on the income statement directly below revenue and is subtracted from it to calculate gross profit.

Quick summary

• Direct costs of producing and delivering what was sold. • Broader than cost of goods sold. • Subtracted from revenue to get gross profit.

How it works

Cost of revenue includes the cost of goods sold, meaning raw materials, direct labor and manufacturing overhead. It adds other costs tied directly to making a sale, such as shipping to the customer, server costs at software companies, and licensing fees or commissions linked to each sale. For this reason, service and technology companies often prefer this term to cost of goods sold, since many of their costs have nothing to do with physical goods. It excludes indirect expenses such as general management salaries, office rent, general marketing budgets and research and development, which are recorded under operating expenses. Companies sometimes use slightly different definitions of what goes into this line, so the notes to the financial statements are worth reading. The lower cost of revenue is relative to sales, the higher the gross margin.

Example

A hypothetical software company earns revenue of 50 million dollars and spends 6 million on servers and hosting, 3 million on its direct support team and 1 million on licensing fees. Its cost of revenue is 10 million dollars (6 + 3 + 1), its gross profit is 40 million (50 - 10), and its gross margin is 80% (40 ÷ 50).

Where you will see it

On the income statements of listed companies, especially in technology and services, in quarterly earnings reports, and in analysts' margin analysis tools.

Why it matters

Cost of revenue determines how much of each riyal of sales is left to cover other expenses and produce a profit, making it the basis of gross margin. Tracking its share of sales over several quarters reveals pricing pressure or rising input costs early, before the effect reaches net income.

How it is calculated

Gross profit = revenue - cost of revenue. Gross margin = (revenue - cost of revenue) ÷ revenue × 100.

How it differs from similar terms

• Revenue: total sales, while cost of revenue is what was spent directly to generate them. • Cost of goods sold: the part of cost of revenue limited to producing goods, without delivery and direct service costs. • Operating expenses: indirect costs of running the business, listed after gross profit on the income statement.

Common mistakes

Comparing cost of revenue between two companies without checking what each includes in the line, so one looks more efficient simply because it moved some costs into operating expenses. Read the notes and align the definitions before comparing.

Related terms