Bizmart
Gross Profit in Core (Free) · Operating Expenses in Premium

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.

Interactive Calculator — Instant Client-Side Formula

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.

Step 1 — Product Revenue & COGS (Bizmart Core)
Step 2 — Direct Order & Operating Expenses (Bizmart Premium)
Step 1 Result — Gross Profit After COGS (Core)
Gross Profit (Selling Price − COGS) $31.00
Gross Margin % / Markup % on Cost 63.3% margin / 172.2% markup
Shipping + Payment Gateway Fee -$6.22
Allocated Ad / Operating Expense -$5.00
Step 2 Result — Profit After Entered Expenses
Order Profit After Expenses $19.78
Operating Profit Margin % 40.4%
Formula Note: Gross Profit subtracts only product COGS. Order Profit After Expenses subtracts the shipping, gateway fee, and operating expense entered above. It does not deduct corporate income taxes or unentered store-wide overhead.

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 Data
Order Revenue (Excl. WC_Order_Refund) 2,000 DZD ($20.00)
Product Purchase Cost (COGS) − 1,200 DZD ($12.00)
Gross Profit (Bizmart Core) 800 DZD ($8.00) · 40.0% Gross Margin
Logged Operating Expenses (Bizmart Premium) − 200 DZD ($2.00) [e.g. shipping & ad spend]
Profit After Operating Expenses (Premium) 600 DZD ($6.00) · 30.0% Operating Margin

Quick Installation & Setup Walkthrough

STEP 01
Upload & Activate

In WordPress Admin, go to Plugins → Add New → Upload Plugin, select bizmart-cost-of-goods.zip, and activate.

STEP 02
Set Purchase Costs

Open Bizmart → Products to enter purchase prices inline or import costs via CSV (existing _alg_wc_cog_cost meta is detected automatically).

STEP 03
Review Gross Profit

Open Bizmart → Dashboard to inspect Gross Revenue, Gross Profit (Revenue − COGS), Gross Margin %, and Stock Valuation.

STEP 04
Add Suppliers & Expenses

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.

Feature Availability: Core (Free) + Premium Expense P&L
Backed by our 14-day troubleshooting-first refund policy.