Skip to content
p.mba

Type to search tools, guides, glossary terms, frameworks, formula sheets and pages.

Menu

Trading comps calculator

Paste a peer table from Excel or Sheets to get market cap, EV, EV/Revenue, EV/EBITDA, EV/EBIT and P/E, quartile stats and an implied valuation range.

When you’ll use this
  • Valuation course, relative-valuation weeks: turning a pasted peer set into multiples and quartiles
  • Investment banking recruiting (fall): practicing comps math and NM conventions before technical interviews
  • Stock-pitch competitions and investment clubs: building a quick football-field range for a target
  • Case competitions: cross-checking a DCF with a market-multiples range

Trading comps calculator tool

Loading your saved inputs…

Back up all tools

Peer table
Copy a range with a header row from Excel or Google Sheets and paste it here (tab-separated), or paste CSV.
Use one unit throughout (the example is in $ millions with shares in millions). $, commas, % and (1,234) negatives are read; n/a, NM and dashes count as blank.
Column mapping
Detected from the header row: 10 of 14 fields mapped. Change any that are wrong.
Show or change the mapping

Mapped: Company ← Company · Share price ← Share price · Diluted shares ← Diluted shares (m) · Total debt ← Total debt · Cash ← Cash · Minority interest ← Minority interest · Revenue ← Revenue · EBITDA ← EBITDA · EBIT ← EBIT · Net income ← Net income

Peer multiples

Include in statistics
Market cap, enterprise value and multiples by company (same units as the pasted table)
CompanyIn statsMarket capNet debtEnterprise valueEV / RevenueEV / EBITDAEV / EBITP / ENotes
Alder SystemsYes5,100.0500.05,600.02.3x11.7x15.6x24.3x—
Birch AnalyticsYes4,500.0270.04,770.02.7x15.9x22.7x37.5x—
Cedar LabsYes4,500.0-500.04,000.03.6x15.4x20.0x30.0x—
Dogwood IncYes3,800.01,150.04,950.01.7x14.1x27.5xNMP / E NM (Net income ≤ 0)
Elm RoboticsYes2,700.0-50.02,650.04.4xNMNMNMEV / EBITDA NM (EBITDA ≤ 0); EV / EBIT NM (EBIT ≤ 0); P / E NM (Net income ≤ 0)
Fir HoldingsYes8,250.0680.08,930.02.2x12.8x17.2x25.0x—

NM = not meaningful (negative or zero denominator or numerator), left out of the statistics. * = removed by the outlier screen. — = input missing.

Summary statistics

Drops values outside the Tukey fences (25th percentile − 1.5 × IQR, 75th percentile + 1.5 × IQR), separately for each multiple with at least 4 meaningful values.
Peer statistics by multiple (percentiles match Excel PERCENTILE.INC)
MultiplenMin25th pctMedianMean75th pctMax
EV / Revenue61.7x2.3x2.5x2.8x3.4x4.4x
EV / EBITDA511.7x12.8x14.1x14.0x15.4x15.9x
EV / EBIT515.6x17.2x20.0x20.6x22.7x27.5x
P / E424.3x24.8x27.5x29.2x31.9x37.5x
EV / EBITDA by peerIncluded peers with a meaningful value, after any outlier screen.
0.0x5.0x10.0x15.0x20.0xAlder SystemsBirch AnalyticsCedar LabsDogwood IncFir Holdings
Data table
EV / EBITDA by peer: data
CategoryEV / EBITDA
Alder Systems11.7x
Birch Analytics15.9x
Cedar Labs15.4x
Dogwood Inc14.1x
Fir Holdings12.8x
Target company
Use the same units as the peer table. Net debt = debt + preferred + minority interest − cash.

9 of 60 characters

Optional; needed for a per-share value. Same scale as the peers' shares.
Range

Implied valuation of Target Co

Implied value per share (median)

$31.61

Range $28.14 to $34.71 (25th–75th percentile)

Implied equity value (median)

2,528.6

Range 2,251.4 to 2,776.9

Implied enterprise value (median)

2,828.6

Range 2,551.4 to 3,076.9

Target EBITDA

200.0

Net debt 300.0

Implied valuation from peer EV / EBITDA (25th–75th percentile; same units as the inputs)
PointEV / EBITDAEnterprise valueEquity valuePer share
Low (25th percentile)12.76x2,551.42,251.4$28.14
Mid (median)14.14x2,828.62,528.6$31.61
High (75th percentile)15.38x3,076.92,776.9$34.71

EV multiples give enterprise value (multiple × target metric); equity value subtracts net debt.

How this works

Trading comps value a company by looking at what the market pays for similar listed companies, expressed as multiples of revenue, EBITDA, EBIT or earnings. This tool turns a pasted peer table into those multiples, summarizes them, and applies a chosen multiple and range to your target.

Formulas

For each peer:

Market cap=Share price×Diluted shares\text{Market cap} = \text{Share price} \times \text{Diluted shares} EV=Market cap+Debt+Preferred+Minority interest−CashEV = \text{Market cap} + \text{Debt} + \text{Preferred} + \text{Minority interest} - \text{Cash} EVRevenue,EVEBITDA,EVEBIT,P/E=PriceEPS  or  Market capNet income\frac{EV}{\text{Revenue}}, \qquad \frac{EV}{EBITDA}, \qquad \frac{EV}{EBIT}, \qquad P/E = \frac{\text{Price}}{EPS} \ \text{ or } \ \frac{\text{Market cap}}{\text{Net income}}

Percentiles (the same interpolation as spreadsheet PERCENTILE.INC). Sort the nn meaningful values v1≤⋯≤vnv_1 \le \dots \le v_n, then for percentile pp:

h=(n−1) p,P(p)=v⌊h⌋+1+(h−⌊h⌋) (v⌊h⌋+2−v⌊h⌋+1)h = (n-1)\,p, \qquad P(p) = v_{\lfloor h \rfloor + 1} + (h - \lfloor h \rfloor)\,\big(v_{\lfloor h \rfloor + 2} - v_{\lfloor h \rfloor + 1}\big)

The median is P(0.5)P(0.5) and the quartiles are P(0.25)P(0.25) and P(0.75)P(0.75).

Outlier screen (optional, Tukey fences):

keep v if  Q1−1.5 (Q3−Q1)≤v≤Q3+1.5 (Q3−Q1)\text{keep } v \text{ if } \ Q_1 - 1.5\,(Q_3 - Q_1) \le v \le Q_3 + 1.5\,(Q_3 - Q_1)

Implied valuation for a target with net debt ND=Debt+Preferred+Minority−CashND = \text{Debt} + \text{Preferred} + \text{Minority} - \text{Cash}:

EV multiples: EVtarget=m×Metric,Equity=EVtarget−ND\text{EV multiples: } EV_{\text{target}} = m \times \text{Metric}, \qquad \text{Equity} = EV_{\text{target}} - ND P/E: Equity=m×Net income,EVtarget=Equity+NDP/E: \ \text{Equity} = m \times \text{Net income}, \qquad EV_{\text{target}} = \text{Equity} + ND Value per share=EquityTarget diluted shares\text{Value per share} = \frac{\text{Equity}}{\text{Target diluted shares}}

Conventions & assumptions

  • Paste format. The first non-blank row is the header. Tab-separated text (what Excel and Google Sheets copy) is detected automatically; otherwise comma- or semicolon-separated text is read, with double quotes around cells that contain the delimiter or line breaks.
  • Numbers. Currency symbols, thousands separators and spaces are ignored. Parentheses mean negative, so (40) is −40. A trailing % divides by 100 and a trailing x is dropped. Blank cells and markers such as NM, n/a, a dash or #N/A count as missing. Decimal commas (1.234,5) are not supported. Cells that cannot be read are listed so you can fix them.
  • Column mapping. Headers are matched to fields by common names (for example “FD shares”, “Adj. EBITDA”, “Net sales”, “Non-controlling interest”). EBITDA and EBIT are kept apart. You can override any mapping. Price and diluted shares, or a market-cap column, are required.
  • Units. All amounts must use one unit (for example $ millions with shares in millions, so price × shares is also in $ millions). The tool does not convert currencies or scales, and it uses whatever period you paste (LTM or forward) without checking that every peer uses the same one.
  • EV bridge. Missing debt, cash, preferred or minority interest counts as zero. If you paste a single net-debt column and no separate debt or cash, that column is used instead.
  • NM (not meaningful). A multiple is NM when its denominator is zero or negative (a loss-making peer’s P/E, for example) or its numerator is zero or negative (a company whose cash exceeds its market cap plus debt). NM values are shown but left out of every statistic. They are never treated as zero.
  • Statistics. Min, 25th percentile, median, mean, 75th percentile and max use only included peers with a meaningful value for that multiple, so the count can differ by column.
  • Outlier screen. When it is on, values outside the Tukey fences are dropped for that multiple only. The screen needs at least four meaningful values and runs once (it does not re-screen the trimmed set).
  • Band. “Interquartile” values the target at the 25th percentile, median and 75th percentile multiples. “Full range” uses min, median and max.

Worked example

Six fictional peers ($ millions; shares in millions; price in $):

CompanyPriceDiluted sharesDebtCashMinorityRevenueEBITDAEBITNet income
Alder Systems42.5012080030002,400480360210
Birch Analytics18.00250400150201,800300210120
Cedar Labs75.0060050001,100260200150
Dogwood Inc9.504001,200100503,000350180(40)
Elm Robotics30.00901502000600(25)(60)(80)
Fir Holdings55.00150900250304,000700520330
  1. Market cap and EV. Alder: 42.50 × 120 = 5,100; EV = 5,100 + 800 − 300 + 0 = 5,600. Cedar has net cash, so its EV (4,000) is below its market cap (4,500).
  2. Multiples.
CompanyMarket capEVEV/RevenueEV/EBITDAEV/EBITP/E
Alder Systems5,1005,6002.33x11.7x15.6x24.3x
Birch Analytics4,5004,7702.65x15.9x22.7x37.5x
Cedar Labs4,5004,0003.64x15.4x20.0x30.0x
Dogwood Inc3,8004,9501.65x14.1x27.5xNM
Elm Robotics2,7002,6504.42xNMNMNM
Fir Holdings8,2508,9302.23x12.8x17.2x25.0x
  1. EV/EBITDA statistics (five meaningful values, since Elm’s EBITDA is negative): min 11.7x, 25th percentile 12.8x, median 14.1x, mean 14.0x, 75th percentile 15.4x, max 15.9x. With five values the quartile positions land exactly on the 2nd and 4th sorted values.
  2. Target. Target Co has EBITDA of 200, debt of 350 and cash of 50 (net debt 300), and 80 million diluted shares.
  3. Implied range (EV/EBITDA, interquartile).
    • Low: 12.76x × 200 = 2,551.4 EV, so equity is 2,251.4, or $28.14 per share.
    • Mid: 14.14x × 200 = 2,828.6 EV, so equity is 2,528.6, or $31.61 per share.
    • High: 15.38x × 200 = 3,076.9 EV, so equity is 2,776.9, or $34.71 per share.

Limitations

  • The output is only as good as the peer set. Choosing comparable businesses (size, growth, margins, geography, business mix) is the real work, and this tool cannot judge it.
  • No calendarization: if peers have different fiscal year-ends, align their periods before pasting.
  • No adjustments for leases, pensions, equity-method investments, non-recurring items or stock-based compensation. Normalize those in your spreadsheet first.
  • Diluted shares are taken as pasted. The tool does not run the treasury stock method on options or convertibles.
  • Trading multiples reflect minority, marketable stakes. A control acquisition usually needs a premium (see precedent transactions), and a private company may deserve a discount.
  • Educational use only; not investment advice.

Excel/Sheets equivalents

  • Market cap and EV: =B2*C2 and =market_cap + debt + preferred + minority - cash.
  • Multiple with NM handling: =IF(OR(H2<=0, ev<=0), "NM", ev/H2). Because “NM” is text, the summary functions below skip it automatically.
  • Statistics: =MIN(range), =QUARTILE.INC(range,1), =MEDIAN(range), =AVERAGE(range), =QUARTILE.INC(range,3), =MAX(range). PERCENTILE.INC(range,0.25) gives the same 25th percentile. Avoid QUARTILE.EXC and PERCENTILE.EXC if you want to match this tool; they interpolate differently.
  • Tukey fences: lower =QUARTILE.INC(range,1) - 1.5*(QUARTILE.INC(range,3) - QUARTILE.INC(range,1)), and the upper fence by symmetry.
  • Implied value per share: =(multiple*target_ebitda - target_net_debt)/target_diluted_shares.

Runs entirely in your browser; inputs are saved only on this device. Last updated .