Cost of Goods Sold (COGS) Calculator
Enter opening inventory, purchases and closing inventory to get COGS.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
Cost of goods sold follows the basic inventory equation: COGS = opening inventory + purchases − closing inventory — whatever inventory you started with, plus what you bought, minus what's left unsold, must be what you sold during the period.
It's the first line subtracted from revenue to get gross profit on every income statement, and retailers and manufacturers track it closely because it directly drives gross margin — a rising COGS relative to revenue, even with sales growing, usually signals supplier price increases, discounting, or inventory shrinkage eating into profitability.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)