Methodology
How the numbers are made
Every value on the site comes from a formula you can click and read, and the Excel export contains those same formulas. This page explains the choices behind them, lists every source with a link, and says where the models break.
Data
Financials come from SEC EDGAR XBRL company facts: 10-K values, de-duplicated so restated figures replace the originals. Companies tag the same concept differently (revenue alone has five common tags), so each line item has an ordered list of fallback tags. A figure is only used for the fiscal year it belongs to: if the latest 10-K lacks an item, it shows as missing rather than borrowing an older year. Hover any historical figure on a valuation page to see the tag, period and filing date behind it.
TTM by default, 10-K on request. A 10-K can be up to 14 months old by the time the next one is filed, which matters for fast growers: Palantir's P/E on its 2025 10-K was about 250x, against about 110x on its trailing twelve months. So every valuation starts from the trailing twelve months (TTM), the basis Yahoo Finance, Bloomberg and analysts quote: the last fiscal year, plus the year to date in the latest 10-Q, minus the same period a year earlier (each 10-Q reports both). Cash, debt and book equity come from the latest 10-Q balance sheet. Every annual rule (debt recipes, rebuilt operating income, D&A plus amortisation) runs on the trailing period too. The averages that need comparable periods (tax rate, capex and D&A ratios, payout ratios) and the ten-year history stay on fiscal years.
The Figures switch at the top of each valuation page moves every model to the last fiscal year as reported in the audited 10-K (shareable links keep the choice). The header always names the basis: “TTM to …” or “FY… 10-K”. Where the latest filing is the 10-K itself, there is no newer quarter, TTM and the fiscal year are the same, and the page says so.
- Operating income: about ninety large filers (Johnson & Johnson, Lilly, Exxon) report no operating subtotal. It is rebuilt as pre-tax income minus non-operating items (the total if tagged, otherwise interest expense, other non-operating income and interest income). On 366 companies that do report it, this rule lands within 10% for 72% and within 25% for 84%.
- D&A: where a company reports only depreciation and books acquired-intangible amortization on its own line (AMD, Microsoft, Alphabet), the two are added together. Oil and gas producers' exploration and development spending counts as capex.
- Total debt: filers split debt across many tags. Several recipes each add up one consistent set of lines (current plus long-term debt, notes plus credit lines, and so on). A recipe can miss debt but never count it twice, so the largest is used. Operating leases are left out. If no debt is found but the company pays interest, the page says so.
- Shares: the latest cover-page count from any 10-K or 10-Q, so a split after the fiscal year is picked up. It is checked against Nasdaq's market capitalisation; if the two disagree by more than 40% (a merger or reverse split after the last filing, or a company with several share classes), market cap divided by price is used.
- Tax rate: total tax over total pre-tax income for the last three years. When that is negative or above 40%, the US statutory 21% is used instead.
Monthly refresh
A GitHub Action runs on the 2nd of every month:
- Refresh the S&P 500 list and map each ticker to its SEC filer.
- Download SEC's nightly bulk file and keep the concepts the models use.
- Fetch the 10-year Treasury yield, Damodaran's risk premium, industry betas and multiples.
- Regress five years of monthly returns for each stock on SPY and keep only the statistics.
- Commit the result, which redeploys the site.
If more than 5% of companies fail, nothing is written and the site keeps last month's data; an issue is opened so I hear about it. Each page shows the date its data was taken.
Discount rates
Cost of equity = rf + β × ERP
WACC = E/V × re + D/V × rd × (1 - t)
- Risk-free rate: the 10-year Treasury yield, because the cash flows being discounted are long-dated. A 3-month bill would understate it.
- Equity risk premium: Damodaran's implied premium for the S&P 500, backed out of current prices rather than historical averages.
- Beta: an OLS regression of monthly stock returns on SPY returns over five years, reported with R², standard error and a 95% interval. One company's regression is noisy. When R² is at least 0.2, the default is the Blume adjustment (0.67β + 0.33), which pulls the estimate toward the market average of 1. Below that, stock returns say little about market risk (Coca-Cola's R² is 0.07), so the default is Damodaran's industry beta relevered at the company's own debt-to-equity, as long as the industry has at least ten firms. Every option is shown with its beta, the cost of equity it implies and the evidence behind it, so switching is one click.
Hamada: βL = βU × (1 + (1 - t) × D/E)
- Cost of debt: interest expense over total debt, kept between the risk-free rate plus 1% (a minimal investment-grade spread) and plus 8%.
- Which rate where: FCFF uses WACC; FCFE, residual income and the dividend models use the cost of equity; APV uses the unlevered cost of equity.
Forecast
Ten years. Revenue growth starts from the latest year and fades toward a typical company's growth, which itself slides to terminal growth by year 10 (see below). The operating margin moves from today to a target over a chosen number of years. Capex and D&A are percentages of revenue (three-year averages by default), and working capital absorbs a share of each new dollar of revenue. When a filing has no capex tag (common for utilities and REITs), capex is set equal to D&A and the page says so. Defaults are a starting point, not a forecast.
- Growth path: the forecast starts from the latest year's revenue growth. A typical S&P 500 company grows about 6% a year (the median from 2017 to 2026), and that typical rate slides in a straight line to terminal growth by year 10. Growth above typical fades on top of it, along one of two paths you choose on the company page:
- Research (default): growth above typical keeps 70% of itself each year, so half of it is gone every two years. This reproduces McKinsey's finding that companies growing above 20% a year typically slow to about 8% within five years and about 5% within ten (Koller, Goedhart and Wessels, Valuation), and fits Chan, Karceski and Lakonishok's (2003) finding that growth has little persistence.
- Base rates (S&P 500 backtest): estimated on this site's own data, 449 non-financial S&P 500 companies from 2017 to 2025. Regressing next year's growth above the yearly median on this year's, 23% of the excess survives a year (33% leaving out 2020-22), and 15-27% is still there four to five years later. The path keeps 30% after one year and lets a lasting 20% fade out by year 10. It is stricter than the research path, partly because acquisitions and commodity swings make measured growth noisy, which pulls a measured persistence down.
- One-off charges: when impairments of goodwill, intangibles or long-lived assets exceed 1% of revenue, the forecast margin adds them back and the page says by how much. They are non-cash and do not recur.
- Steady state: if capex runs above D&A, it falls to D&A between years 6 and 10, because a mature company spends roughly what it depreciates. Capex below D&A (amortisation of acquired intangibles, which never needs replacing) is left alone.
FCFF = EBIT × (1 - t) + D&A - capex - ΔNWC
Terminal value = FCFF₁₀ × (1 + g) / (WACC - g), or EBITDA₁₀ × exit multiple
Terminal growth is capped at the risk-free rate by default: in the long run no company grows faster than the economy. The site warns when the terminal value is most of the enterprise value.
The models
- FCFF DCF
- Free cash flow to the firm, discounted at WACC, minus net debt.
- FCFE DCF
- Net income minus the equity-funded share of reinvestment, discounted at the cost of equity, plus cash and investments.
- APV
- FCFF discounted at the unlevered cost of equity, plus the present value of interest tax shields (t × D for permanent debt).
- Residual income
- Operating book equity (book equity less cash and investments) plus the present value of net income above the equity charge (re × opening book), plus cash and investments. The forecast earns no interest on cash, so charging the cost of equity on it would value it near zero.
- Gordon growth
- V = D₁ / (re - g).
- Two-stage DDM
- Five years of dividends growing with the revenue forecast, then Gordon.
- H-model
- V = D₀(1 + gL)/(re - gL) + D₀ × H × (gS - gL)/(re - gL), for growth that fades in a straight line.
- Total payout
- Dividends plus buybacks, net of stock-based pay, as a share of net income (three years pooled, at most 100% unless dividends alone are higher). Net income grows with the revenue forecast for five years and the payout is discounted at the cost of equity; after year 5 the payout rises to 1 - g / re, all a mature company needs to retain. Equity value divided by today’s shares.
- Multiples
- Company metric × peer multiple; enterprise multiples subtract net debt, with equity floored at zero. EV/Sales is scaled by the company’s margin over the peers’ margin and P/B by its return on equity over theirs (down without limit, up by at most 1.5×), since a revenue or book multiple is only fair at similar profitability. Loss-makers are not valued on revenue or book, P/B is left out where peers trade above 10× book, and a result resting on one multiple says so.
- Reverse DCF
- Bisection on where the growth path starts until the FCFF value equals the share price, reported as average revenue growth over years 1-5 next to the model’s own.
- Scenarios
- Three FCFF models with their own growth, margin and capex, weighted by probability, with extra shares for dilution.
Banks and insurers
A bank borrows to lend: debt is its raw material, not financing, so enterprise value and free cash flow to the firm mean nothing. For banks, insurers, brokers and asset managers the site turns off FCFF, FCFE, APV and the enterprise multiples. Residual income runs on book equity instead: book grows at its own recent pace, earns the recent return on equity for five years, and then half the gap to the cost of equity closes by year 10. A bank that earns exactly its cost of equity is worth its book value. Dividend models, P/E and P/B apply as usual.
Peer multiples come from Damodaran's industry averages. P/E is aggregate market cap over the net income of profitable firms: the simple average P/E is blown up by firms with tiny earnings (pharma reads 335× on it, 25× on this).
Peers and value creation
Peers come from the S&P 500 itself. A company is grouped with its GICS sub-industry; small sub-industries are folded in with their closest neighbours (automakers with parts makers, airlines with railroads and freight, REITs together), and only a dozen companies with no close neighbour fall back to their sector. Two share classes of one company count once. The multiples model can use the median of these peers instead of Damodaran's industry averages; multiples above 100× (50× for EV/Sales and P/B) are dropped as outliers.
ROIC = operating income × (1 - t) / (equity + debt - cash)
A company creates value only when its return on invested capital beats its WACC. The value-creation tab shows that spread over ten years, where the cash went (capex, acquisitions, dividends, buybacks), stock pay as a share of revenue, net debt to EBITDA and interest coverage. Banks and insurers are shown on return on equity against the cost of equity. When cash or negative book equity leaves invested capital below a quarter of gross capital (book equity plus debt), the ratio stops measuring anything (Palantir would show 655%), so it is reported as not meaningful and the page points to return on equity and the operating margin instead.
Sensitivity and uncertainty
The tornado chart moves one input at a time between a low and a high value (WACC ±1 point, growth and margin ±3 points, capex ±25%, terminal growth ±0.5 point, beta across its regression's 95% range) and ranks them by how far the value moves. The Monte Carlo tab re-runs the same model 2,000 times in the browser, drawing growth, margin (or return on equity), beta, terminal growth and capex together. Spreads come from the company's own history: the spread of five-year average growth is the yearly spread divided by √5, and the beta spread is the regression's standard error. Growth and margin are drawn with a 0.3 correlation. Draws where the discount rate falls to within half a point of terminal growth are counted and set aside rather than kept as absurd values. The random generator is seeded, so a given run is reproducible.
Checked against an independent source
Every S&P 500 company was run through the models and its revenue, operating income, net income, D&A, cash, debt, equity and market cap compared with Nasdaq's independently compiled statements. Gaps that remain are mostly definitions: Nasdaq counts leases and captive finance arms as debt, and contract-cost amortisation as D&A. When a default lands far from the price, the page says why (thin equity, a discount rate close to growth, a stale filing, one-off charges) rather than hiding it.
The checks are automated. Every company's figures are tested against the rest of its own filing: net income over diluted shares must reproduce the EPS the company reports, debt cannot exceed total liabilities, cash cannot exceed assets, and price times shares must give the market cap. Each month the snapshot also compares revenue, net income and equity with Nasdaq and refuses to publish if fewer than 90% agree within 2% (in November 2026: revenue 97%, net income 98%, equity 99%). Filings that broke an earlier version of the code are kept as regression tests, so the same bug cannot come back unnoticed. The few remaining errors are tagging mistakes in the filings themselves, listed with the reason in the repository.
Consistency
FCFF, FCFE, APV and residual income should give similar answers when they share assumptions, and they usually land within a few percent of each other. FCFE funds reinvestment at the current debt weight so leverage stays constant. Residual income uses clean-surplus accounting: book equity grows only by what is reinvested, which ties it to FCFE. Up to year 10 the two are the same model, so any gap between them is in the terminal value: FCFE grows the year-10 cash flow, while residual income grows book equity, which needs g × book of retained earnings a year. When the forecast reinvests much less than that (capex close to depreciation at a REIT or utility), residual income comes out lower, and its card says by how much and why. Large gaps between methods usually point to an inconsistent input, which is itself worth knowing.
The engine was checked on NVIDIA: historicals against the 10-K and Yahoo Finance, the FCFF value against an independent recomputation, and the Excel export against Microsoft Excel's own recalculation (identical to four decimals). The write-up is in the repository.
Valuing AI companies
Classic models assume capex settles near depreciation and that value sits in assets on the balance sheet. AI companies break both: they spend years building compute ahead of revenue, and their main assets (models, data, talent) are expensed. Pre-profit / AI mode replaces one heroic forecast with three scenarios, each with its own growth, margin path and compute intensity, weighted by probabilities you choose, and adds dilution from conversions and stock compensation. The reverse DCF turns a headline valuation into the growth it requires, which is usually the more honest conversation.
Limits and judgment calls
Every number on this site follows from the filings and a handful of defaults. The arithmetic is checked; the defaults are choices. These are the choices that move answers most, why they were made, and where they fail. Each one is an input you can change on the company page.
Judgment calls
- Growth fades instead of being capped
- Holding a recent growth rate for five years either needs a cap (an earlier version capped it at 20%, which valued NVIDIA at $114) or projects a boom forward (NVIDIA’s 114% three-year median would put its revenue above $9 trillion). The site now starts from the latest year and fades the growth above a typical 6% along a research path (McKinsey’s observed decay, the default: NVIDIA $144 against a $166 price) or a stricter path backtested on S&P 500 data ($88). Neither path brings the fastest growers to their price unless most of the boom lasts for years, which is the bet the market is making; the reverse DCF shows how big that bet is.
- Dividend models need a real dividend
- They run when dividends are at least 20% of earnings and the dividend yield is at least 1%. Eli Lilly and Costco pay out more than 20% of earnings, but at a yield under 1% the price rests on growth the dividend does not show yet: a Gordon model gave Lilly $91 against a $1,427 price. That is the method working as designed, so rather than show a number that looks broken, the dividend models are switched off and point to the total payout model, which adds buybacks, and FCFF.
- Total payout counts only what is handed back
- A company piling up cash while it grows (NVIDIA pays out about a third of its earnings) looks cheaper here than in FCFF, which counts all free cash flow whether it is paid out or not. Buybacks are lumpy, so the payout ratio is pooled over three years and stock-based pay is netted out: buybacks that only soak up new employee shares return nothing.
- Missing capex is set equal to depreciation
- About 35 companies, mostly utilities and REITs, report capital spending under their own tags, which the SEC data used here does not carry. Their capex is assumed equal to D&A, the least a business must spend to keep its assets. Growing utilities spend more, so their cash-flow values are still on the high side; the page warns and the 10-K cash flow statement has the real figure.
- Values below zero are set aside
- When a model values the equity below zero (Intel’s cash-flow models on current margins), the cash flows do not cover what is owed ahead of shareholders. A share cannot be worth less than nothing, so the model is marked as not applicable with the negative figure in its note, and the range on the page leaves it out.
- Payout ratios are pooled, not averaged
- Three years of dividends over three years of earnings, the same way the tax rate is computed. An average of yearly ratios lets a single loss year drag the payout to zero and switch the dividend models off for a steady payer.
Known limitations
- Trailing twelve months need the 10-Q data in SEC company facts; when a company files late, changes its fiscal year or tags its 10-Q differently from its 10-K, the page falls back to the last fiscal year and says so under the Figures switch. Lines a 10-Q does not tag (debt or D&A at a few filers) keep their 10-K value.
- Leases, pensions, minority interests and options are not adjusted for separately.
- Growth through share issuance is not netted out. A REIT that grows by issuing shares to buy property shows the growth but not the dilution, so its values run high.
- The cash-flow models disagree more for capital-heavy, highly levered firms (utilities, airlines, REITs): FCFE and residual income assume the current debt weight holds, FCFF and APV do not, and residual income charges for the reinvestment that terminal growth needs. A wide spread there is information, not an error.
- The growth path starts from one year's growth. A merger year inflates it and a one-off dip deflates it (Tesla's -3% after 19% the year before); the fade limits the damage to the first few years, and the starting growth is an input.
- Banks and insurers are valued on equity only: residual income, dividends, P/E and P/B. There is no reverse DCF or walkthrough for them.
- Industry mapping from GICS to Damodaran categories is automatic and sometimes wrong. You can change it on each page.
- Price data is used to estimate betas but is not licensed for redistribution, so it is never published.
This is a tool for understanding what a price assumes, not investment advice. A model value far from the price usually means the market expects something the defaults do not; the reverse DCF and the sensitivity tabs show what.
Sources
- SEC EDGAR: XBRL company facts (bulk)
Every financial figure companies tag in their 10-K filings.
Downloaded once a month (about 1 GB), trimmed to the few dozen concepts the models use.
- SEC EDGAR: company facts API
The same data for one company at a time.
Fallback when the bulk file fails, and the file format for uploads on the "Any company" page.
- SEC: ticker to CIK map
The official link between ticker symbols and SEC filer numbers.
Used to find the right filer for each ticker.
- S&P 500 constituents
Tickers, names, GICS sector and sub-industry.
Refreshed each run; the previous list is kept if it fails.
- US Treasury: daily par yield curve
The 10-year Treasury yield.
The risk-free rate. FRED is the fallback.
- FRED: 10-year Treasury (DGS10)
Federal Reserve Bank of St. Louis series for the same yield.
Fallback for the risk-free rate.
- Damodaran: implied equity risk premium
The S&P 500 risk premium backed out of current prices.
The equity risk premium in CAPM.
- Damodaran: industry betas
Unlevered betas by industry for US companies.
The bottom-up beta option, relevered at each company’s debt-to-equity.
- Damodaran: industry multiples
P/E, PEG, EV/EBITDA, EV/Sales and P/B by industry (separate pages for each).
Default peer multiples for the relative valuation.
- Nasdaq: historical quotes
Five years of daily prices for each stock and for SPY.
Monthly returns for the beta regression, and the latest close. Raw prices are not republished.
- Nasdaq: quote summary
Market capitalisation for each stock.
A cross-check on the SEC share count, to catch splits and mergers after the latest filing.
- Yahoo Finance: price history
The same price data from a second provider.
Fallback when Nasdaq has no data for a ticker.
Further reading
- Aswath Damodaran, Investment Valuation, 3rd ed., Wiley. The source for most of the conventions here. Damodaran Online
- McKinsey & Company (Koller, Goedhart, Wessels), Valuation: Measuring and Managing the Value of Companies, Wiley. Includes the decay of high revenue growth behind the research growth path.
- Berk and DeMarzo, Corporate Finance, Pearson. Chapters on capital budgeting, WACC and APV.
- Louis Chan, Jason Karceski and Josef Lakonishok (2003), “The Level and Persistence of Growth Rates”, Journal of Finance 58(2). Growth shows little persistence beyond chance; the case for fading it.
- Marshall Blume (1971), “On the Assessment of Risk”, Journal of Finance 26(1). The beta adjustment.
- Michael Mauboussin, Dan Callahan and Darius Majd (2016), The Base Rate Book, Credit Suisse. How often companies of a given size sustain a given rate of sales growth.
- Robert Hamada (1972), “The Effect of the Firm's Capital Structure on the Systematic Risk of Common Stocks”, Journal of Finance 27(2).
These are mathematical valuations under stated assumptions, not investment advice. Built by Danel Rahmani. The code is open on GitHub.