At year end you open the sales report: your largest customer brings in forty percent of revenue. The same customer places small orders every day, you pay for the shipping, returns and support requests never stop, and payment takes seventy-five days. Customer profitability analysis shows whether that customer really earns you money, not by looking at revenue but by netting off what it costs to serve them. The approach is also called cost-to-serve analysis.
This guide covers how customer net contribution is calculated, how to choose cost drivers and an allocation key, how a five-customer example separates the revenue ranking from the net-contribution ranking, how to read a whale curve, what threshold actions are worth, where the data comes from, and how to work out payback. All example figures are representative; they are not the averages of any real company or industry. For tax and accounting treatment, consult your financial advisor (certified accountant).
What Is Customer Profitability Analysis and How Does It Differ From Other Analyses?
Customer profitability analysis is the exercise of subtracting customer-specific service costs from the gross profit earned over a past period to find net contribution per customer. The aim is to base decisions on terms and service levels on that difference.
It should not be confused with similar-looking studies; each answers a different question.
| Analysis | The question it answers |
|---|---|
| Customer profitability (this article) | After cost-to-serve, what did this customer earn us? |
| Customer lifetime value | What will this customer earn us in total in the future? |
| RFM | When, how often and how much does this customer buy? |
| Price list management | Which price applies to which customer? |
| Project profitability | How did this job perform against its budget? |
| Dealer management | Where does this dealer stand against target and bonus? |
For future value see our CLV guide, for behavioral segments our RFM analysis article, and for job-level tracking our project cost and profitability guide; this article does not repeat their figures.
We recommend reading: How to manage B2B price lists: customer groups, tiers and discounts
How Is Customer Net Contribution Calculated?
Net contribution is gross profit minus five customer-specific service costs. The formula is:
Net contribution = gross profit − order handling − shipping − returns − support − receivable financing
Gross profit is net sales (after discounts and returns) minus the cost of goods sold. Overheads such as rent are not allocated here; only costs that rise and fall with the customer's behavior are counted. The five cost items used in the example and their representative unit rates are below.
| Cost item | Driver | Representative unit rate |
|---|---|---|
| Order handling | Number of orders and order lines | ₺80 per order + ₺8 per line |
| Shipping (paid by the company) | Number of shipments | ₺150–₺400 per order, by customer |
| Returns | Number of returns | ₺400 per return |
| Support | Number of support tickets | ₺180 per ticket |
| Receivable financing | Revenue × days to collect | 36% a year (3% a month), a representative financing cost |
The financing formula: revenue × days to collect ÷ 360 × 36% = revenue × days ÷ 1,000. For example, ₺3,000,000 of revenue collected in 75 days gives 3,000,000 × 75 ÷ 1,000 = ₺225,000. The rate is your own cost of funds, not a bank quote. We cover collection practice separately in our B2B collections guide.
How Do You Choose Cost Drivers and an Allocation Key?
The best allocation key is the event that actually triggers the cost: order volume drives the order team, ticket volume drives the support team, return volume drives the returns desk. The unit rate is the cost pool divided by the number of driver units.
- Support: an annual support pool of ₺96,840 and 538 tickets in total give a unit rate of 96,840 ÷ 538 = ₺180.
- Returns: an annual returns-handling pool of ₺47,600 and 119 returns in total give 47,600 ÷ 119 = ₺400.
- Shipping: where possible, match the actual carrier invoice to the customer shipment by shipment.
Allocating in proportion to revenue is the easiest route, and it misleads. In the example below the same total service cost (₺797,660, or 10.6% of revenue) is allocated two ways.
| Customer | Cost allocated by revenue | Net by that method | Actual cost by drivers | Actual net |
|---|---|---|---|---|
| A | ₺319,064 | ₺160,936 | ₺493,160 | −₺13,160 |
| B | ₺191,438 | ₺348,562 | ₺99,240 | ₺440,760 |
| C | ₺127,626 | ₺256,374 | ₺50,240 | ₺333,760 |
| D | ₺95,719 | ₺156,281 | ₺129,300 | ₺122,700 |
| E | ₺63,813 | ₺146,187 | ₺25,720 | ₺184,280 |
Allocated by revenue, customer A earns ₺160,936 and appears third, ahead of D and E; looked at by drivers, it turns out to lose money. The wrong key makes a loss-making customer look profitable.
In a Five-Customer Example, Which Large-Revenue Customer Is Weak on Net?
Twelve months of data (all representative) for a company that sells wholesale to dealers and corporate customers look like this.
| Customer | Revenue | Gross margin | Orders | Lines | Shipping / order | Returns | Tickets | Collection |
|---|---|---|---|---|---|---|---|---|
| A | ₺3,000,000 | 16% | 360 | 4,320 | ₺300 | 80 | 360 | 75 days |
| B | ₺1,800,000 | 30% | 60 | 480 | ₺300 | 6 | 40 | 35 days |
| C | ₺1,200,000 | 32% | 24 | 120 | ₺350 | 2 | 12 | 30 days |
| D | ₺900,000 | 28% | 150 | 900 | ₺150 | 30 | 120 | 60 days |
| E | ₺600,000 | 35% | 12 | 60 | ₺400 | 1 | 6 | 30 days |
Working through A: gross profit is 3,000,000 × 16% = ₺480,000. Order handling is 360 × ₺80 + 4,320 × ₺8 = 28,800 + 34,560 = ₺63,360. Shipping is 360 × ₺300 = ₺108,000. Returns are 80 × ₺400 = ₺32,000. Support is 360 × ₺180 = ₺64,800. Financing is ₺225,000. Net contribution = 480,000 − 63,360 − 108,000 − 32,000 − 64,800 − 225,000 = −₺13,160. The results for every customer follow.
| Customer | Gross profit | Handling | Shipping | Returns | Support | Financing | Net contribution | Net margin |
|---|---|---|---|---|---|---|---|---|
| A | ₺480,000 | ₺63,360 | ₺108,000 | ₺32,000 | ₺64,800 | ₺225,000 | −₺13,160 | −0.4% |
| B | ₺540,000 | ₺8,640 | ₺18,000 | ₺2,400 | ₺7,200 | ₺63,000 | ₺440,760 | 24.5% |
| C | ₺384,000 | ₺2,880 | ₺8,400 | ₺800 | ₺2,160 | ₺36,000 | ₺333,760 | 27.8% |
| D | ₺252,000 | ₺19,200 | ₺22,500 | ₺12,000 | ₺21,600 | ₺54,000 | ₺122,700 | 13.6% |
| E | ₺210,000 | ₺1,440 | ₺4,800 | ₺400 | ₺1,080 | ₺18,000 | ₺184,280 | 30.7% |
| Total | ₺1,866,000 | ₺95,520 | ₺161,700 | ₺47,600 | ₺96,840 | ₺396,000 | ₺1,068,340 | 14.2% |
Total cost-to-serve is 797,660 ÷ 1,866,000 = 42.7% of gross profit. Customer A brings 40% of revenue but only 25.7% of gross profit, while consuming 59.4% of orders, 66.9% of support tickets and 56.8% of financing. It ranks first by revenue and last by net contribution.
What Is a Whale Curve and How Do You Read It?
A whale curve ranks customers by net contribution from highest to lowest and accumulates the contribution. The most profitable customers produce most of the total; the loss-making customers at the end of the list pull the cumulative line down from its peak. For the ranked example the arithmetic is as follows.
| Rank | Customer | Net contribution | Share of total | Cumulative share | Revenue share |
|---|---|---|---|---|---|
| 1 | B | ₺440,760 | 41.3% | 41.3% | 24.0% |
| 2 | C | ₺333,760 | 31.2% | 72.5% | 16.0% |
| 3 | E | ₺184,280 | 17.2% | 89.7% | 8.0% |
| 4 | D | ₺122,700 | 11.5% | 101.2% | 12.0% |
| 5 | A | −₺13,160 | −1.2% | 100.0% | 40.0% |
The most profitable twenty percent of five customers is a single customer (B), and it produces 41.3% of total net contribution; the top forty percent (B and C) produce 72.5%. The curve peaks at 101.2% at the fourth customer and falls to 100% with A: customer A erodes total net contribution by 1.2%. In a base of two hundred customers, "twenty percent" means forty customers.
How Do You Find the Break-Even Order Value?
To see with one threshold whether a customer is losing money, divide cost-to-serve per order by gross margin: break-even order value = cost-to-serve per order ÷ gross margin. For A, cost per order (financing included) is 493,160 ÷ 360 = ₺1,369.89; the break-even order value is 1,369.89 ÷ 0.16 ≈ ₺8,562. The average order is 3,000,000 ÷ 360 = ₺8,333, so every order loses about ₺36.56; 36.56 × 360 = ₺13,160, matching the result above.
For D the threshold is 129,300 ÷ 150 ÷ 0.28 ≈ ₺3,079; with an average order of ₺6,000, D is profitable. Cost per order varies with line count, so the threshold moves up for many-line orders. This threshold is the first input to a minimum order value decision.
What Are Threshold Actions and What Are They Worth?
An analysis that stays a report has no value. For a loss-making or thin-margin customer four actions stand out: a minimum order value, a shipping contribution, a payment-term and discount adjustment, and a service level. Below is the annual effect for customers A and D (assumptions are representative).
| Action | Assumption | Annual effect |
|---|---|---|
| A: minimum order ₺12,000 | Orders 360 → 250; revenue and lines unchanged; 110 × ₺80 + 110 × ₺300 | +₺41,800 |
| A: shipping contribution ₺120 per order | 250 orders × ₺120 | +₺30,000 |
| A: terms 75 → 45 days, in return for a 1% discount | Financing 225,000 → 135,000 (+90,000); discount −30,000 | +₺60,000 |
| A: self-service for support | Tickets 360 → 240; 120 × ₺180 | +₺21,600 |
| A total | −13,160 → 140,240 (net margin 4.7%) | +₺153,400 |
| D: minimum order ₺9,000 and ₺60 shipping contribution | Orders 150 → 100: 50 × (₺80 + ₺150) = 11,500; 100 × ₺60 = 6,000 | +₺17,500 |
A's net margin on post-discount revenue of 2,970,000 is 140,240 ÷ 2,970,000 = 4.7%. The customer may push back; talk first, and have your legal counsel review any change of terms against the contract.
Test the unit rates too: had the support rate been ₺270 instead of ₺180, A would fall to −₺45,560 and D to ₺111,900; the ranking would not change.
Where Does the Data for Customer Profitability Come From?
The analysis needs no new system, but it does need data from different systems to join on the same customer code.
| Data | Source | Watch out for |
|---|---|---|
| Revenue, discounts, gross margin | ERP sales and cost records | Use net sales; know whether cost is standard or actual |
| Orders and lines | ERP, order management | Count a split shipment as one order |
| Shipping paid | Carrier invoices, shipment records | Each shipment must map to a customer |
| Returns | Return records | Keep the return reason too |
| Support tickets | Support and CRM records | Each ticket must link to a customer code |
| Days to collect, receivables | Customer account ledger, accounting | Track overdue balances separately |
| Customer identity | Master data | Merge duplicate records of the same customer |
The most common problem is the same customer being registered several times under different codes; in our master data management article we explained how duplicates are cleaned. For the target-and-bonus side of a dealer network see our dealer management system guide, and for the shipping line see our shipping cost guide.
How Do You Set Up Customer Profitability Analysis?
A six-step path turns the analysis from a one-off presentation into a continuous measurement.
- Scope and period: take the last twelve months and all customers.
- Cost pools and drivers: write down the five cost items and what triggers each.
- Unit rates: divide each pool by the driver count and record the assumptions.
- Net contribution by customer: subtract the five items from gross profit and compute net margin.
- Whale curve and segments: net margin of 20% and above is protected, 10–20% is watched and improved, 0–10% gets adjusted terms, and below zero is repriced or exited (thresholds are representative).
- Action and monthly tracking: assign each action to an owner and track net margin with monthly indicators.
Keep the indicators to a handful and fix their definitions; we explain how in our KPI guide.
How Is the Payback of Customer Profitability Analysis Calculated?
Payback is the investment divided by the monthly net benefit. The assumptions are representative: data integration and report setup at 27 person-days × ₺9,000 = ₺243,000; annual operation and maintenance of ₺36,000. The annual benefit comes from the actions for the two customers above: 153,400 + 17,500 = ₺170,900.
- Full realization: net benefit is 170,900 − 36,000 = ₺134,900 a year, or ₺11,242 a month; 243,000 ÷ 11,242 ≈ 21.6 months.
- Half realization: benefit is 85,450; net is 85,450 − 36,000 = ₺49,450 a year, or ₺4,121 a month; 243,000 ÷ 4,121 ≈ 59.0 months.
The result is sensitive to how far customers accept the actions. Compute the figure from your own data, not from assumptions.
What Are the Common Mistakes in Customer Profitability Analysis?
- Allocating by revenue: spreading cost-to-serve in proportion to revenue makes a loss-making customer look profitable.
- Forgetting financing: on credit sales the financing cost of receivables is often the largest item.
- Loading fixed costs onto customers: overheads such as rent do not change with customer behavior; allocating them blurs the decision.
- Dropping the customer straight away: if the fixed cost share is forgotten, losing the customer makes the overall result worse.
We recommend reading: How to manage B2B collections and receivables
We recommend reading: How to Do Key Account Management and Account Planning: Selection, Share of Wallet, QBR and Renewal Guide
We recommend reading: How to Analyze Product Profitability and Rationalize SKUs: Contribution Margin, Carrying Cost and Pruning Guide
We recommend reading: How to Do Activity-Based Costing (ABC Costing) and Overhead Allocation: Drivers, Idle Capacity and Decision Guide
Customer-Level Reporting with İnovabil
At İnovabil our focus is building software from scratch, specific to your company: custom software, ERP, CRM, e-commerce, web, mobile and integration. We do not have a ready-made customer profitability product; what you need is for the data in your ERP, CRM, support and customer account records to join on the same customer code and be reported. We recommend defining this in writing during requirements analysis, with the data sources, drivers and report screen.
We built CRM, purchasing and mobile for Avcılar İnşaat; a purchasing system for İZBAN; logistics and shipment planning with wholesale order management for Karyak; and a prepaid cargo system for Kredili Kargo. Write briefly about your current systems and the report you want to see, and we will scope it together.
We recommend reading: Our business intelligence and reporting service
Frequently Asked Questions
What is customer profitability analysis and how is it done in short?
For each customer you subtract order handling, shipping, returns, support and receivable financing costs from gross profit to find net contribution. You then rank customers by net contribution and define terms and service-level actions for those that are loss-making or thin-margin.
What is the difference between cost-to-serve and gross profit?
Gross profit is the gap between selling price and cost of goods and shows the customer's raw contribution. Cost-to-serve is the price of how much the customer taxes you through orders, shipping, returns, support and payment terms. Net contribution is the difference between the two.
Does the most profitable customer have to be the largest one?
No. In the example the largest customer, A, brings 40% of revenue yet is last on net contribution (−₺13,160); the most profitable customer, B, is second on revenue but produces 41.3% of total net contribution.
Is dropping a loss-making customer the right move?
Usually adjusting the terms first is better: minimum order value, shipping contribution, payment terms and discount, service level. If part of cost-to-serve is fixed, dropping the customer can worsen the total; with a 30% fixed share the example gives −₺134,788.
What data is needed for the analysis?
Net revenue and gross margin by customer, order and line counts, shipping paid, returns, support tickets and days to collect. These come from ERP, CRM, support and customer account records; the key condition is that all of them link to the same customer code.