Cost of Goods Sold Calculator
Calculate your cost of goods sold (COGS) using the beginning inventory, purchases, and ending inventory method. See your gross profit, gross margin, and markup percentage to understand your product-level profitability.
Inputs
$
$
$
$
Shipping, packaging, etc.
$
$
Results
Cost of Goods Sold
$300,000
Gross Profit
$200,000
Gross Margin
40.0%
Markup
66.7%
Revenue Breakdown
Cost Components
Frequently Asked Questions
Related Calculators
Profit Margin Calculator
Calculate gross, operating, and net profit margins from your revenue and costs.
Break-Even Calculator
Find how many units you need to sell to cover your costs.
Contribution Margin Calculator
Calculate your contribution margin to understand how much each sale contributes to profit.