Two-stage discounted cash flow under assumptions you supply
calculate_dcf_valueRuns a two-stage discounted cash flow on numbers you provide and returns the fair value per share, the margin of safety against the price you gave, and how much of the value sits in the terminal stage. Cash flow grows at your growth rate for the stage-one years, then forever at your terminal rate, with the terminal value from the Gordon Growth Model discounted back over the stage-one years.
Use when the user wants to value a company under their own assumptions, test how sensitive a valuation is to the discount or growth rate, or check the arithmetic of a DCF they are building. Do not use it to look up what a company is worth on Zyberno's own assumptions, which is get_stock_valuation and uses a different, fade-based model; the two will not agree and are not meant to.
This computes your assumptions, it does not endorse them. The output is arithmetic, and a two-stage DCF is highly sensitive to the discount and terminal rates, so treat a single result as one point rather than an answer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| growth_rate | Yes | Annual cash flow growth during the first stage, in percent. Pass 8 for 8 percent. Range -20 to 100. | |
| growth_years | Yes | Length of the high-growth first stage, in years. | |
| discount_rate | Yes | Discount rate (required return or WACC) in percent. Pass 10 for 10 percent. Must be greater than the terminal growth rate. | |
| cash_flow_per_share | Yes | Starting free cash flow or owner earnings PER SHARE, not the company total. This is the base the projection grows from. | |
| current_stock_price | Yes | Current share price, used only to compute the margin of safety against the fair value. | |
| terminal_growth_rate | Yes | Perpetual growth rate after the first stage, in percent. Pass 2.5 for 2.5 percent. Range -5 to 15, and must be below the discount rate. |