Skip to main content

How to calculate true profit on Shopify (formula + one full order example)

Seamline Editorial · Finance content team · Updated

“True profit” is not a single universal figure. Decide which of three definitions you mean — contribution before overhead, profit after an explicit overhead rule, or cash actually settled — then calculate in that order. On one labeled sample order, $135.00 of net revenue becomes $50.90 of contribution and $42.90 after a stated overhead allocation. Every line has a document behind it. Educational content only; not accounting or tax advice.

First decide what “true profit” means

The word “true” causes more trouble than the arithmetic. Three figures are commonly called true profit, and they answer different questions.

Contribution before overhead is the money left after all costs that vary with the order. It is the right figure for pricing, product and campaign decisions. Profit after overhead applies a stated allocation rule for period costs and is closer to a full P&L view. Cash settled is what actually arrived in the bank, which can differ from both because of payout timing and reserves.

This article calculates the first two for one order and explains the third. If you publish a number without saying which definition it uses, the reader will assume the wrong one.

The formula below uses an explicit overhead rule rather than hiding overhead in a percentage. That is the difference between a number you can defend and a number that merely looks precise.

True profit per order = net revenue − product cost − payment fees − actual freight − returns allowance − attributed ad spend − stated overhead allocation.

The calculation, line by line

Start from net revenue, not list price. Discounts and refunds belonging to the order are removed first, because every subsequent cost should be compared against what the customer actually paid.

Then remove product cost from the SKU cost profile, payment fees from the gateway transaction, freight from the carrier invoice, a returns allowance from that SKU’s observed behavior, and ad spend only where it can be matched to the order. Unmatched ad spend is shown separately, not spread over this order.

Overhead is last, and only if you are calculating the second definition. Choose a rule you can state — for example monthly overhead divided by completed orders — and use the same rule every period. A rule that changes with the result is not a rule.

The seven deductions and the document each one comes from
StepDeductionSource documentRule
1Discounts and refundsOrder detail and refund recordsBelong to the order’s period
2Product costSKU cost profile and supplier invoicesInclude landed cost where applicable
3Payment feesGateway balance transaction fee fieldPer transaction, not an average rate
4Outbound freightCarrier invoiceActual bill, not shipping charged to customer
5Returns allowanceReturn records by SKUVariable cost estimate, stated basis
6Ad spendAd platform report matched to ordersAttributed only; unmatched shown separately
7Overhead allocationMonthly overhead and order countStated rule, applied consistently
Rule framework is an operating model, not a statutory chart of accounts. Fee field basis: Stripe balance transactions. Store-side net sales per Shopify reports documentation.

One order, fully worked

Every amount below is Sample data. The figures are chosen so the arithmetic can be checked by hand; none is a fee quote or a benchmark.

The order leaves $50.90 before overhead (Sample data). Applying the stated $8.00 overhead rule brings true profit to $42.90 (Sample data). Both numbers are correct for their own definition, and the definition must travel with the number.

The two largest deductions are product cost and attributed ads. That is typical for a DTC order, which is why a calculation that stops at gross margin misses most of the picture.

Sample data — a $150.00 list-price order calculated to true profit
LineAmountDefinition stageEvidence
List price$150.00Starting pointSample data
Discount−$15.00Net revenueSample data: order discount
Net revenue$135.00Net revenueSample data
Product cost−$45.00ContributionSample data: SKU cost profile
Payment fee−$4.05ContributionSample data: 3% assumption, not a quote
Outbound freight−$11.00ContributionSample data: carrier invoice
Returns allowance−$4.05ContributionSample data: 3% assumption
Attributed ad spend−$20.00ContributionSample data: matched campaign
Contribution before overhead$50.90Definition 1Sample data
Overhead allocation−$8.00Definition 2Sample data: stated rule
True profit after overhead$42.90Definition 2Sample data
Sample data: all amounts are hypothetical. $135 − $45 − $4.05 − $11 − $4.05 − $20 = $50.90; $50.90 − $8.00 = $42.90. The 3% figures are assumptions, not fee quotes.

If a reported true profit cannot be rebuilt line by line from documents, it is an estimate wearing a precise number. Rebuild first, then interpret.

How to allocate overhead without distorting the answer

Overhead does not vary with one order, so any allocation is a convention. The convention is useful only if it is stable and stated. Dividing monthly overhead by completed orders is simple and defensible; dividing by revenue makes a high-price product carry more overhead without causing more of it.

Report contribution before overhead alongside the allocated figure. The first is the decision metric; the second is the reporting metric. If only one is shown, readers will use the wrong one for the wrong decision.

Do not use a “standard percentage” borrowed from another store. Overhead structure is specific to the entity. Use your own monthly figure and keep the rule unchanged so month-to-month comparisons mean something.

True profit is still not the bank deposit

Profit is earned when the order happens; cash arrives on the payout schedule. A reserve, a pending transaction or a payout crossing a period boundary can make the bank balance disagree with a correctly calculated profit figure.

That is not an error in the calculation. It is a timing difference, and it belongs in a reconciliation rather than in a revised profit number. Keep the two views separate: one answers whether the order was profitable, the other answers when the money arrived.

For the settlement-side procedure, use the three-way reconciliation article, which matches orders to gateway balance transactions and then to bank deposits.

Four ways the calculation goes wrong

Using list price instead of net revenue inflates every percentage that follows. Discounts and order-level refunds must be removed first.

Using the shipping charged to the customer instead of the carrier bill turns a cost into a profit. Both lines exist and both must be recorded.

Spreading all ad spend evenly over orders attributes cost to products that did not cause it. Only matched spend belongs in this order; the rest stays visible as unallocated.

Changing the overhead rule when the result is inconvenient. A rule that follows the answer is not an allocation, it is an adjustment after the fact.

From one order to a standing calculation

A single order proves the method. The useful version runs every order through the same seven deductions with documents attached, then watches the lines that move — fee rate drift, freight above the rate card, a refund loss rate rising, or ad spend losing its order match.

For the tier definitions used in the contribution stage, see the CM1/CM2/CM3 glossary.

The profit-leaks pillar turns those movements into fourteen rules, each with an estimated amount, a confidence level and evidence. The calculation gives you the number; the rules tell you when it starts to change.

Frequently asked questions

How do I calculate true profit on Shopify?

Subtract product cost, payment fees, actual freight, a returns allowance and attributed ad spend from net revenue. That gives contribution before overhead. If you want a full figure, subtract an overhead amount calculated with a stated, consistent rule.

What is the difference between true profit and contribution margin?

Contribution margin removes the variable costs tied to the order. True profit often also includes an overhead allocation. Both are useful: contribution for decisions, profit after overhead for reporting.

Should I use list price or net revenue?

Net revenue. Discounts and order-level refunds have to come off before costs are compared, otherwise every margin is calculated against an inflated base.

How should I allocate overhead to an order?

Pick a stable rule you can state, such as monthly overhead divided by completed orders, and apply it every period. Report contribution before overhead alongside it so decisions are not distorted by a convention.

Why does true profit not match my bank deposit?

Because profit follows the order and cash follows the payout schedule. Reserves, pending transactions and period boundaries create timing differences that belong in reconciliation, not in a revised profit number.

Can I use a standard fee percentage for the calculation?

For a rough estimate, yes — labeled as an assumption. For a defensible figure, take the fee from each gateway balance transaction. Payment method, country and order size change the effective rate.

Run the calculation on your own orders

The demo shows how Seamline attaches each deduction to the order that caused it, so a true profit figure can be rebuilt line by line.

Open the demo