Skip to content
Profit calculator · e-commerce

Profit calculator: formula and example

Profit = revenue − variable costs − fixed costs.

Responsible for the content: Iron Saleh · Updated: · A calculation aid, not tax or business advice

Using Shopify? NorthProfit is published in the Shopify App Store. Install from the Shopify App Store →

Profit calculator

All values for the same period, net.

Profit
€20,000.00
Profit margin16.7%
Contribution€50,000.00

Calculation: €120,000.00 − €70,000.00 − €30,000.00 = €20,000.00

Example values: enter your own figures and the result updates instantly.

For online stores: profit with refunds, shipping, fees and ads per order ↓

Example: €120,000 − €70,000 − €30,000 = €20,000 profit, a 16.7% profit margin.

NorthProfit is profit software for online sellers in Germany, Austria and Switzerland and shows profit per order after cost of goods, shipping, fees, returns and ad spend.

NorthProfit includes ad spend from Google Ads and TikTok Ads in profit per order.

In short

  • Profit = net revenue − refunds − cost of goods − shipping − fees − advertising − fixed costs.
  • Calculate net: VAT belongs to the tax office.Shopify usually shows revenue gross; divide by 1.19 (or 1.07).
  • Profit margin = profit ÷ net revenue.In the example below that is 11.3%.
  • If your actual ROAS is below the break-even ROAS (revenue ÷ contribution before ads), advertising costs money.
Free · no sign-up

Calculate your online store's profit

Enter the numbers for a period, for example a month. The calculator deducts refunds, goods, shipping, fees, advertising and fixed costs and shows every step.

Revenue of the orders, with shipping, after discounts.
Revenue entered
Shopify and most shop systems show revenue including VAT.
VAT rate
To convert gross revenue. With mixed rates, pick the main one.
optional. Refunded amounts in the same period, on the same basis as revenue.
optional. Purchase or production cost of the goods sold.
optional. Postage, materials and fulfilment.
optional. For example Shopify Payments: €1.35 per €50 order (card, Basic).
optional. All ad accounts together, for example Google, TikTok, Meta.
optional. For example inserts, usage-based apps, commissions.
optional. Rent, software, staff; without them the calculator shows the contribution after ads.
optional. For profit and basket per order.
Enter the values on the left.

The result appears here, with the working. Nothing is stored.

Formula

How to calculate profit in e-commerce

The calculation runs in steps. Each step answers its own question: how much revenue is mine (net, after refunds)? What remains after the costs of each order (contribution before ads)? Does advertising pay off (contribution after ads)?

And does that cover fixed costs (profit)?

E-commerce profit in steps
StepFormula
Net revenueGross revenue ÷ (1 + VAT rate) − net refunds
Contribution before adsNet revenue − cost of goods − shipping − payment and marketplace fees − other variable costs
Contribution after adsContribution before ads − ad spend
Profit before taxContribution after ads − fixed costs
Profit marginProfit ÷ net revenue × 100
Break-even ROASNet revenue ÷ contribution before ads
Worked through

Assume a month with 400 orders

Assume €23,800 gross revenue (19%), €1,190 gross refunds, €7,600 goods, €2,400 shipping, €560 fees, €3,800 advertising and €2,500 fixed costs with 400 orders.

Read more

Net revenue after refunds: €20,000 − €1,000 = €19,000.00. After goods, shipping and fees, €8,440.00 contribution before ads remain (44.4%). After advertising it is €4,640.00, after fixed costs €2,140.00 profit.

The profit margin is 11.3%, €5.35 remain per order. Blended ROAS is 5, the break-even ROAS 2.25: advertising pays off, but every additional euro of advertising has to bring more than €2.25 of net revenue.

Common mistakes

Five mistakes that make profit look too high

Most wrong profit figures in e-commerce don't come from the arithmetic but from the basis.

  • Gross and net mixed: using gross revenue at 19% VAT shows 19% more revenue than is yours.
  • Refunds forgotten: returns and credit notes reduce revenue in the same period.
  • Fees missing: payment and marketplace fees are not in the Shopify sales report but in the payout.
  • A missing purchase price counts as 0: then a product looks profitable that isn't.
  • Advertising from the ad account instead of the invoice: platforms attribute purchases by their own rules; the costs are fixed, the attributed revenue is not.
Context

Profit, margin and contribution: what each is for

The margin (gross margin on goods) deducts only the purchase price; it helps with pricing. The contribution margin deducts all variable costs; it shows what a product or channel contributes.

Profit also deducts fixed costs; it tells you whether the business pays off.

Read more

For a monthly overview this calculator is enough. Which orders, products and channels lose money only shows per order, because fees, shipping and returns vary per order.

FAQ

Frequently asked questions about online store profit

How do I calculate my online store's profit?
Net revenue minus refunds, cost of goods, shipping, payment and marketplace fees, advertising and fixed costs for the same period. The result is profit before tax.
How do I calculate the profit margin?
Profit ÷ net revenue × 100. With €2,140 profit on €19,000 net revenue that is 11.3%.
What is the difference between revenue and profit?
Revenue is what customers pay; profit is what remains after all costs. High revenue can come with a loss if goods, shipping, fees and advertising cost too much.
Do I calculate gross or net?
Net. You pay the VAT to the tax office; it is not revenue. Enter revenue gross and pick the VAT rate, and the calculator converts it.
How much profit is normal in e-commerce?
It depends heavily on the sector and the share of advertising. Fixed figures without a source help little; compare your own months and channels. More important than the average is which products and channels lose money.
Do ad costs belong in profit?
Yes. Ad spend is a variable cost of selling. The calculator shows the contribution before and after ads separately so you can see whether advertising pays off.
Free · no sign-up · nothing stored

With your real shop numbers in NorthProfit

NorthProfit calculates the profit per order, product and channel from your shop: Shopify Payments fees automatically, ad costs from Google Ads and TikTok Ads, missing values as “—” instead of 0. 14 days free, no credit card.