WooCommerce Profit & Margin Calculator
Calculate gross product profit after COGS (Revenue − COGS) and operating profit after logged expenses—with transparent formulas inside WordPress.
Gross Profit (Core — Free)
Gross Profit = Order Revenue (excluding refunds) minus Product Purchase Cost (COGS × Quantity).
Profit After Operating Expenses (Premium)
Subtracts logged operating expenses (bizmart_expenses: marketing, shipping, rent, fees) from Gross Profit for the selected date range.
Gross Margin % vs. Markup %
Gross Margin % = (Gross Profit ÷ Revenue) × 100. Markup % = (Gross Profit ÷ COGS) × 100.
Calculate Gross Profit (After COGS) & Order Profit (After Direct Costs)
Enter a product’s selling price and purchase cost (COGS) to see Gross Profit (what Bizmart Core calculates per order), plus optional shipping, gateway fees, and allocated ad/operating cost per order.
Exact Profit Formulas & Cost Scope (What Is Included vs. Excluded)
Bizmart separates product-level gross profit from period-level operating expenses so your numbers are never ambiguous:
- Included in Core: Order total (excluding refunds) minus frozen item cost (_bizmart_item_cost) or product purchase cost.
- Included in Premium: Deducts all expenses logged in bizmart_expenses within the selected date range.
- Excluded unless logged: Corporate income taxes, off-platform payroll, or payment gateway fees not recorded as expenses in Bizmart.
Worked Example: Single Order vs. Monthly P&L (Sample Data)
Sample DataQuick Installation & Setup Walkthrough
In WordPress Admin, go to Plugins → Add New → Upload Plugin, select bizmart-cost-of-goods.zip, and activate.
Open Bizmart → Products to enter purchase prices inline or import costs via CSV (existing _alg_wc_cog_cost meta is detected automatically).
Open Bizmart → Dashboard to inspect Gross Revenue, Gross Profit (Revenue − COGS), Gross Margin %, and Stock Valuation.
Upgrade to Premium ($23.99/yr) to enable WAC cost averaging, FIFO supplier invoice payments, operating expenses, and the Cashflow Calendar.
Frequently Asked Questions
What is the difference between Gross Profit in Core and Profit After Expenses in Premium?
Bizmart Core calculates Gross Profit (Order Revenue minus Product Purchase Cost / COGS). Bizmart Premium subtracts your logged operating expenses (marketing, logistics, rent, software) from Gross Profit for the selected period.
How are WooCommerce refunds handled in profit calculations?
Bizmart excludes WC_Order_Refund records from earned revenue and tracks cancelled/failed orders separately in lost-order metrics.
Does this calculator compute full corporate tax net profit?
No. Both the interactive calculator above and Bizmart Premium compute gross profit after COGS and operating profit after the expenses you log. Income taxes and unlogged off-platform costs are not deducted.