How to Use the DCF Calculator
In short
The DCF Calculator estimates what a stock is worth today by projecting a cash-flow or earnings metric forward, applying an exit price multiple, adding expected dividends and discounting the result back at your required rate of return. Compare the resulting fair value with today's price to see the implied upside or margin of safety.
Open the DCF CalculatorOn this page
What is a DCF calculator?
A discounted cash flow (DCF) valuation estimates what a business is worth today based on the cash it is expected to generate in the future. The core idea: money received in five years is worth less than money in your pocket today, so future value has to be discounted back at the return you require.
The bestshares.com DCF Calculator uses a practical variant often called an exit-multiple DCF:
- Take the company's latest trailing metric (for example free cash flow).
- Grow it for a number of years at an expected growth rate.
- Divide by the projected share count and multiply by an exit price multiple to get a future share price.
- Add the dividends you would collect along the way.
- Discount that total back to today at your discount rate.
The result is Today's Fair Value, an estimate of intrinsic value per share. It is useful because it forces you to state your assumptions in numbers, and it shows what growth the current share price already assumes.
Note that the page does not ask for a WACC or a terminal growth rate. The Discount Rate plays the role of your required return, and the Exit Price Multiple replaces a terminal-growth formula.
How to use the DCF Calculator
- Pick a stock. Under Start Forecasting, search by ticker or name, or choose from Recent and Popular. ETFs and indexes are excluded. Once loaded, use Change stock to switch.
- Check the headline numbers. The top card shows Today's Price, Today's Fair Value, Margin of Safety, Projected Value and Dividends Paid for the projection period.
- Choose a scenario. Under DCF Inputs, the Scenario tabs (Conservative, Base, Optimistic) fill all growth inputs from the company's history. Base is selected when the page opens.
- Adjust the inputs. Edit any field to test your own view. Editing switches you to a custom scenario; click a scenario tab to restore its defaults.
- Read the charts. Historical and Projected Price plots the share price, the DCF Projection line and the historical price multiple. The second chart plots the historical and projected valuation metric.
- Check the math. Click Show Calculation Steps for the full calculation with your current inputs.
How to read the DCF inputs and outputs
Inputs (DCF Inputs card)
- Valuation Metric: the starting figure. Options are Adjusted Free Cash Flow (free cash flow minus stock-based compensation), Free Cash Flow, Operating Income, Operating Cash Flow and Book Value. The page picks one by sector and marks it (Recommended): Adjusted Free Cash Flow for technology, communication services and healthcare; Operating Income for utilities, energy and industrials; Book Value for financials and real estate; Free Cash Flow otherwise. All flow metrics use the trailing twelve months (TTM).
- Years To Project: 3, 5 or 10 years (default 5).
- [Metric] Growth Rate: expected annual growth of the chosen metric. The hint below shows the historical Regression rate (a trend line fitted through yearly values) and the CAGR (5y). The Base default is the average of the two, capped at 25%. Conservative uses half of it and Optimistic one and a half times it. For a negative growth rate the multipliers are reversed, and a rate near zero becomes -2% (Conservative) or +2% (Optimistic). If history is too short, the page falls back to 2.5%.
- Diluted Shares Growth Rate: how fast the share count changes per year. Negative numbers mean buybacks, which raise value per share.
- Dividend Growth Rate: annual growth of the dividend, defaulting from its regression and CAGR in the same way. It is 0 for companies that pay no dividend.
- Exit Price Multiple: the price-to-metric multiple (for example price to free cash flow) the stock is assumed to trade at in the final year. The default is the median multiple of the last five years, capped to avoid extreme values. The cap is the higher of a ceiling per metric (30x for the two free cash flow metrics, 20x for operating cash flow, 18x for operating income, 5x for book value) and the multiple implied by your discount rate with 2.5% long-term growth: (1 + 2.5%) ÷ (Discount Rate − 2.5%), which is 13.67x at a 10% discount rate. The hint shows Capped at …x (Historical 5y: …x).
- Discount Rate: your required annual return (default 10%). Higher means a lower fair value.
The calculation caps growth rates at between -15% and +25% (shares between -15% and +15%), even if you type a larger number.
Outputs (top card)
- Today's Fair Value = Projected Value ÷ (1 + Discount Rate)^Years. The percentage next to it is the upside or downside versus today's price.
- Margin of Safety = (Fair Value − Price) ÷ Fair Value. Positive means the price is below the estimate; for example +25% means the price could fall 25% short of fair value and still be covered. Negative means the price is above it.
- Projected Value (nY) = future share price + dividends. Its percentage shows the total return over the period if the projection comes true, before discounting.
- Dividends Paid (nY): an estimate of the dividends collected over the projection period.
Sensitivity. The page has no separate sensitivity table; instead, change one input at a time and watch Today's Fair Value. The exit multiple and the growth rate usually move the result the most, followed by the discount rate. The three scenario tabs are a quick way to see a low, middle and high case.
Worked example: Apple (AAPL) with the default inputs
Data as loaded on November 10, 2026, with Apple's fiscal year ending September 26, 2026 as the latest period. Apple is in the Technology sector, so the page selects Adjusted Free Cash Flow.
| Input (Base scenario) | Value | Where it comes from |
|---|---|---|
| Adjusted Free Cash Flow TTM | $122.27B | $136.06B free cash flow minus stock-based compensation |
| Growth rate | 7.63% | average of Regression 7.74% and CAGR (5y) 7.52% |
| Diluted Shares Growth Rate | -2.68% | buybacks; CAGR (5y) -2.68%, Regression -4.18% |
| Dividend Growth Rate | 6.93% | average of 9.71% and 4.15%, on a $1.06 annual dividend |
| Exit Price Multiple | 30.00x | 5-year median of 33.47x, capped at 30x |
| Discount Rate / Years | 10% / 5 | page defaults |
The calculation, as Show Calculation Steps lays it out:
- Adjusted FCF grows from $122.27B to about $176.6B in five years.
- Diluted shares fall from 14.63B to about 12.77B.
- Future share price: $176.6B ÷ 12.77B × 30 ≈ $414.79, plus about $6.27 of dividends = Projected Value $421.06.
- Discounted at 10% for five years: Today's Fair Value $261.45.
Against a price of $349.04, the page shows -25.09% next to the fair value and a Margin of Safety of -33.50%: at these assumptions, the price is above the estimate. The scenario tabs give a fair value of about $204.36 (Conservative) and $332.84 (Optimistic), so even the optimistic case lands below the current price.
Sensitivity with the other Base inputs unchanged: a discount rate of 8% gives about $286.57 and 12% about $238.92; an exit multiple of 25x instead of 30x gives about $218.52. In plain terms, the current price implies faster growth, a higher exit multiple or a lower required return than these defaults.
Limitations and common mistakes
- Garbage in, garbage out. Defaults extrapolate the past five years. Turnarounds, cyclical peaks and one-off cash items can make history a poor guide.
- The exit multiple dominates. Most of the fair value comes from the final-year price, so a multiple that is too generous inflates everything. The caps limit this but do not remove it.
- Negative baselines. If trailing cash flow or operating income is negative, the page quietly uses the last positive fiscal year instead, which can paint a rosier picture than the latest results. If both are negative, it shows Invalid (Negative Base); a DCF says little about such companies.
- Simplified dividends. Dividends are estimated as one total and discounted together with the final price, not year by year, which slightly understates their present value.
- No balance sheet check. Valuations use per-share figures and price multiples and don't separately account for debt or cash, so check a company's debt levels yourself.
- Data lag. Financials update after each earnings report; the inputs refresh daily, not intraday.
- Not a price target. The output describes your assumptions, not what the stock will do.
Where the data comes from
- Original source: each company's reported financial statements (cash flow, operating income, book value, share count and dividends). Figures reported in other currencies are converted to the currency the stock trades in (usually US dollars) at historical average exchange rates.
- How fresh it is: the starting values, historical growth rates, five-year median price multiples and expected dividend are refreshed once a day, Monday to Saturday. Today's Price is the latest market price.
- Price history and multiples: the chart uses ten years of history, and the default multiple is the median of the last five years.
- Calculated as you type: the scenarios, projection, discounting and margin of safety are recalculated instantly whenever you change an input.
Frequently asked questions
What is a good discount rate for a DCF?
The calculator starts at 10%, a common estimate of the long-run return investors expect from stocks. Many people use 8% to 9% for large, stable companies and 12% or more for small or risky ones. A higher rate always produces a lower fair value, so pick the return you actually require.
What is margin of safety in a DCF?
Margin of safety is the gap between the estimated fair value and the current price, as a share of fair value. On this page it is (Fair Value minus Price) divided by Fair Value. A positive figure means the price is below the estimate; a negative figure means the price is above it.
Why does the DCF Calculator say Invalid (Negative Base)?
The model multiplies a starting metric by growth and a multiple, which only works when that metric is positive. If the company's trailing free cash flow or operating income is negative, the page falls back to the last fiscal year in which it was positive. If that is negative too, or book value is negative, the page shows Invalid (Negative Base). Try another Valuation Metric or treat the company as unsuitable for this kind of model.
Does the DCF Calculator work for ETFs or banks?
ETFs and indexes are not supported, because they have no cash flows of their own. Banks, insurers and real estate companies are supported, and the page defaults to Book Value for them, since free cash flow is not meaningful for most financial companies.
How accurate is a DCF valuation?
A DCF is only as good as its inputs. Small changes to the growth rate, exit multiple or discount rate can move the fair value by 20% or more. Use it to understand what the current price assumes, not as a precise price target.
Is the DCF Calculator free?
Yes. Every input, scenario, chart and the calculation steps are available to all users.
This guide is for educational purposes only and is not investment advice. See our data disclaimer.