Skip to content

Black Friday 50% off your first year on all premium plugins and the Suite.

See the deals

Profit with tax and shipping?

How to work out true profit per WooCommerce order: what to do with VAT or sales tax, shipping charged and shipping paid, discounts and fees.

3 min read · Updated 14 November 2026

Ask three tools for the profit on the same WooCommerce order and you can get three different answers. The difference is nearly always tax and shipping. Here is how to decide what belongs in the number, with a worked example you can repeat in a spreadsheet.

The short answer

  • Tax: leave it out. VAT, GST or sales tax you collect is owed to the tax office. It is never your profit.
  • Shipping charged: count it as revenue, then subtract what the carrier actually charges you. Only the difference is profit (or loss).
  • Discounts: already out. WooCommerce’s line totals are after coupons.
  • Payment fees and packaging: subtract them if you want net profit rather than gross margin.

A formula you can use

Revenue      = order total − tax − refunds
Costs        = Σ(unit cost × quantity) + carrier cost + payment fee + packaging
Net profit   = Revenue − Costs
Margin (%)   = Net profit ÷ Revenue × 100

Worked example

A UK shop sells 2 mugs at £12.50 plus VAT each, charges £4.00 plus VAT shipping, and pays the courier £3.20. The card processor charges 1.5% + 20p. Each mug costs £6.00.

  • Order total: £25.00 + £4.00 + £5.80 VAT = £34.80.
  • Revenue without tax: £34.80 − £5.80 = £29.00.
  • Product cost: 2 × £6.00 = £12.00.
  • Courier: £3.20. Card fee: 1.5% of £34.80 + £0.20 = £0.72.
  • Net profit: £29.00 − £12.00 − £3.20 − £0.72 = £13.08. Margin: 45.1%.

If you simply took the order total and subtracted product cost, you would get £22.80, which overstates profit by 74%.

Where to find each number in WooCommerce

  • Tax and shipping charged — on the edit order screen, under the line items, or in Analytics › Revenue (which has Taxes and Shipping columns, and Net sales that already excludes them).
  • Carrier cost — WooCommerce does not know it. Take it from your courier invoice or label software, or use an average per order.
  • Payment fee — from Stripe, PayPal or your processor’s dashboard. Some gateway plugins save it on the order.
  • Product cost — from WooCommerce’s built-in Cost of Goods feature, or a cost plugin.

Prices entered including tax

If your shop enters prices including tax (WooCommerce › Settings › Tax › Prices entered with tax), the product price you see is not your revenue. Divide by 1 plus the tax rate first: a £15.00 price at 20% VAT is £12.50 of revenue. Margin columns that compare cost to the shelf price overstate margin by the tax rate.

Using ByteKeel Order Profit for this

ByteKeel Order Profit follows this formula by default: revenue is the order total minus refunds, tax and the shipping charged to the customer, and a refunded item’s product cost is removed only when the item is returned to stock. You can add a payment fee (a percentage plus a fixed amount) and a packaging cost per order in Settings.

For a quick per-order check, read the Order profit box on the order screen.

Frequently asked questions

Is VAT part of my WooCommerce revenue?

No. VAT you charge is collected on behalf of the tax office. Report revenue and profit without it.

Is free shipping a cost?

Yes. If you offer free shipping, the courier charge comes straight out of your profit, so include it in costs even though the customer paid nothing for shipping.

Should I subtract the payment processing fee?

For net profit, yes. Card fees of 1.5–3% plus a fixed amount can be a large share of the profit on low-priced orders.

What about refunds?

Subtract the refunded amount from revenue. If the goods do not come back, the product cost still counts.

Which WooCommerce report shows revenue without tax and shipping?

Analytics › Revenue. Its Net sales column is gross sales minus refunds and coupons, without tax and shipping.

Did this answer the question? No — open a support request