Cost of Goods Sold Calculator
Find what the products you sold actually cost you this period, and your gross profit and gross margin.
Your period
Do this for every order, automatically. Track stock levels, get reorder alerts and see cost of goods sold without manual math.
Get the Inventory and COGS Tracker spreadsheet ($15)How it works
COGS = starting inventory + purchases + other direct costs − ending inventory.
Gross profit = revenue − COGS and gross margin = gross profit ÷ revenue. Count inventory at what it cost you, not at its selling price.
Questions
What is included in cost of goods sold?
The direct cost of the products you sold: materials, inventory bought for resale and costs that go straight into making them. General overhead like software is usually left out.
How do I value my inventory?
Count what you have on hand and multiply by what each item or material cost you.
What is a good gross margin for a small shop?
It varies by product type. Handmade goods often run above 50%, while resold goods are usually lower.
Related calculators
- Inventory Turnover CalculatorTurnover ratio and days of inventory on hand.
- Reorder Point CalculatorWhen to reorder, days of stock left and order size.
- Profit Margin CalculatorProfit, margin and markup, or the price for a target margin.
Related guides
- How to find your break-even pointHow to find your shop's break-even point: fixed costs, contribution per sale and the number of orders you need each month, with an example.
- How to calculate profit margin per orderCalculate gross and net profit margin for an online order step by step, including fees and shipping, with a worked example.
- When to reorder inventoryFind the stock level that tells you to reorder: daily sales, supplier lead time and safety stock, with a simple worked example.
- Cost of goods sold, explainedWhat cost of goods sold (COGS) means for a small product business, the formula, and a worked example using beginning and ending inventory.