Beginner

COGS Calculator — Cost of Goods Sold

Enter your beginning inventory, the cost of goods purchased or produced during the period, and the ending inventory. Add revenue to also see gross profit and gross margin — the core profitability metrics used in every income statement.
Inventory value at the start of the period
All goods purchased or produced during the period
Inventory value remaining at end of period
Used to compute gross profit and gross margin
Cost of Goods Sold (COGS)
140 000

Beginning inventory + purchases − ending inventory

Beginning inventory
50 000
Purchases / production
120 000
Ending inventory
30 000
Gross profit
110 000
Gross margin
44 %
COGS as % of revenue
56 %

44%

gross margin

COGS (56%)

56%

Gross profit (44%)

44%

Step by step
  1. 1

    Goods available for sale

    50 000 + 120 000 = 170 000
    Beginning inventory plus all purchases or production costs in the period.
  2. 2

    Cost of Goods Sold

    170 000 − 30 000 = 140 000
Lock the current result, then change any input to compare scenarios.
Результаты являются ориентировочными и предназначены только для общего ознакомления, а не для профессиональных рекомендаций — всегда самостоятельно проверяйте важные результаты, прежде чем полагаться на них. Это не является финансовой, инвестиционной или налоговой консультацией; обратитесь к квалифицированному специалисту. Читать полный отказ от ответственности.
Быстрый ответ

Как работает этот калькулятор?

COGS = Beginning Inventory + Purchases − Ending Inventory. Subtracting COGS from Revenue gives Gross Profit; dividing Gross Profit by Revenue gives Gross Margin %. These three numbers sit at the top of every income statement and measure how efficiently a business turns inventory into revenue.

Формула
COGS = Beginning Inventory + Purchases − Ending Inventory • Gross Profit = Revenue − COGS • Gross Margin = Gross Profit ÷ Revenue × 100%
How this is calculated

Cost of Goods Sold is the direct cost of the inventory sold during an accounting period. It follows from the flow of goods: you start with whatever inventory was on hand at the beginning of the period, add everything purchased or produced, and then subtract whatever is still on hand at the end. The difference is what was sold — and the cost attached to those sold units is COGS.

COGS appears on the income statement immediately below revenue. Subtracting it gives gross profit, which measures how efficiently a business converts goods into revenue before accounting for operating expenses, interest and taxes. Gross margin (gross profit ÷ revenue, expressed as a percentage) lets you compare profitability across businesses of different sizes or across different periods.

This calculator assumes a periodic inventory system where you count physical inventory at the start and end of the period. COGS can vary depending on the inventory costing method (FIFO, LIFO, or weighted average); this calculator does not apply a specific costing method — it uses the totals you provide. If your ending inventory is higher than beginning inventory plus purchases, COGS would be negative, which is impossible; the calculator flags this as an input error.

Часто задаваемые вопросы

COGS covers direct costs tied to producing or acquiring goods: raw materials, direct labour, and manufacturing overheads (factory rent, equipment depreciation). It excludes indirect costs like sales, marketing, administrative salaries and interest expense — those fall below gross profit as operating expenses.

Yes. FIFO (first in, first out) assigns the cost of oldest stock to COGS; LIFO (last in, first out) assigns the newest costs; weighted average blends all costs. This calculator uses total figures you provide, so ensure your beginning and ending inventory values already reflect the costing method your business applies.

Gross margins vary widely by industry. Software companies often exceed 70–80%; grocery retail may sit at 20–25%; manufacturing at 30–50%. Compare your margin against industry benchmarks and track it over time to spot trends — a declining margin can signal rising input costs or pricing pressure.

Также известен как

cost of goods sold calculator
cogs formula
gross profit calculator
gross margin calculator
beginning ending inventory calculator
cost of sales
inventory cost accounting

APA

TG we-Calculate Editorial Team. (2026). COGS Calculator — Cost of Goods Sold [Online calculator]. TG we-Calculate. https://we-calculate.com/ru/calculator/cogs-calculator

Chicago

TG we-Calculate Editorial Team. "COGS Calculator — Cost of Goods Sold." TG we-Calculate. 2026. https://we-calculate.com/ru/calculator/cogs-calculator.

IEEE

TG we-Calculate Editorial Team, "COGS Calculator — Cost of Goods Sold," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/ru/calculator/cogs-calculator

BibTeX

@misc{wecalculate_cogs_calculator, title = {COGS Calculator — Cost of Goods Sold}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/ru/calculator/cogs-calculator}}, year = {2026}, note = {TG we-Calculate} }

Этот калькулятор вам помог?

Похожие калькуляторы