COGS Calculator
Test a different scenario
Change any scenario value below. Your original calculation stays unchanged.
Scenario calculations use the same formula and v2.5 validation rules as the main calculator. No scenario values are sent to Borkish.
Calculations and What-If scenarios run in your browser. Borkish does not require you to submit these values to calculate the result.
What the COGS Calculator measures
COGS is required for gross profit, margin and inventory analysis. Measure ecommerce performance, order economics, marketplace costs and store growth without spreadsheets.
The result becomes more useful when every input follows the same definition and reporting period. That keeps comparisons between campaigns, products, customers and time periods meaningful.
When to use this calculator
- Use the COGS Calculator to review store economics using order, revenue and customer data.
- Compare product or marketplace performance using the same reporting period.
- Model how changes in conversion, fees or order value affect the business.
Formula
Use one currency consistently for every monetary input. The calculator changes the display symbol only; it does not perform foreign-exchange conversion.
How to use this calculator
- Opening InventoryUse the value from the same reporting period or scenario as your other inputs.
- Inventory PurchasesUse the value from the same reporting period or scenario as your other inputs.
- Closing InventoryUse the value from the same reporting period or scenario as your other inputs.
- Complete the required inputsThe result updates automatically as the values become valid.
- Compare the resultUse a previous period, target or relevant internal benchmark before making a decision.
Worked example
Using the demonstration values — Opening Inventory = 20000, Inventory Purchases = 80000, Closing Inventory = 15000 — the calculator returns $85,000.00. The example shows how the formula behaves; replace the demonstration data with your own before using the result for planning.
How to interpret the result
COGS is required for gross profit, margin and inventory analysis. Use these calculators for store planning, product economics, checkout performance and marketplace decision-making.
Check the definition of Opening Inventory, Inventory Purchases, Closing Inventory, the attribution or accounting rules behind those inputs, and any important costs or outcomes that the formula does not include.
Common mistakes to avoid
- Using Opening Inventory and Inventory Purchases from different reporting periods or definitions.
- Ignoring marketplace, payment or fulfilment costs when they materially affect the result.
- Using order and customer counts from different periods.
Frequently asked questions
What does this calculator do?
Estimate cost of goods sold using beginning inventory, purchases and ending inventory.
Where should I get the input values?
Use your own advertising platform, ecommerce system, accounting report, CRM, analytics platform or forecast — whichever source is authoritative for the metric. Keep all inputs on the same basis and date range.
Is there one good result I should target?
Usually not. A useful target depends on your margins, acquisition model, operating costs, channel, market and business goals. Your own historical performance is often a better starting benchmark than a generic number.
Can I use this for forecasting?
Yes. Enter forecast values to model a scenario, but treat the output as an estimate based on those assumptions rather than a prediction of future performance.
Can I use a different currency?
Yes. Select a display currency and keep every monetary input in that same currency. The calculator does not convert exchange rates.
What to calculate next
COGS is required for gross profit, margin and inventory analysis. A single metric rarely explains the whole decision, so compare this result with the related cost, conversion, margin or growth metrics below before acting on it.
Estimate the average number of days inventory remains before being sold.
Calculate how many times average inventory is sold through during a period.
Calculate total landed cost per unit including product, freight, duties and other entered costs.
Keep reporting periods and metric definitions consistent when moving between calculators. That makes the comparison more useful than treating each result as a standalone benchmark.