Ecommerce

COGS Calculator

Estimate cost of goods sold using beginning inventory, purchases and ending inventory.

Estimate cost of goods sold using beginning inventory, purchases and ending inventory. Use it to turn your own business data into a clear result without building a spreadsheet.

Free business calculator

COGS Calculator

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 is most useful when every input uses the same definitions and reporting period. This keeps comparisons between campaigns, products, customers or 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

COGS = Opening Inventory + Purchases − Closing Inventory

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

  1. Opening Inventory — enter the value from the same report, forecast or business period as the other inputs.
  2. Inventory Purchases — enter the value from the same report, forecast or business period as the other inputs.
  3. Closing Inventory — enter the value from the same report, forecast or business period as the other inputs.
  4. Select Calculate. The result updates immediately.
  5. Compare the output with 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. This example exists only to show how the formula behaves. Replace every demonstration value with your own data before using the result for planning or analysis.

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.

A stronger or weaker result does not always mean the underlying business is healthier or worse. Check the definition of Opening Inventory, Inventory Purchases, Closing Inventory, the attribution or accounting rules behind those inputs, and any 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 system 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 in the calculator and keep every monetary input in that same currency. The calculator does not convert exchange rates.

For details about formulas, rounding and limitations, see our Calculator Methodology.

Scroll to Top