Cost of Goods Sold (COGS): Definition & How to Calculate It

What Is Cost of Goods Sold (COGS)?
But for eCommerce sellers, especially those using dropshipping or third-party fulfillment, this formula simplifies into:
To calculate the cost of goods sold accurately, you need to account for every direct cost that goes into delivering your product to the customer. Here's a practical step-by-step process tailored for eCommerce stores:
1. Start with the cost per unit
This is your base product cost, what you pay your supplier or manufacturer per item. If you purchase in bulk, divide the total cost by the number of units.
2. Add fulfillment and packaging
Include any warehouse pick-and-pack fees, packaging materials (boxes, tape, inserts), and branding costs like custom labels or thank-you cards. These often vary depending on how you fulfill orders (in-house, 3PL, or dropshipping).
3. Include shipping to customers or warehouses
This covers the cost to either ship from your supplier to your fulfillment center or directly to your customers. If you offer free shipping, it should still be included in your COGS since you're covering the cost. For global sellers, you need to account for both international freight and local last-mile delivery fees.
4. Don’t forget transaction-level costs
These are often overlooked. Include customs fees, taxes, currency conversion fees, per-order transaction costs, or processing fees if applicable. For print-on-demand or dropshipping models, these are especially important to track accurately.
5. Track COGS in Real Time - Not at Month-End
Cost of Goods Sold Example
Tracy is a senior content executive at TrueProfit – specializing in helping eCommerce businesses scale profitably through content. She has over 4 years of experience in eCommerce and digital marketing editorial writing. She develops high-impact content that helps thousands of Shopify merchants make data-driven, profit-focused decisions.
The Newsletter for Dropshippers
Who Hate Losing Money
Weekly tactics from dropshippers & eCom operators who've cracked profitability in an era where thin margins kill most stores.
Your next wise move starts with seeing your True Net Profit now.
Get instant net profit insights into your numbers to make every choice count with TrueProfit!









