WooCommerce COGS Tracking: How to Track Cost of Goods and See Real Profit
Most WooCommerce store owners know their revenue number. Far fewer know their actual profit. And the gap between the two — which is almost entirely explained by WooCommerce COGS (cost of goods sold) — is where businesses quietly bleed money. You can have a record month in revenue and still be losing money, if your product costs aren't being tracked against the sales they generate.
This guide walks through how to track cost of goods in WooCommerce, why it matters for understanding real margin, and how the WPBundle Cash Flow Dashboard makes expense tracking practical without requiring a full accounting setup.
What Is COGS and Why Does It Matter for WooCommerce Stores?
WooCommerce cost of goods refers to the direct costs associated with the products you sell. If you sell physical products, this typically includes:
- The wholesale price you paid for the product
- Manufacturing or production costs (if you make the product yourself)
- Packaging materials directly associated with the product
- Inbound shipping from your supplier (cost to get goods to you)
For digital products, COGS might include content production costs, software licensing per download, or royalties. For service-adjacent stores, it might include the materials cost of delivering the service component.
COGS is not the same as your operating expenses. Operating expenses are things like advertising, software subscriptions, and contractor fees — costs that support the business broadly rather than being tied directly to a specific product sale. Both reduce your profit, but they're tracked and analysed differently.
The Margin Problem
Your gross margin is revenue minus COGS, expressed as a percentage of revenue. A store selling products at a 60% gross margin has $0.60 of every sale left to cover operating expenses and generate profit. A store with a 20% gross margin has $0.20. The difference is enormous — and it determines whether your business model is viable at any given scale.
Many WooCommerce store owners set their prices based on intuition or competitor benchmarks without properly calculating their margin. They discover the real number when they try to run paid ads, scale inventory, or hire someone — and suddenly the math doesn't work. Tracking WooCommerce product cost consistently prevents this surprise.
Why WooCommerce Doesn't Track COGS Natively
This is one of the most common complaints from serious WooCommerce store operators. WooCommerce is a sales platform — it tracks orders, products, customers, and payments. It does not track what those products cost you to acquire or produce.
The result is that your WooCommerce dashboard shows you revenue, not profit. It tells you $50,000 in orders were placed this month — but it doesn't tell you that $28,000 of that was product cost, leaving you with $22,000 gross profit before any other expenses.
To get to a real profit number, you need to layer in your cost data. There are a few ways to do this:
Option 1: Per-Product Cost Tracking with a Plugin
Some WooCommerce extensions let you enter a "cost" field for each product, then calculate margin and profit on a per-order or aggregate basis. This is the most granular approach — you see exact profitability by product — but it requires manually maintaining cost data for your entire catalogue, which is a real overhead for stores with large SKU counts.
Option 2: Category-Level Expense Tracking
A simpler and more practical approach for most stores is to track COGS at the category level — enter your total cost of goods for a period as an expense line, categorised as "Cost of Goods Sold." This is less granular but much lower maintenance, and it's sufficient for understanding your overall gross margin.
Option 3: Periodic Reconciliation
Some store owners do a monthly or quarterly COGS calculation: look at what sold, apply the known average margin, and enter the resulting cost figure. This works especially well for stores with consistent product mix where margins don't vary much.
How the WPBundle Cash Flow Dashboard Handles COGS Tracking
The WPBundle Cash Flow Dashboard is a free WooCommerce plugin that includes a full expense tracking system. Here's how it handles WooCommerce COGS tracking in practice:
Expense CRUD Table
The dashboard includes an expense entry table where you can log costs by category and period. Create a "Cost of Goods Sold" category and enter your COGS figure for each quarter. Whether you calculate it from supplier invoices, from your average margin rate, or from a periodic reconciliation — you enter the number and the dashboard does the rest.
Net Cash Calculation
Once your COGS is entered alongside other operating expenses, the Net Cash KPI card shows you revenue minus all expenses. That's your real operating profit — not the inflated revenue number that makes the month look better than it is.
Revenue vs Expenses Bar Chart
The quarterly revenue vs expenses chart shows you, visually, how much of your revenue is being consumed by costs. If your bars are nearly equal height, your margin is thin and something needs to change — either pricing, supplier costs, or operating efficiency. This visual makes it immediately obvious when a quarter's financials are out of whack.
Quarterly Cash Flow Statement
The quarterly statement breaks down each period with revenue, total expenses, and net cash. This is the report that makes your COGS visible in context — not as an abstract number, but as part of a clear picture of quarterly financial health.
How to Calculate Your WooCommerce COGS
If you haven't been tracking COGS formally, here's how to start:
For Physical Product Stores
The simplest approach is to use your supplier invoices. Total up what you paid your suppliers in a quarter. That's a reasonable approximation of COGS for the period — it won't exactly match the revenue-recognised COGS if your inventory levels changed significantly, but for most small stores it's accurate enough.
If you want to be more precise:
COGS = Beginning Inventory + Purchases − Ending Inventory
This is the accounting-standard formula. It accounts for inventory that was purchased but not yet sold, and inventory sold that was purchased in a prior period. For quarterly tracking, beginning inventory is what you had at the start of Q1, purchases is what you bought during Q1, and ending inventory is what you have at the end of Q1.
For Digital Product Stores
COGS for digital products might include content creation costs, software licensing, or platform fees that are directly tied to product delivery. If your digital products have no per-unit cost (pure software), your COGS is essentially zero and your gross margin is 100% — operating expenses are what eat into profit.
For Dropshipping Stores
Dropshipping makes COGS tracking very clean. You know exactly what you paid your supplier for each unit — that's your COGS. The challenge is that your margin is often thin (dropshipping margins are typically 15–30%), so tracking COGS carefully is essential to understand whether any given product is actually worth selling.
WooCommerce Product Cost Tracking: Paid Options
For stores that need per-product cost tracking rather than category-level expense entry, two paid solutions stand out:
BeProfit ($25–$50/mo)
BeProfit is one of the most capable profit analytics platforms for WooCommerce. It allows you to set cost-of-goods per product and integrates with ad platforms and payment processors to calculate true per-order profit margin. If you need to know which specific products are profitable and which are margin killers, BeProfit is the tool to use. The price is justified for stores with significant volume and complex product catalogues.
YITH WooCommerce Product Add-Ons (Paid)
YITH's product management tools include cost-tracking features that integrate with their broader plugin suite. Useful if you're already in the YITH ecosystem. Not the same category as BeProfit, but worth knowing if you're building out WooCommerce functionality on YITH plugins.
Setting Up WooCommerce COGS Tracking: A Practical Starting Point
Here's a minimal viable COGS tracking setup you can implement this week:
- Install the WPBundle Cash Flow Dashboard — free, works inside WordPress
- Create a "Cost of Goods Sold" expense category in the dashboard
- Calculate your COGS for the current quarter — total supplier invoices or inventory purchases
- Enter that figure as a quarterly expense in the dashboard
- Do the same for your other major expense categories (advertising, hosting, fees)
- Review the Net Cash KPI card — this is your real operating profit
This takes less than an hour to set up and gives you an immediate picture of your true margin. Repeat the expense entry each quarter and you'll build a cumulative financial record that's invaluable for understanding your business trends.
Why Real Margin Insight Changes Your Decisions
When you know your real margin — after COGS — you make fundamentally different decisions:
- Pricing: You can see which products are underpriced relative to their cost and adjust accordingly
- Product mix: You can identify which products have the best margin and prioritise them in marketing
- Supplier negotiation: You can quantify the impact of a 5% cost reduction and make the business case for renegotiating
- Scaling decisions: You know how much you earn per dollar of revenue, so you can calculate when additional growth becomes profitable vs when it just creates more costs
- Channel ROI: You can evaluate paid ad ROAS against true margin, not just revenue
Revenue is a vanity metric without the cost side of the equation. WooCommerce COGS tracking is what turns your revenue data into real business intelligence.
Start Tracking Your WooCommerce Cost of Goods Today
You don't need a QuickBooks subscription or a dedicated bookkeeper to understand your COGS. You need a system for capturing your cost data and putting it next to your revenue data in a way that's easy to review and act on.
The WPBundle Cash Flow Dashboard gives you that system for free. Install it, log your COGS as a quarterly expense alongside your other costs, and you'll have a clear view of your true gross margin — not the inflated revenue figure that makes businesses look healthier than they are.
Real profit insight starts with knowing what your products actually cost. Everything else — pricing strategy, scaling decisions, marketing ROI — flows from there.
Download the WPBundle Cash Flow Dashboard free from wp.org and start tracking your WooCommerce COGS today.
Keep reading
Related guides you might find useful
How to Add Expense Tracking to WooCommerce (Free Plugin)
WooCommerce only tracks revenue — not expenses. Learn how to add expense tracking to WooCommerce for free with the WPBundle Cash Flow Dashboard plugin and see your real store profit.
Read guideCash FlowWooCommerce Cash Flow Forecast: How to Project Your Store's Revenue
Most WooCommerce store owners have no idea what next quarter looks like. Learn how to build a WooCommerce cash flow forecast using your existing order history and the free WPBundle Cash Flow Dashboard plugin.
Read guideCash FlowHow to Calculate Net Profit in WooCommerce (Step-by-Step Guide)
Revenue isn't profit. Learn how to calculate net profit in WooCommerce by accounting for COGS, expenses, refunds, and fees — and how the WPBundle Cash Flow Dashboard makes it automatic.
Read guideLevel up your WooCommerce store
Join the WPBundle waitlist and get beta access to our plugin suite completely free.
Join the Waitlist