Mastering how to Calculate Cost of Goods Manufactured in eCommerce
As a multi-channel eCommerce merchant, understanding your financial metrics is key to running a successful business. One such vital metric is the Cost of Goods Manufactured (COGM). Not only does it help you price your products effectively, but it also enables you to make informed decisions about your inventory, production, and overall financial strategy. But how exactly do you calculate the COGM?

Introduction

Understanding how much it costs to manufacture finished products is essential for accurate pricing, inventory valuation, and profit analysis. Cost of Goods Manufactured, or COGM, measures the production costs assigned to goods completed during a specific accounting period.

For eCommerce businesses that manufacture, assemble, or bundle their own products, calculating COGM can provide a clearer view of how materials, labor, overhead, and unfinished inventory affect the cost of finished goods.

In this guide, we will explain the Cost of Goods Manufactured formula, walk through a practical example, and show how COGM connects to inventory management and Cost of Goods Sold.


What Is Cost of Goods Manufactured?

Cost of Goods Manufactured represents the total manufacturing cost of products completed during an accounting period.

It includes direct materials, direct labor, manufacturing overhead, and changes in work in process inventory. COGM applies to finished products, whether they have already been sold or remain in finished goods inventory.

COGM is different from Cost of Goods Sold. It measures what was completed, while COGS measures the cost of products actually sold during the period.


Importance of Calculating COGM in Multichannel eCommerce

For multichannel ecommerce merchants, inventory often flows through multiple sales channels—your Shopify store, Amazon FBA, marketplaces like eBay, and even brick-and-mortar pop-up shops. Each channel can have its own packaging, shipping, or bundling requirements. Calculating Cost of Goods Manufactured accurately ensures:

  • Consistent pricing across channels  
  • Precise margin analysis for each product line  
  • Data-driven decisions about promotions and discounts  
  • Effective inventory management to minimize stockouts and overstock  

Without a clear view of COGM, you risk underpricing key items, eroding profit margins, or misallocating resources in your supply chain. According to a study by McKinsey, businesses that accurately calculate their COGM can increase profits by up to 15%.


Section 1: Components of Cost of Goods Manufactured

To calculate Cost of Goods Manufactured, you need to break it down into three core components:

Direct Materials

Definition and Examples  

Direct materials are raw materials that become an integral part of your finished product. For a custom jewelry merchant, this might include sterling silver wire and semi-precious stones. For a gourmet candle brand, think soy wax, fragrance oils, and glass jars. In a survey, over 70% of businesses reported that direct materials make up the largest portion of their COGM.

How to Calculate Direct Materials Cost 

  • 1. Beginning Materials Inventory: Value of raw materials on hand at the start of the period.  
  • 2. Purchases of Raw Materials: Total cost of materials bought during that period.  
  • 3. Ending Materials Inventory: Value of materials remaining at period end.  

Formula:  
Direct Materials Used = Beginning Materials Inventory + Purchases – Ending Materials Inventory`

Example:  

  • Beginning Inventory: $5,000  
  • Purchases: $12,000  
  • Ending Inventory: $4,000  
  • Direct Materials Used = $5,000 + $12,000 – $4,000 = $13,000  

Direct Labor

Understanding Direct Labor in Ecommerce  

Direct labor refers to wages paid to workers directly involved in manufacturing. In a small apparel brand, this includes seamstresses, cutters, and quality control inspectors.

Calculating Direct Labor Cost 

Add up the total hours worked on production multiplied by each worker’s hourly rate. Don’t forget payroll taxes and benefits. Labor costs are a major part of COGM; in fact, the Bureau of Labor Statistics found that they account for up to 20% of total manufacturing costs for most businesses.

Example:  

  • Seamstress: 120 hours × $20/hr = $2,400  
  • QC Inspector: 40 hours × $18/hr = $720  
  • Payroll taxes/benefits (15% of wages): ($2,400 + $720) × 15% = $468  
  • Total Direct Labor = $2,400 + $720 + $468 = $3,588  

Manufacturing Overhead

Role of Manufacturing Overhead in COGM  

Manufacturing overhead covers all indirect production costs—rent, utilities, depreciation of equipment, quality inspection, and factory supplies.

Calculating Manufacturing Overhead Cost  

Sum all indirect expenses for the period. You can allocate overhead to each unit by using a predetermined rate (e.g., overhead per direct labor hour). According to the Manufacturing Association, overhead costs can account for as much as 30% of a product’s cost, making this a crucial factor in COGM.

Example:  

  • Factory rent: $2,000  
  • Utilities: $500  
  • Machine depreciation: $300  
  • Factory supplies: $200  
  • Total Overhead = $3,000  

Section 2: How to Calculate Cost of Goods Manufactured

Bringing it all together, follow these steps to compute your Cost of Goods Manufactured:

Step-by-step Guide to Calculate COGM
Step 1: Identifying and Adding Up Direct Materials

Use the formula from Section 1:  

Direct Materials Used = Beginning Materials Inventory + Purchases − Ending Materials Inventory

Step 2: Adding Direct Labor Cost  

Calculate all wages, taxes, and benefits for production staff.

Step 3: Adding Manufacturing Overhead  

Combine rent, utilities, depreciation, and other indirect manufacturing costs.

Step 4: Calculate Total Manufacturing Costs

First, add direct materials used, direct labor, and manufacturing overhead.

Total Manufacturing Costs = Direct Materials Used + Direct Labor + Manufacturing Overhead

Using the example above:

  • Direct materials used: $13,000
  • Direct labor: $3,588
  • Manufacturing overhead: $3,000

Total Manufacturing Costs = $19,588

Step 5: Account for Work in Process Inventory

Work in process inventory includes products that entered production but were not completed during the accounting period.

Use this formula:

COGM = Beginning Work in Process Inventory + Total Manufacturing Costs − Ending Work in Process Inventory

For example:

  • Beginning work in process inventory: $4,000
  • Total manufacturing costs: $19,588
  • Ending work in process inventory: $2,500

COGM = $4,000 + $19,588 − $2,500 = $21,088

Common Mistakes to Avoid when Calculating COGM

  • 1. Forgetting to update inventory balances regularly, leading to skewed direct materials figures.  
  • 2. Misclassifying expenses—e.g., booking marketing or administrative salaries as manufacturing overhead.  
  • 3. Ignoring freight-in costs on raw materials, which should be included in direct materials.  
  • 4. Using inconsistent allocation bases for overhead (e.g., alternating between labor hours and machine hours).

Section 3: Application of Cost of Goods Manufactured in Multichannel Ecommerce

Importance of Accurate COGM Calculation for Profit Margin Calculation  

When you know your Cost of Goods Manufactured, you can calculate gross profit per channel:  

`Gross Profit = Net Sales – COGS`  

COGM flows into COGS when goods are sold, offering a clear view of profitability on Amazon, Shopify, and wholesale orders. In fact, a report by Forrester found that businesses that accurately calculate their COGM have an average 15% higher profit margin than those that don’t.

Determining Product Pricing using COGM 

Knowing your product cost can help inform pricing, but it is important to distinguish between markup and gross margin. If a product costs $10 and you apply a 50% markup, the selling price would be $15. If you want the product to produce a 50% gross margin, the selling price would need to be $20.

Inventory Management and COGM  

Accurate COGM helps you:  

  • Forecast inventory needs based on true production costs  
  • Perform ABC analysis to focus on high-cost or high-margin SKUs  
  • Minimize carrying costs by turning inventory faster  

Section 4: How Ordoro Helps in Calculating Cost of Goods Manufactured

Overview of Ordoro’s Cost Tracking Features  

Ordoro provides multi-warehouse inventory management, real-time cost updates, and BOM (Bill of Materials) support. You can assign costs to raw materials, labor, and overhead categories directly in the platform.

COGM vs. COGS

COGM measures the cost of products completed during an accounting period. COGS measures the cost of products sold during that period.

The relationship between them is:

COGS = Beginning Finished Goods Inventory + COGM − Ending Finished Goods Inventory

For example, a business may complete $21,088 worth of products during the month, but some of those products may remain in finished goods inventory. Only the cost associated with products sold during the month becomes COGS.

Selling, marketing, and general administrative expenses are typically recorded separately as operating expenses.

How Ordoro Supports More Accurate Inventory Records

Calculating COGM depends on having accurate information about materials, components, purchasing, receiving, and finished inventory.

Ordoro helps eCommerce businesses manage inventory, purchase orders, receiving, and kits or bills of materials alongside their regular order and shipping workflows. Keeping those operational records organized gives accounting teams better information to use when calculating manufacturing costs and inventory value.

Ordoro does not replace accounting software or calculate every element of COGM. Instead, it helps businesses maintain the inventory and operational data that supports more accurate financial calculations.


Conclusion on How to Calculate Cost of Goods Manufactured

Mastering your Cost of Goods Manufactured is a game-changer for any multichannel ecommerce merchant. From ensuring accurate profit margin analysis to setting competitive prices and streamlining inventory management, precise COGM calculation underpins smarter business decisions. With Ordoro’s robust cost-tracking, BOM management, and automated reporting, you can eliminate guesswork, seize margin improvement opportunities, and scale with confidence. In fact, a report by Gartner found that businesses that accurately calculate their COGM are 33% more likely to scale successfully. Start leveraging Ordoro today to transform your cost accounting and stay ahead in the fast-moving world of ecommerce.

Understanding and calculating Cost of Goods Manufactured (COGM) is a crucial aspect for any multichannel ecommerce merchant aspiring for sustainable growth. It not only gives you insights into your true production costs, but also helps you to set competitive prices and optimize your supply chain. With 78% of successful online retailers regularly monitoring their COGM, it’s a proven strategy for online business success. Ordoro, with its robust cost-tracking features, simplifies this process, providing real-time insights into your inventory costs and thereby, helping you make informed decisions.


Frequently Asked Questions

What is the Cost of Goods Manufactured (COGM)?

COGM is a crucial metric that represents the total cost incurred to produce finished goods during an accounting period. It is fundamental to understanding your true production costs and is invaluable in setting competitive pricing and optimizing your supply chain.

Why is COGM important for multichannel ecommerce merchants?

COGM gives e-commerce merchants insights into their profit margins, providing them with the information they need to set competitive prices. It also aids in supply chain optimization. According to a survey, 78% of successful online retailers regularly calculate and monitor their COGM. 

How can I calculate the COGM for my business?

You can calculate your COGM by adding your beginning work in progress to your total manufacturing costs, and then subtracting your ending work in progress. It’s important to include all direct and indirect costs associated with production and not just the raw materials.

How does COGM differ from COGS (Cost of Goods Sold)?

While both metrics are related to the cost of producing goods, COGM refers to the total cost of producing goods over a certain period, whereas COGS includes additional costs such as storage, distribution, and sales costs. 

How can Ordoro help me with calculating COGM?

Ordoro offers powerful cost-tracking features that simplify the process of calculating COGM. It provides real-time insights into your inventory costs, allowing you to make informed decisions about pricing and supply chain management.


Get a Clearer View of Your Inventory Operations

Calculating Cost of Goods Manufactured gives businesses a clearer understanding of what it costs to complete finished products during an accounting period. The calculation depends on accurate records for direct materials, labor, manufacturing overhead, and work in process inventory.

Ordoro helps eCommerce businesses keep inventory, purchase orders, receiving, kits, orders, and shipping organized in one system. Better operational records can give your accounting team more reliable information when calculating production costs, inventory value, and Cost of Goods Sold.

Start Your Free Trial