Cost of Goods Sold Calculator
Goods Available
$55,000.00
Cost of Goods Sold
$43,000.00
Ending Inventory
$12,000.00
COGS Ratio
78.18%
Inputs
Goods Available
$55,000.00
Beginning
$15,000.00
+ Purchases
$40,000.00
− Ending
$12,000.00
How Cost of Goods Sold Calculator Works?
Beginning Inventory ($)
This is the total value of stock you had at the beginning of the period.
Where to Find It
Look at the closing inventory number from your last accounting period on your balance sheet.
Purchases ($)
Includes the total amount you spent on raw materials or finished products during the period.
Where to Find It
Use supplier receipts, purchase orders, plus any freight-in and import costs.
Ending Inventory ($)
The value of inventory that’s still on hand at the end of the period.
Where to Find It
Based on your most recent stocktake or POS/inventory system report.
The tool applies the classic cost of goods sold formula used by U.S. businesses:
COGS = Beginning Inventory + Purchases − Ending Inventory
Your result appears instantly- plus a quick visual comparing COGS to your revenue so you can watch for any margin pressure.
Why COGS Matter?
Tax deductions
COGS reduces your taxable income. Accurately reporting it can lower your business’s tax bill.
Real profitability
Revenue minus COGS gives you gross profit. If margins are narrowing, this is where it shows up.
Smarter pricing
If COGS rises and your prices don’t, you’re losing margin. Use COGS data to adjust prices proactively.
What Counts in COGS
- Sales and marketing expenses
- Office rent and utilities
- Research & development
- Delivery to customers (freight-out)
- Raw materials and ingredients
- Direct labor linked to production
- Freight-in and customs fees
- Manufacturing overhead (if using absorption costing)
COGS = Beginning Inventory + Purchases − Ending Inventory
Sample Calculation
Example: A boutique candle manufacturer starts the month with $10,000 worth of raw materials like wax and wicks. During the month, they purchase an additional $25,000 in supplies. By month-end, they have $8,000 worth of inventory remaining.
COGS = 10,000 + 25,000 − 8,000 = $27,000
If total sales were $60,000 for the month, that leaves a gross profit of $33,000 and a gross margin of 55%.
Beginning Inv.
$10,000
Purchases
$25,000
COGS
$27,000
Gross Margin
55%
How Bookkeeping with Orbit Accountants Helps?
Step 1
Compare to budget
Are your input costs rising faster than expected?
Step 2
Benchmark the industry
Search average COGS for your niche to see how you stack up.
Step 3
Revisit reorder levels
If your ending inventory is too high, you may be over-ordering.
Step 4
Price better
Use COGS data to fine-tune pricing and protect margins.
Five Ways to Lower COGS
Negotiate vendor deals; 2% savings can mean big gains.
Buy in bulk where it makes sense to cut unit costs
Monitor waste and shrinkage closely
Automate inventory tracking to reduce errors
Review product pricing each quarter to stay ahead of cost increases
Frequently Asked Questions
The cost of goods sold (COGS) ratio measures what percentage of a company’s revenue goes toward producing its goods. It’s a key metric for understanding profit and managing costs.
It’s listed directly under revenue. Subtract it from revenue to get gross profit.
No. Operating (or SG&A) expenses come after gross profit and include admin, rent, marketing, and other indirect costs.
Use work-in-process valuations for unfinished goods, and plug those into the same formula: Beginning Inventory + Purchases - Ending Inventory.
In the U.S., LIFO is allowed under GAAP, though FIFO and weighted average are more common. Stick with one unless you have a solid reason to switch.
Then your COGS calculation will also be off. Use regular physical counts or trusted inventory software for accuracy.
At least quarterly; or monthly if you deal with inventory regularly. It helps you catch margin slippage early.
No. Shipping costs to customers are selling expenses, not part of COGS. Only inbound freight used to acquire inventory qualifies.
Not exactly. Service-based businesses track the “cost of services” like wages and subcontractor fees. This calculator still works-you’d enter direct labor and service inputs.
Yes, indirectly. If you’re spending heavily on inventory, it can tie up working capital. Keeping an eye on COGS helps manage cash.
You can renegotiate supplier contracts, improve production efficiency, or find lower-cost alternatives that don’t sacrifice quality.





