Cost of Goods Sold Calculator (COGS)
Cost of Goods Sold Calculator (COGS)
Calculate Cost of Goods Sold (COGS), Total Goods Available for Sale, and Gross Margin from inventory flows.
Inventory-to-COGS Waterfall Breakdown
COGS Accounting Schedule
| Line Item | Amount ($) |
|---|---|
| Beginning Inventory | $42,000.00 |
| Inventory Purchases | $96,000.00 |
| Direct Labor & Freight-In | $14,000.00 |
| Total Goods Available for Sale | $152,000.00 |
| Less: Ending Inventory | -$38,000.00 |
| Cost of Goods Sold (COGS) | $114,000.00 |
Cost of Goods Sold (COGS) & Inventory Accounting
Cost of Goods Sold isolates the direct inventory and production costs tied strictly to merchandise sold during an accounting period. Rather than expensing all inventory bought in a quarter, subtracting Ending Inventory shifts unsold units back onto the balance sheet and produces an accurate Gross Profit and Gross Margin.
COGS & Gross Profit Formulas
Worked Example
- • $42,000 beg. + $96,000 purchases + $14,000 labor/freight = $152,000.00
- • Less Ending Inventory ($38,000.00) -> COGS: $114,000.00
- • Total Sales Revenue: $185,000.00
- • Gross Profit: $71,000.00 | Gross Margin: 38.4%
Frequently Asked Questions
Should outbound shipping to customers go into COGS?
No—inbound freight-in and customs duties to acquire inventory belong inside COGS, whereas outbound parcel shipping to end customers is generally recorded under fulfillment or selling expenses.
How does Ending Inventory affect Cost of Goods Sold?
Because Ending Inventory is subtracted from Total Goods Available for Sale, a higher ending stock balance reduces reported COGS and raises period Gross Profit.
What goes into Total Goods Available for Sale?
It equals Beginning Inventory carried over from the prior period plus Inventory Purchases and Direct Labor & Freight-In incurred during the period.
Get free iframe embed code with customizable light and dark theme support.
Related Calculators in Financial Calculators
AGI Calculator (Adjusted Gross Income)
Calculate Adjusted Gross Income (AGI) from all income sources minus HSA, IRA, student loan, and SE adjustments.
Amortization Calculator
Calculate complete loan amortization schedules, monthly installments, extra prepayment accelerations, and payoff milestones.
Annuity Calculator
Calculate future wealth accumulation, present discounted value, or scheduled fixed annuity payout withdrawals.
Annuity Payout Calculator
Calculate fixed length or fixed payment annuity payout schedules, withdrawal amounts, and total interest returns.