Why every deal starts with trading comps
Ask a banker, a private-equity associate or a corporate development manager how they value a company in the first hour of a deal and most will give the same answer: look at what the market already pays for similar companies. That is trading comparables, or "comps". It is the first page of almost every pitch book, the first sanity check on a leveraged buyout (LBO) and the first number a board asks about when an offer arrives. This free lesson is for anyone who wants to build that page in Excel: finance students preparing for investment banking interviews, analysts moving into M&A, founders who want to understand how buyers think about their company, and accountants who keep hearing "it trades at eight times EBITDA" and want to know exactly what that means.
In the lab above you work on Ironbridge Tools, a fictional maker of hand and power tools. A buyer wants to know what one share is really worth today. You have twelve listed peers with share prices, share counts, net debt, EBITDA and net income. By the end you will have calculated two multiples for every peer, taken the medians, flagged the peer whose numbers you should not trust, and turned it all into an implied share price. All companies and figures are fictional and the lesson is educational, not investment advice.
The core idea: price is meaningless, multiples are comparable
A share price of $65 does not tell you that Corbel Machinery is "more expensive" than Lowmoor Supply at $9.60. Corbel has 55 million shares, Lowmoor has 400 million. To compare companies of different sizes you divide a measure of value by a measure of earnings. The result is a multiple: how many dollars investors pay for one dollar of profit.
There are two ways to measure value, and each has to be paired with the right earnings figure. Market capitalisation (share price × diluted shares) is the value of the equity alone. Enterprise value (EV = market cap + net debt) is the value of the whole operating business, which belongs to lenders and shareholders together. Net debt is borrowings minus cash. Many practitioners also add preferred stock and minority interests to EV, but this lab keeps it to the simplest definition.
- EV / EBITDA: EBITDA (earnings before interest, tax, depreciation and amortisation) is earned before lenders are paid, so it belongs to everyone who funds the business. It is therefore paired with EV. Because it ignores capital structure, two companies with very different debt levels can still be compared.
- P / E: net income is what is left for shareholders after interest and tax, so it is paired with market cap (or, per share, price ÷ EPS). It is the multiple most quoted in the press, but it is affected by leverage, tax and one-off items.
- The golden rule: numerator and denominator must belong to the same group of investors. EV with EBITDA, EBIT or revenue; market cap with net income or book value. Mixing them, for example market cap ÷ EBITDA, gives a number that looks plausible and means nothing.
Once you have a multiple for every peer, you summarise the group with the median, not the average. The median is the middle value: with twelve peers it is the average of the 6th and 7th value when they are sorted. One unusual company cannot pull it far. Then you apply the median to the target: median EV / EBITDA × the target's EBITDA gives an implied EV; subtract net debt to get equity value; divide by diluted shares to get a price.
Worked example: twelve tool makers and Ironbridge
Here is the full set of peer numbers from the lab, with the multiples already worked out. Market cap is =B4*C4, enterprise value is =D4+E4, EV / EBITDA is =F4/G4 and P / E is =D4/H4. Take Apex Tools: 42.50 × 120 million shares = market cap 5,100; plus net debt 850 = EV 5,950; ÷ EBITDA 760 = 7.8x; 5,100 ÷ net income 380 = 13.4x.
| Peer | Market cap | Net debt | EV | LTM EBITDA | LTM net income | EV / EBITDA | P / E |
|---|---|---|---|---|---|---|---|
| Apex Tools | 5,100 | 850 | 5,950 | 760 | 380 | 7.8x | 13.4x |
| Brennan Industrial | 5,922 | 1,200 | 7,122 | 880 | 420 | 8.1x | 14.1x |
| Corbel Machinery | 3,575 | 300 | 3,875 | 520 | 255 | 7.5x | 14.0x |
| Dunmore Systems | 5,625 | 650 | 6,275 | 690 | 330 | 9.1x | 17.0x |
| Elgin Hardware | 4,617 | 420 | 5,037 | 640 | 300 | 7.9x | 15.4x |
| Fenwick Fasteners | 3,416 | 380 | 3,796 | 470 | 250 | 8.1x | 13.7x |
| Garrow Power Tools | 6,016 | 1,500 | 7,516 | 980 | 140 | 7.7x | 43.0x |
| Hartley Abrasives | 3,328 | 210 | 3,538 | 410 | 230 | 8.6x | 14.5x |
| Inver Precision | 4,350 | 90 | 4,440 | 370 | 205 | 12.0x | 21.2x |
| Jarrow Workshop | 3,798 | 760 | 4,558 | 580 | 265 | 7.9x | 14.3x |
| Kestrel Drives | 3,630 | 540 | 4,170 | 520 | 230 | 8.0x | 15.8x |
| Lowmoor Supply | 3,840 | 900 | 4,740 | 610 | 290 | 7.8x | 13.2x |
| Median | 7.94x | 14.40x | |||||
| Average (for comparison) | 8.36x | 17.47x |
Look at the two summary rows. For EV / EBITDA the median (7.94x) and the average (8.36x) are fairly close, because the multiples cluster between about 7.5x and 9x, with Inver Precision the only clear high value at 12.0x. For P / E the gap is much larger: a median of 14.40x against an average of 17.47x. The reason is Garrow Power Tools. Its EV / EBITDA of 7.7x is perfectly normal, but its net income was cut by a one-off plant-closure charge, so its P / E jumps to 43.0x. That is not a sign that investors love Garrow, it is a sign that its LTM earnings are temporarily depressed.
Now apply the medians to Ironbridge Tools, which has LTM EBITDA of 410, net debt of 520, 85 million diluted shares and LTM net income of 190 (USD millions).
| Step | EV / EBITDA route | P / E route |
|---|---|---|
| Median multiple | 7.94x =K17 | 14.40x =L17 |
| Apply to Ironbridge metric | × EBITDA 410 = EV 3,257 | × net income 190 = equity 2,736 |
| Bridge to equity | − net debt 520 = equity 2,737 | not needed (already equity) |
| ÷ diluted shares 85m | $32.20 | $32.19 |
| Excel formula | =(K17*B20-B21)/B22 | =L17*B23/B22 |
Both routes land at about $32.20 per share. That agreement is partly a coincidence of these fictional numbers, but it is also a useful check: when two independent methods give similar answers you can present the result with more confidence. If you had used the average P / E instead, the implied price would be about $39.05, roughly $7 higher, driven entirely by one distorted data point.
How to build it in Excel, step by step
- Lay out the peer table. One row per company, one column per input: share price, diluted shares, net debt, LTM EBITDA, LTM net income. Keep the inputs in blue font or a light fill so reviewers can see which cells are hard-coded (Home → Font Color).
- Calculate market cap and EV. In D4 type
=B4*C4, in F4=D4+E4. Select D4:D15 and press Ctrl+D (Mac: Cmd+D) to fill down; do the same for F4:F15. - Calculate the multiples. In K4 type
=F4/G4and in L4=D4/H4, then fill both down to row 15. Format them with one decimal and an "x" suffix via Home → Number Format → More Number Formats → Custom, type0.0"x". - Take the medians. In K17 type
=MEDIAN(K4:K15)and in L17=MEDIAN(L4:L15). Optionally add=AVERAGE(K4:K15)in a row below so you can show the difference. - Chart the spread. Select A3:A15, hold Ctrl (Mac: Cmd) and add K3:K15, then Insert → Charts → Clustered Bar. Sort the data descending first (Data → Sort, by column K, Largest to Smallest) so the chart reads from most to least expensive.
- Flag outliers. Select L4:L15, then Home → Conditional Formatting → Highlight Cells Rules → Greater Than, type 25 and choose Light Red Fill. Garrow Power Tools lights up immediately.
- Value the target. Put Ironbridge's EBITDA, net debt, shares and net income in B20:B23. Implied price via EV / EBITDA:
=(K17*B20-B21)/B22. Implied price via P / E:=L17*B23/B22. Format as currency with Ctrl+Shift+$ (Mac: Cmd+Shift+$). - Name the suspicious peer.
=INDEX(A4:A15,MATCH(MAX(L4:L15),L4:L15,0))returns the company with the highest P / E, so the model updates itself if the data change. - Document. Add a Note column explaining one-offs, recent listings or business-model differences. Reviewers read that column before they read your multiples.

Choosing the peer group
Formulas are the easy part. The judgement is in which companies you include. Good comps share the target's industry, business model, size, growth and margin profile, and geography. In the lab the Revenue growth and EBITDA margin columns let you check this: Ironbridge grows about 4.8% with a 17.8% margin, which places it in the middle of the pack. Inver Precision grows 14.5% with a 24.8% margin and was listed only two years ago, so its higher multiple is explained by fundamentals rather than an error. Lowmoor Supply is mainly a distributor with lower margins, which is why the Note column flags it. Whether you keep or drop such peers is a judgement call; the important thing is to explain your choice rather than quietly delete the companies that do not fit the answer you want.
A common professional compromise is to keep all peers in the table but present the valuation as a range, for example the 25th to 75th percentile of the multiples, using =QUARTILE.INC(K4:K15,1) and =QUARTILE.INC(K4:K15,3). That range becomes one bar on the "football field" chart you build in the next lesson.
Common mistakes and how to spot them
- Using the average instead of the median. Spot it by putting both side by side; if they differ by more than a turn or two, find the peer responsible and read its note.
- Mismatched pairs. Market cap ÷ EBITDA or EV ÷ net income. Spot it by asking, for every multiple, "who owns the numerator and who owns the denominator?"
- Forgetting the bridge. On the EV route you must subtract net debt before dividing by shares. If your EV-based price is much higher than the P / E-based price for a leveraged company, check this first.
- Basic instead of diluted shares. Options and convertibles add shares. Using basic shares overstates the price per share; always use diluted counts.
- Negative or tiny earnings. A company with a loss has a negative P / E, which is meaningless. Show "n.m." (not meaningful) with
=IF(H4<=0,"n.m.",D4/H4)and MEDIAN will ignore the text. - Mixed periods or currencies. One peer on a calendar year, another on a March year-end, a third reported in euros. Align them before you compare.
- Hard-coded multiples. Typing 7.8 instead of
=F4/G4breaks the model the moment a share price changes. Every multiple should be a formula.
Quick reference: functions and shortcuts
| Function / shortcut | What it does here | Example |
|---|---|---|
MEDIAN | Middle value of the peer multiples, robust to outliers | =MEDIAN(K4:K15) |
AVERAGE | Arithmetic mean, only to show how outliers distort | =AVERAGE(L4:L15) |
QUARTILE.INC | 25th / 75th percentile for a valuation range | =QUARTILE.INC(K4:K15,1) |
IFERROR | Shows a dash instead of #DIV/0! for negative or zero earnings | =IFERROR(D4/H4,"n.m.") |
LARGE / SMALL | Highest or lowest multiple, to find outliers | =LARGE(L4:L15,1) |
INDEX + MATCH | Name of the peer with the highest P / E | =INDEX(A4:A15,MATCH(MAX(L4:L15),L4:L15,0)) |
| Ctrl+D / Cmd+D | Fill a formula down a selected column | select K4:K15, then Ctrl+D |
| F4 / Cmd+T | Toggle absolute references such as $B$20 | inside the formula bar |
| Ctrl+Shift+% / Cmd+Shift+% | Percentage format for growth and margin | on I4:J15 |
Real-world uses
- Pitch books. An investment bank pitching to advise a company on a sale shows the comps table on one of the first pages to frame what buyers might pay.
- Private-equity screening. Before building a full LBO, an associate checks what the target would cost at peer multiples and whether the exit multiple assumed later is realistic.
- Fairness opinions and board papers. When a board receives an offer, its advisers compare the offer price with the trading-comps range to judge whether it is reasonable.
- Equity research. Analysts compare a stock's multiple with peers to argue that it looks cheap or expensive relative to its growth and margins.
- Founders and CFOs. Before a fundraising round or a sale process, management teams use listed peers to estimate what a business might be worth and which metrics buyers will focus on.
What you will build in the rest of this course
This first lesson is free. The remaining 19 lessons are part of the paid course (a one-time $9.90) and take you from valuation to a complete leveraged buyout and merger analysis, each with its own hands-on lab and automatic checking.
Precedent Transactions & the Football Field. You turn six past takeovers into a per-share valuation range with MIN, MAX and MEDIAN and place it on a football-field chart next to your trading comps and a DCF, the single chart that summarises most valuation discussions.
Sources & Uses of Funds. The buyout of Northfield Packaging begins. You size everything the deal needs (purchase price, refinancing, fees) and fund it with two debt tranches and the sponsor's equity, so both sides balance to the dollar.
LBO Debt Schedule & Cash Sweep. You build a five-year schedule in which every spare dollar of free cash flow repays the term loan, and you learn how to do it without creating a circular reference, a classic interview question.
LBO Returns: Exit Value, MOIC & IRR. You value Northfield at exit, work out what the sponsor's equity is worth and measure the return as a multiple of money and an internal rate of return, the two numbers every private-equity investment committee asks for.
M&A Accretion / Dilution: Stock vs Cash. You calculate the acquirer's pro-forma EPS for an all-stock, a 50/50 and an all-cash deal and find the most accretive way to pay.
Synergies & Breakeven Synergies. You measure how dilutive an all-stock deal is, solve for the synergies needed to break even and test whether partly realised year-one synergies are enough.
Summary
Trading comps value a company by borrowing the market's judgement about similar businesses. Pair EV with EBITDA and market cap with net income, summarise the peers with the median, apply it to the target and, on the EV route, subtract net debt before dividing by diluted shares. For Ironbridge Tools both routes point to roughly $32.20 per share, while a careless average would have added about $7. Now scroll back up to the lab, fill in the multiples for all twelve peers, chart the spread and see for yourself which peer you should treat with care.
Frequently asked questions
What are trading comparables?
Trading comparables value a company by looking at the multiples, such as EV/EBITDA or P/E, at which similar listed companies trade. You apply the peer median to the target's own earnings to get an implied value.
Why use the median instead of the average in a comps table?
The median is the middle value, so one unusual peer with depressed earnings or a very high growth rate cannot pull it far. The average can be distorted by a single outlier.
How do you calculate enterprise value in Excel?
Enterprise value is market capitalisation plus net debt. With share price in B4, diluted shares in C4 and net debt in E4, use =B4*C4+E4.
Why is EV paired with EBITDA but market cap with net income?
EBITDA is earned before lenders are paid, so it belongs to both debt and equity holders, like EV. Net income is what remains for shareholders only, like market cap.
How do I get an implied share price from EV/EBITDA?
Multiply the median EV/EBITDA by the target's EBITDA to get implied EV, subtract net debt to get equity value, and divide by diluted shares, for example =(K17*B20-B21)/B22.
What should I do with a peer that has negative earnings?
A negative P/E is not meaningful. Show it as "n.m." with a formula such as =IF(H4<=0,"n.m.",D4/H4); Excel's MEDIAN ignores text, so the peer drops out of that statistic.
Keep going: Investment Banking Modeling: LBO & M&A
This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time CHF 9.90.
- Precedent Transactions & the Football Field
- Sources & Uses of Funds
- LBO Debt Schedule & Cash Sweep
- LBO Returns: Exit Value, MOIC & IRR
- M&A Accretion / Dilution: Stock vs Cash
- Synergies & Breakeven Synergies
- The LBO Operating Model: From Revenue Drivers to Free Cash Flow
- Where Does the Return Come From? The Value Creation Bridge
- IRR & MOIC Sensitivity: Exit Multiple × Exit Year
- Covenant Tests: Net Leverage, Interest Cover & EBITDA Headroom
- Dividend Recap: Cash Back Early, IRR Up, MOIC Down
- The Exit Waterfall: Shareholder Loan, Ordinary Shares & Sweet Equity
- From Offer Price to Purchase Price: Diluted Shares & the Treasury Stock Method
- Contribution Analysis & the Exchange Ratio in a Stock Merger
- Project: A One-Page LBO Dashboard for a New Target
- Buy-and-Build: Add-On Acquisitions, the Blended Entry Multiple and Multiple Arbitrage
- Earn-Outs: Valuing a Contingent Payment with Scenarios, Probabilities and Discounting (Chart)
- Debt Capacity: Sizing the Buyout Debt from Leverage, Interest Cover and FCF Tests (Chart)
- Final Project: Bid Strategy – the Sponsor's Maximum Price vs the Strategic Buyer's Maximum Price (Chart)