Free tool

WooCommerce profit margin calculator

Work out the net profit on an order, and on a month of orders, after product cost, payment fees, shipping, ad spend and refunds. It runs in your browser. Nothing you type is saved or sent.

Your numbers

Use an average order, or one specific order. Example values are filled in; change any of them.

What the customer paid, excluding tax. Include shipping you charged.
What you paid for the items in the order.
What the label or courier cost you.
Monthly ad spend divided by monthly orders.
Percentage your processor takes.
Fixed fee per payment, if any.
Share of revenue you refund on average.
Used for the monthly total.

Net profit per order

After every cost

$18.66

31.1% net margin

  • Revenue$60.00
  • Product cost−$22.00
  • Ad spend−$9.00
  • Shipping−$6.50
  • Payment fees−$2.04
  • Refunds−$1.80
  • Net profit$18.66

Net profit per month

$7,464

Max ad spend per order

$27.66

Break-even ROAS

2.17

Costs as % of revenue

68.9%

Estimates only. Taxes are left out. Refunds assume the payment fee isn’t returned and the product isn’t resold.

How the calculator works

Net profit per order = revenue − product cost − shipping cost − payment fee − ad spend − refunds
  • Payment fee = revenue × fee % + fixed fee. The example uses Stripe’s standard US card price, “2.9% + 30¢ per successful transaction for domestic cards” (checked 13 November 2026). Use your own processor’s rate.
  • Refunds = revenue × refund rate. It assumes refunded money is returned in full, the product isn’t resold and the payment fee isn’t returned, which is the cautious case.
  • Max ad spend per order is the profit before ads: spend more than this per order and the order loses money.
  • Break-even ROAS = revenue ÷ max ad spend per order. Below this return on ad spend, ads cost more than the orders earn.

What one order can’t tell you

A per-order calculation is a good check on pricing, but real months are messier: refunds arrive weeks later, ad spend doesn’t divide evenly across orders, some orders are on hold, and fees differ by payment method. A monthly profit and loss statement built from your actual orders shows what really happened. Here is how to build one in WooCommerce, and which order statuses should count.