Every example and amount on this page is illustrative. It shows the method and is not a benchmark, a quote or advice.
What Profit Actually Measures
Profit is the money left after a defined set of costs has been deducted from revenue. It is not a property of revenue alone: the answer changes when the cost boundary changes. Revenue should also be defined consistently—for example, realized revenue from delivered orders, excluding cancelled orders and returns. A negative result means the specified costs exceeded that revenue.
The four labels below describe progressively wider cost boundaries. Gross profit focuses on the product economics. Contribution profit goes further by deducting costs that vary with selling or acquiring the order, commonly payment fees, shipping and advertising. Operating profit deducts operating expenses such as payroll, software, rent and other costs required to run the business. Net profit is the residual after the remaining expenses, which may include interest and taxes.
These figures answer different questions, so they should not be used interchangeably. Gross profit helps assess product pricing and cost of goods; contribution profit helps assess whether an order, product or collection adds money after variable selling costs; operating profit shows whether the business model supports its operating structure; net profit shows what remains after the full set of costs included in the accounts. Exact treatment varies by accounting policy, so the chosen definitions must be stated. See the distinction between gross margin and net margin and the role of contribution margin.
| Measure | Revenue less | Useful question |
|---|---|---|
| Gross profit | Cost of goods sold | Does the product sell above its direct product cost? |
| Contribution profit | Variable selling and acquisition costs, often including advertising | Does the sale contribute after the costs of making and acquiring it? |
| Operating profit | Operating expenses after contribution | Does the operation cover its ongoing structure? |
| Net profit | All included expenses, including interest and taxes where applicable | What remains after the full accounting cost base? |
The Formula, Stated Plainly
The core formula is simple: profit = revenue − costs. The calculation is only useful when both sides use the same period, currency and accounting basis. For an ecommerce store, revenue should normally mean net revenue: product and shipping income after discounts, cancellations and refunds, rather than the gross value of every order placed.
Include the costs required to make, sell and operate the business. The main categories are:
Refunds reduce revenue, not just cash in the bank. A $100 sale followed by a $100 refund contributes $0 of realized revenue, while any unrecovered fulfilment or payment cost may remain an expense. Sales tax, VAT or other tax collected from customers for remittance is generally excluded from revenue and profit. Income tax is a separate choice: profit before tax supports operating analysis, while profit after income tax shows what remains for the owner or business.
- Cost of goods sold: the product, packaging or manufacturing cost assigned to units sold.
- Fulfilment and delivery: pick-and-pack, postage, shipping subsidies and warehouse charges.
- Selling costs: payment processing fees, marketplace fees, discounts and return-related costs.
- Customer acquisition: advertising and other directly attributable marketing spend.
- Operating overhead: salaries, software, rent, professional fees, insurance and other costs needed to run the business.
- Finance and non-cash costs: interest, depreciation and amortisation, where the chosen profit definition includes them.
| Measure | Formula | What it tells you |
|---|---|---|
| Profit | Revenue − costs | The currency amount left after the selected costs |
| Profit margin | (Profit ÷ revenue) × 100 | The share of revenue retained as profit |
A Worked Ecommerce Example
Take one month for a Shopify merchant selling reusable drinkware. The merchant keeps its trading currency in USD and uses delivered orders as the revenue basis. Cancelled and returned orders are not included in realized revenue, so there is no separate refund deduction in this example.
Revenue is $30,000. Product costs are $9,000, giving gross profit of $30,000 − $9,000 = $21,000. Gross margin is therefore $21,000 ÷ $30,000 = 70%. This is the product-level result before the costs required to sell and operate the store.
Next, add fulfillment and shipping of $2,400, payment and platform fees of $900, advertising of $6,000, and other operating overhead of $4,500. Those operating costs total $2,400 + $900 + $6,000 + $4,500 = $13,800. Total costs are $9,000 + $13,800 = $22,800. Final profit is $30,000 − $22,800 = $7,200, and net margin is $7,200 ÷ $30,000 = 24%. The same structure is expanded in this guide to how to calculate ecommerce profit.
The bridge from gross profit to final profit makes the effect of each cost visible: $21,000 of gross profit, less $2,400 for fulfillment and shipping, less $900 in fees, less $6,000 in advertising, leaves $11,700 before the $4,500 overhead charge; subtracting that overhead leaves $7,200. In percentage terms, product cost consumes 30% of revenue, the listed operating costs consume 46%, and the remaining 24% is profit. Put another way, each $100 of realized revenue leaves $70 after product cost and $24 after every listed cost.
That result supports a review of whether this month’s defined trading activity produced a surplus and gives a baseline for comparing a later month calculated on the same basis. It does not, by itself, explain which product, customer, channel or cost caused the result, nor does it establish cash available for tax, debt repayment or other items not included in the scope. A change in any input changes the answer dollar for dollar unless another input changes too: an additional $1,000 of advertising, with everything else held constant, would reduce profit to $6,200 and net margin to 20.7% ($6,200 ÷ $30,000).
| Line item | Amount | Calculation role |
|---|---|---|
| Realized revenue | $30,000 | Starting figure |
| Cost of goods sold | −$9,000 | $30,000 − $ |
The Mistakes That Make the Number Wrong
The most common error is treating gross sales as usable revenue. Suppose orders show $10,000 in sales, but customers received $400 in discounts and $500 of orders were returned. Realized revenue is $9,100 before considering any other costs. If the calculation keeps the full $10,000, it overstates the amount available to cover fulfilment and overhead. Return handling is not just an operational issue: the return rate and refund value directly change the profit calculation.
Costs are often incomplete because they sit in different systems. A product may have $3,000 of cost of goods, $600 of outbound shipping, $300 of payment fees and $2,000 of advertising. Leaving out the ads alone makes the result appear $2,000 higher. Leaving out payment fees and shipping adds another $900. A high ROAS does not correct this omission; ROAS and profit answer different questions. The relevant check is whether the order still contributes money after the costs required to acquire and deliver it.
Inventory creates a separate trap. A $5,000 stock purchase is not automatically a $5,000 expense for the month: some units may remain unsold and belong in inventory rather than current-period cost of goods. Conversely, using an old product cost when supplier prices have changed can understate the cost of units sold. Use a consistent product cost model, then distinguish gross profit from the contribution left after advertising. The contribution margin calculation makes those layers explicit.
Owner pay and tax also need an explicit treatment. If the owner works full-time but the calculation includes no compensation, the business can look profitable only because labour was treated as free. Include a reasonable owner-pay expense when measuring economic profit, or label the result as profit before owner pay. Tax may be excluded when measuring operating performance, but then it must be called pre-tax profit. Subtracting tax in one month and excluding it in another makes comparisons meaningless.
Timing can change the answer without changing the underlying economics. Recording a December ad invoice in January, or counting January shipping against December orders, moves costs between periods. Mixing cash-paid inventory with accrual revenue creates the same distortion. Keep revenue, returns, discounts, cost of goods, fees, advertising and fulfilment on the same period and accounting basis. The complete ecommerce profit calculation is useful only when those definitions are held constant.
What the Answer Can Tell You
A profit figure is useful when the decision uses the same scope as the calculation. If a product sells for $50, has $20 of product cost, $8 of fulfilment and payment costs, and absorbs $12 of advertising and overhead, its profit is $10 per order. A $5 price increase would raise profit to $15 only if unit volume and variable costs stayed unchanged. That arithmetic supports a pricing scenario; it does not prove that customers will accept the higher price. Profit can show where a price experiment is worth running, but it cannot estimate price elasticity or predict demand.
For marketing, compare the profit created by orders with the spend required to acquire them. If a campaign produces $3,000 of revenue and $900 of profit before advertising, then $1,000 of ad spend leaves negative $100 after advertising. Revenue or attributed ROAS alone would hide that result. ROAS and profit are different measures, while contribution after advertising is often the more useful view for deciding whether to scale, reduce or stop a campaign.
Product and collection profit expose mix problems that store-wide profit can conceal. Product A may generate $6,000 of sales and $900 of profit, while Product B generates $3,000 and $1,200. Promoting A because it sells more could reduce the profit earned per order. Promotions require the same test: a $10 discount on 100 orders costs $1,000 before considering any extra volume, so the additional orders must create more than that lost margin and their incremental costs.
Cash planning needs another layer. A profitable month can still leave little cash if inventory was paid for before sale, ad invoices are due immediately, or customer payments settle later. Conversely, a cash balance can rise while the period is unprofitable because an earlier receivable was collected. Use profit for operating economics, then reconcile it with payment timing, inventory purchases, debt and other cash movements. A single period also cannot establish a trend, explain causation, or show whether a change will persist. Compare consistent periods and inspect product, customer, return and advertising detail before acting. Gross and net views answer different questions, as explained in gross margin versus net margin.
| Decision | What profit can show | What it cannot establish |
|---|---|---|
| Pricing | Whether the modeled price leaves more profit per order | How demand will respond |
| Marketing | Whether spend remains profitable after advertising | Whether attribution is causal or durable |
| Product mix | Which products or collections contribute more profit | Whether shifting mix is operationally feasible |
| Promotions | The margin cost of each discount | Whether extra volume will offset it |
| Cash planning | Operating profitability for the period | When cash will be received or paid |
What the profit blog actually measures
The profit calculation measures what remains from a defined trading activity after the costs assigned to that activity. The definition must state four boundaries: which sales count, which costs are included, the period covered and the currency used. For an ecommerce store, realized revenue may mean delivered orders only. A cancelled order can appear in an order export, but it has not created realized revenue if it was never completed and kept by the customer.
It also measures profitability at a chosen level. Store-wide profit can hide a product that loses money, while product-level profit can omit costs that only exist at business level. A collection, customer, order or entire store may each produce a different answer because each uses a different set of revenue and cost records. That is why how to calculate ecommerce profit should be treated as a scope decision, not just a subtraction exercise.
The main measures differ by the costs they include:
Gross profit subtracts product costs from realized revenue, describing what the sale contributes before broader operating costs. Net profit subtracts the additional costs included in scope, such as advertising, fees or overhead; an omitted cost cannot reduce the reported figure. The distinction is set out in gross margin vs net margin in ecommerce.
Contribution after advertising narrows the view to what remains after product costs and advertising for a product or collection. It can show whether paid acquisition leaves a positive contribution, but it is not the same as store-wide net profit; the calculation is explained in ecommerce contribution margin.
None of these figures, on its own, is a cash-balance measure. Inventory payments, payout timing and unpaid bills can make available cash differ from the profit reported for the chosen period.
| Measure | Subtracts | Useful for |
|---|---|---|
| Gross profit | Cost of goods sold | Checking product economics before operating costs |
| Contribution after advertising | Product costs and advertising spend | Comparing products or collections after paid acquisition |
| Net profit | All costs included in the chosen business scope | Assessing whether the store or period retained money overall |
General information only: tax, duty and import rules change and depend on your situation, so check with an accountant or the official source before acting.