Sales P&L: how to calculate margin by sales channel
A sales P&L is a management view of results that shows how much each sales channel generates after subtracting taxes, delivery costs, media, commission and team. It reveals margin by channel, which revenue hides. With that number, the owner decides where to put budget and people.
Don't confuse it with the accounting income statement (in Brazil, the DRE), prepared by the accountant for legal purposes. The sales P&L is an internal decision-making report, and each company can adjust the line items. It's common for a channel to look great on leads and revenue and, once you look at margin, turn out to be the one that leaves the least. Without this report, the discussion between marketing and sales becomes opinion, and the money keeps going to whoever makes the most noise.
Why isn't looking at revenue and CAC enough?
Revenue shows volume. Customer acquisition cost, or CAC, shows how much it cost to bring in the customer. Neither shows how much was left over. Two channels with the same revenue can have opposite results, because they differ in:
- average discount granted;
- cost of delivery and service;
- commission paid to partners;
- cancellation rate;
- sales rep time consumed.
A referral customer may buy with little discount and close quickly. A customer coming from a marketplace may carry a high fee and create more support work. To lower acquisition cost safely, see how to reduce CAC. Here the focus is the next step: how much is left afterward.
What counts as a sales channel in this report?
Define channels that lead to different decisions. Splitting too much makes it hard to read; grouping too much hides the problem. A common list:
- referrals;
- paid media;
- organic and content;
- outbound prospecting;
- partners or resellers;
- marketplace;
- existing customer base (repeat purchases and expansion).
Separate new acquisition from sales to the existing base. Mixing the two makes the channel look better than it is, because repeat purchases don't carry the same acquisition cost. This step depends on logging the source in the CRM. Start with tagging best practices.
Which line items does the sales P&L need?
A simple structure, from revenue to channel contribution:
| Line | What goes in |
|---|---|
| Gross revenue | Channel sales |
| (−) Discounts and returns | Rebates, cancellations |
| (−) Sales taxes | Taxes levied on the sale |
| = Net revenue | |
| (−) Cost of delivery | Product, shipping, service hours, onboarding |
| = Gross margin | |
| (−) Variable selling costs | Commissions, platform fees, payment gateway |
| (−) Channel media and campaigns | Budget, agencies, events |
| = Contribution margin | |
| (−) Dedicated team | Channel SDRs, sales reps and tools |
| = Channel contribution |
Channel contribution is the central number. It shows how much the channel delivers to pay for the company's structure and generate profit. Overhead, such as rent and administration, stays out, to avoid allocations that distort the decision. Validate the classification of taxes and costs with your accountant.
How do you build it in six steps?
1. Define the period
Use a closed month, or a quarter if the cycle is long. Quarters reduce the noise from a single large sale.
2. Assign the source of each sale
Take all the sales from the period and tag the channel. Choose an attribution rule, such as the channel that generated the opportunity, and stick with it. Sales with no source go into "unidentified." If that group is large, the first job is fixing the logging.
3. Allocate direct costs
Media and fees have an obvious channel. Commissions come from the sale itself. Cost of delivery can be taken from the order or from an average per product.
4. Distribute the shared team
When a sales rep serves several channels, split the cost by the share of time or opportunities worked. It doesn't have to be perfect. It has to be explicit and stable.
5. Calculate the margins
Calculate the contribution margin and channel contribution, in reais and as a percentage of net revenue.
6. Compare and decide
Put the channels side by side and look at the trend. A single month is rarely enough to decide to end a channel.
Take Nexo's free assessment and find out which channels are bringing in customers who actually leave margin.
Take the free assessment
Example with hypothetical numbers
A B2B services company analyzes a quarter. All values are fictional, in thousands of reais.
| Line | Referrals | Paid media | Partners |
|---|---|---|---|
| Net revenue | 300 | 500 | 400 |
| Cost of delivery | (120) | (225) | (180) |
| Gross margin | 180 | 275 | 220 |
| Commissions and fees | (15) | (25) | (80) |
| Media and campaigns | (5) | (150) | (10) |
| Contribution margin | 160 | 100 | 130 |
| Dedicated team | (40) | (60) | (30) |
| Channel contribution | 120 | 40 | 100 |
| % of net revenue | 40% | 8% | 25% |
By revenue, paid media is the winner. By contribution, it's last. The right conclusion isn't necessarily to cut media. A few questions come first:
- Does media bring in customers who later buy again or refer others?
- Is there room to improve the conversion rate?
- Can referrals grow, or are they at their limit?
- How much contribution would the next unit of budget bring?
The report tells you where to investigate. The decision requires context.
How do you include customer value over time?
The period P&L penalizes channels that bring in customers with long contracts, because future revenue hasn't shown up yet. Complete the analysis with a cohort view: group customers by month of acquisition and channel, and track accumulated margin over the months.
| Question | Metric |
|---|---|
| How much does the customer leave over the relationship? | Accumulated margin per customer |
| How long does it take to pay back acquisition? | CAC payback months |
| Who cancels more? | Cancellation by channel |
| Who buys again? | Repeat purchases and expansion by channel |
This data also helps marketing stop optimizing cost per lead and start optimizing margin per customer. See acquisition metrics that matter.
How do you use the report in a decision?
After the number, choose one action per channel. A simple matrix does the job:
| Channel situation | Likely decision |
|---|---|
| High margin, room to grow | Invest more and measure the marginal margin |
| High margin, no room | Protect it and create a program, such as a structured referral program |
| Low margin, high volume | Review price, discount, cost of delivery and qualification |
| Low margin, low volume | Reduce or shut down, after checking the effect on other channels |
| Negative margin, long-term customer | Assess by cohort before deciding |
Watch out for cross effects. Cutting media can reduce branded searches and, with that, leads that showed up as organic. Reduce gradually and watch the other channels before shutting one down.
How do you turn this into a routine?
- Monthly: update the report and note what changed.
- Quarterly: bring marketing, sales and finance together to decide budget and focus.
- In targets: use contribution, not just revenue, to set goals by channel.
- In commission: check whether compensation encourages the right channels. See sales variable compensation.
For it to work, someone needs to own the number. In many companies, that role falls to revenue operations.
Who takes part in the analysis, and how do you avoid fights over credit?
When the report comes out, it's natural for each area to defend its own channel. Marketing will point out that some referrals started with a piece of content. Sales will say partner leads take more time. Both may be right, which is why the rules need to be agreed on before the numbers appear.
Three agreements reduce friction:
- A single source. Revenue comes from finance, source comes from the CRM and media comes from the platforms, checked against invoices.
- A written attribution rule. Anyone who wants to change it proposes the change for the next period, not for one that's already over.
- A shared question. The meeting doesn't discuss who deserves the credit, but where to put the next real.
Start simple. A spreadsheet with the line items from this article, filled in for the last quarter, usually already raises the right questions. Only after two or three rounds is it worth automating. Automating before the rules are stable just makes the error arrive faster, in a better-looking report.
If the first version shows many sales with no source, treat that as a result, not a failure: you've just found out what to fix in the sales process.
Common mistakes
- Allocating the company's entire structure and making the result unreadable.
- Changing the attribution rule every month.
- Mixing new sales and repeat purchases.
- Ignoring discounts, cancellations and service costs.
- Deciding with a single month of data.
- Confusing the management P&L with the accounting statement.
Conclusion
The sales P&L swaps the question "which channel sells the most?" for "which channel leaves the most money?". With sources logged well and a simple model, marketing and sales start discussing margin, and the owner can decide on budget, team and targets based on what's really left over.
Want to know the real margin of your channels? Start with Nexo's free assessment.
Take the free assessment
To organize data, channels and your decision routine, check out Nexo's sales consulting and B2B marketing.
Frequently Asked Questions
What is a sales P&L?
How do you calculate margin by channel?
Should I allocate rent and administrative costs?
Should I cut the channel with the lowest margin?

Founder of Nexo
20+ years transforming sales. Creator of the Método BD, Sistema Varejo Pró and Engrenagem comercial methodologies.