

Product Profitability Analysis: A Step-by-Step Guide
Product profitability analysis compares the revenue each product earns with the costs of selling and serving it. Start with net sales and traceable costs, then show shared-cost allocations separately. To decide whether to keep or remove a SKU, calculate which revenue and costs would actually disappear if you stopped selling it.
Orion by Gravity fits when finance and merchandising need to combine sales, returns and fulfillment records, inspect each SKU's contribution calculation, and compare the assumptions behind a product decision.
Consider a retailer's monthly review. The travel kit brings in $30,000 of net sales, yet the product report shows a loss after overhead. The refill brings in only $18,000 and looks healthier. Should the team stop selling the kit, promote the refill, or change the kit's price?
Those are three different decisions. A product ranking helps start the conversation; the costs behind that ranking determine what to do next.
Build product profitability in layers
Keep three levels visible: gross profit, contribution after the variable costs you include, and the result after shared costs. Write the cost scope beside each level so the same word does not mean different things in finance and merchandising.
Net sales subtracts discounts and refunds from product sales. Gross profit then subtracts the product cost associated with those sales. Contribution goes further: subtract the variable fulfillment, payment, return-handling and product-specific marketing costs in your model. Shared overhead follows on a separate line.
This is a management view of a defined scope, not a claim to calculate the company's complete net income. If salaries, rent, platform subscriptions, interest or taxes are outside the model, the report should say so. For the economics of one order or customer, the unit economics guide explains the related calculation. Here, the decision is how to manage several products.
A worked SKU profitability example
The following figures are synthetic. They illustrate a method and a decision; they are not customer results or an executed Orion analysis.
The retailer sells a serum, a travel kit and a refill. The reporting cohort is one completed month's orders, observed after the agreed return window. All figures are USD. Sales tax, shipping revenue and other charges to customers are excluded. Refunds relate to these same orders, rather than every refund processed during the month.
The product-cost line is net of the cost recovered from saleable returns. Return handling covers reverse-logistics and processing costs, not the refunded selling price again. Every fulfillment and payment charge is assigned once. Product-specific campaign costs are directly attributable, separate campaigns; there is no unallocated brand campaign in this example.
| Included revenue and costs | Serum | Travel kit | Refill | Total |
|---|---|---|---|---|
| Gross product sales | $60,000 | $40,000 | $20,000 | $120,000 |
| Discounts | $6,000 | $4,000 | $1,000 | $11,000 |
| Refunds | $4,000 | $6,000 | $1,000 | $11,000 |
| Net sales | $50,000 | $30,000 | $18,000 | $98,000 |
| Product cost, net of recovered stock | $18,000 | $14,000 | $6,000 | $38,000 |
| Variable fulfillment | $6,000 | $5,000 | $2,000 | $13,000 |
| Payment fees | $1,500 | $900 | $540 | $2,940 |
| Return handling | $1,500 | $2,100 | $460 | $4,060 |
| Product-specific campaigns | $8,000 | $6,000 | $1,000 | $15,000 |
| Contribution before shared costs | $15,000 | $2,000 | $8,000 | $25,000 |
The reconciliation is explicit: $120,000 minus $11,000 of discounts and $11,000 of refunds leaves $98,000 of net sales. The five included cost lines total $73,000, leaving $25,000 of contribution.
The travel kit contributes $2,000, or 6.7% of its net sales. The refill contributes $8,000, or 44.4%. The kit's higher sales have not produced a larger contribution. Returns and its dedicated campaign deserve attention before the team buys more volume.
The table does not show that the campaign caused those sales or that cutting its budget would leave sales unchanged. A decision about future spend needs an incremental comparison or test. The pricing guide covers why revenue growth alone does not establish that a price cut paid.
Why an allocated loss is not a reason to discontinue a product
The retailer also has an $18,000 shared operating-cost pool. Allocating it by net-sales share assigns approximately $9,184 to serum, $5,510 to the kit and $3,306 to refill. Those rounded amounts still total $18,000.
Suppose an alternative activity study assigns the same pool using documented resource usage: 60% to serum, 10% to the kit and 30% to refill. Those percentages are hypothetical inputs for this example, not recommended allocation rates.
| Product | Shared cost by sales share | Result after that allocation | Shared cost by activity study | Result after that allocation |
|---|---|---|---|---|
| Serum | $9,184 | $5,816 | $10,800 | $4,200 |
| Travel kit | $5,510 | −$3,510 | $1,800 | $200 |
| Refill | $3,306 | $4,694 | $5,400 | $2,600 |
| Total | $18,000 | $7,000 | $18,000 | $7,000 |
The kit changes from an allocated loss to a small positive result without a change in sales, total costs or the business's $7,000 result within this scope. Choosing a different allocation does not improve the business.
Use an allocation because it reflects resource consumption, not because it makes a favored product look better. Relevant drivers might include warehouse space, handling activity or support time. OpenStax's cost-driver guidance explains why the activity behind a cost matters.
For discontinuation, ask a different question: what changes if the kit goes away? Assume next month's sales and variable-cost behavior repeat, every included variable cost is avoidable, no customers migrate to another product, and no replacement sales use the released capacity. The team checks the contracts and finds only $500 of the shared pool would disappear.
Removing the kit loses its $2,000 contribution and saves $500, reducing the scoped result by $1,500, from $7,000 to $5,500. Most shared costs remain and must be covered by the other products. This is the relevant-cost distinction in OpenStax's keep-or-discontinue analysis.
A valuable alternative use of constrained shelf space, labor or inventory cash could change the decision. So could customers switching to a higher-contribution item, or losing other purchases when the kit disappears. Model those effects separately; neither allocated profit nor sales alone establishes them.
Reconcile the data before ranking products
Build one record per order line and retain its order ID, SKU, quantity, discounts, refunds and source cost. Match returns to their original line. If a kit contains products that also sell individually, record the components and their costs without counting both the kit and its components as separate sales.
Assign order-level charges deliberately. A shipping fee cannot be copied in full onto each of three lines. Split it using a documented rule, such as weight or handling units, and confirm that the line allocations add back to the invoice. Aggregate payment and return records before joining them to avoid multiplying sales rows.
Keep missing costs visible. A SKU with no cost is not a zero-cost product. Shopify's profit-report documentation says product and variant profit reports include only items with a cost recorded when sold. Reconcile that coverage to the full sales report before comparing products.
Check the reporting horizon, too. A recent product with an incomplete returns window can look artificially profitable. An old inventory purchase, a minimum warehouse commitment and next month's replenishment may have different implications for a forward-looking decision.
Choose the next commercial action
For the travel kit, start with the expensive returns and product-specific campaign. Inspect return reasons, damage, packaging, order mix and the terms of the offer. Then choose a test with a named owner: change the offer, change fulfillment, test a price, or revise how the kit is promoted.
For the refill, check whether more demand can be served at similar incremental costs and whether it depends on customers first buying the serum or kit. A strong historical contribution rate does not establish that the next marketing dollar will earn the same return.
Record the decision against the contribution it is expected to change, with assumptions and a review date. The next report should compare the result with those assumptions. A cost-driver analysis is useful when a fulfillment change, rather than the assortment itself, explains the problem.
Where Orion by Gravity fits
Keep Shopify's reports when product gross profit is the question and the recorded costs are complete. A spreadsheet is a useful home for a small assortment model. A costing or ERP system may be the appropriate owner for production costing, inventory valuation and financial reporting. The Shopify analytics guide explains when the review needs additional data.
Orion by Gravity is worth evaluating when product decisions require combining approved sales, returns, fulfillment and marketing records and repeating the investigation. Its Analysis Notebook exposes source queries, Python transformations and outputs for review. Check the supported source requirements rather than assuming a native connection to every store, ERP or advertising platform.
A proposed starting request is: “Using our approved product-contribution definition, reconcile last month's completed order cohort by SKU. Show missing costs, the allocation of order-level charges, contribution before shared costs, and the sensitivity to our two overhead methods.”
Have finance compare that result with the reference model. Keep approved dbt or other governed calculations with their current owner, and verify the actual query path. Context notes can explain an allocation rule; they do not prove execution through a semantic layer.
Once the analysis reconciles, Workflows, currently beta, can rerun the validated notebook on a schedule. The creation process includes a full dry run. This article provides a proposed practice, not measured evidence that Orion increased product profit.
Bring one questionable SKU and the source records behind its margin to an Orion working session. The useful result is a decision the team can defend: what to change, which costs will move and what evidence would make you reconsider.

