Profit calculator: formula and example
Profit = revenue − variable costs − fixed costs.
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.
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.
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.
The result appears here, with the working. Nothing is stored.
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)?
| Step | Formula |
|---|---|
| Net revenue | Gross revenue ÷ (1 + VAT rate) − net refunds |
| Contribution before ads | Net revenue − cost of goods − shipping − payment and marketplace fees − other variable costs |
| Contribution after ads | Contribution before ads − ad spend |
| Profit before tax | Contribution after ads − fixed costs |
| Profit margin | Profit ÷ net revenue × 100 |
| Break-even ROAS | Net revenue ÷ contribution before ads |
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.
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.
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.
Frequently asked questions about online store profit
How do I calculate my online store's profit?
How do I calculate the profit margin?
What is the difference between revenue and profit?
Do I calculate gross or net?
How much profit is normal in e-commerce?
Do ad costs belong in profit?
Keep calculating
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.