Warehouse & Inventory

Cost to Serve Calculator (Customer Profitability)

Two customers with the same sales can earn very different profits once you count the small orders, rush deliveries, returns and long credit one of them needs. Enter a customer's or channel's yearly figures to see its true cost to serve and net profit.

Also known as: customer profitability calculator · cost to serve analysis · CTS calculator · channel profitability calculator · customer margin after logistics · pocket margin calculator

Enter details

₹
%
₹
₹
%
%
%
₹
%

Result

Net profit after cost to serve₹11,55,870
Net margin
23.1%
Gross margin before cost to serve
₹19,00,000
Total cost to serve
₹7,44,130
Cost to serve per order
₹3,100.54
Average order value
₹20,833.33

Cost to serve breakdown

CostPer year% of revenue
Order processing and picking1,08,0002.2%
Outbound freight2,10,0004.2%
Returns handling37,5000.8%
Discounts and rebates2,00,0004.0%
Sales and service90,0001.8%
Credit (cost of waiting for payment)98,6302.0%
Total cost to serve7,44,13014.9%

Results are estimates for planning. Confirm final rates, rules and charges with your carrier or authority.

How to use the Cost to Serve Calculator

  1. Enter Annual revenue from the customer, Cost of goods, Orders per year, Order processing and picking cost per order, Outbound freight per year, Returns.
  2. Read the result instantly – it updates as you type, with a breakdown below the main figure.
  3. Use “Copy link” to share the exact calculation, or “Copy results” to paste it into an email, quote or invoice.

Cost to Serve Calculator formula

Gross margin = revenue × (1 − cost of goods %)
Cost to serve = orders × cost per order + freight + returns handling + discounts + service + credit cost
Credit cost = revenue × cost of capital × days to pay ÷ 365
Net profit = gross margin − cost to serve

About the Cost to Serve Calculator

Cost to serve (CTS) analysis allocates the costs that sit between gross margin and real profit to the customers and channels that cause them. Product costing treats every rupee of sales the same; cost to serve shows that a customer ordering small quantities daily with express delivery, frequent returns and 90-day credit can cost several times more to serve than one ordering full truckloads monthly and paying in 30 days.

The main drivers are order frequency and size, delivery method and distance, returns, trade discounts and schemes, sales and customer-service effort, and payment terms. The credit cost is often forgotten: waiting 60 days for payment at a 12% cost of capital costs about 2% of revenue.

Results are used to set minimum order quantities, delivery charges or free-delivery thresholds, to redesign service levels by segment, and to renegotiate terms with unprofitable accounts. The goal is not to drop customers but to serve each in a way that is profitable for both sides.

Worked example

Here is the calculation for the sample values pre-filled in the cost to serve calculator above.

Inputs
Annual revenue from the customer₹50,00,000
Cost of goods (% of revenue)62 %
Orders per year240
Order processing and picking cost per order₹450
Outbound freight per year₹2,10,000
Returns (% of revenue)3 %
Returns handling cost (% of returned value)25 %
Discounts, rebates and schemes (% of revenue)4 %
Sales visits, support and special services per year₹90,000
Average days to get paid60
Cost of capital (% a year)12 %
Results
Net profit after cost to serve₹11,55,870
Net margin23.1%
Gross margin before cost to serve₹19,00,000
Total cost to serve₹7,44,130
Cost to serve per order₹3,100.54
Average order value₹20,833.33

Who uses this tool

  • Finding which customers or channels are really profitable
  • Setting minimum order values and delivery charges
  • Preparing for a price or terms negotiation with a key account
  • Comparing B2B, distributor and e-commerce channels

Tips to save cost and avoid mistakes

  • Start with your largest 20 customers; they usually show the widest spread.
  • Use activity rates, cost per order and per delivery, rather than spreading costs by revenue.
  • Include credit cost; long payment terms quietly erode margin.
  • Share the analysis with sales: order size and frequency are often easy to change.

Cost to Serve Calculator – frequently asked questions

What is cost to serve?

All costs of getting products to a customer and maintaining the relationship, beyond the product cost: order handling, freight, returns, discounts, sales and service, and the cost of credit.

How do you calculate customer profitability?

Gross margin from the customer minus its cost to serve. With ₹50 lakh revenue at 38% gross margin and ₹7.4 lakh cost to serve, net profit is about ₹11.6 lakh.

How is the cost of credit calculated?

Revenue × cost of capital × average days to pay ÷ 365. ₹50 lakh paid in 60 days at 12% costs about ₹98,600 a year.

What should I do with unprofitable customers?

First change how you serve them: larger and fewer orders, standard delivery, delivery charges or shorter credit. Price changes come next; dropping a customer is the last step.

Related tools