bBorkishBUSINESS TOOLS
All calculatorsCategoriesMethodologyAboutContact
Ecommerce

COGS Calculator

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

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 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

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 InventoryUse the value from the same reporting period or scenario as your other inputs.
  2. Inventory PurchasesUse the value from the same reporting period or scenario as your other inputs.
  3. Closing InventoryUse the value from the same reporting period or scenario as your other inputs.
  4. Complete the required inputsThe result updates automatically as the values become valid.
  5. 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.

For formulas, rounding and limitations, see our Calculator Methodology.
Decision path

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.

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.

Scroll to Top