Skip to content
TotalFinance

Valuation

DCF, NPV and IRR, WACC, comparables, dividend and residual-income models, loans and price-level conversion.

Value cash flows and companies with explicit bases: a firm-basis DCF yields enterprise value, not equity value, unless you supply the bridge. Sensitivity tables re-run full valuations, and the time-value toolkit covers NPV, IRR, annuities, loans and depreciation.

Try it live

Common APIs

fndiscountedCashFlowThe direct DCF: explicit projections, explicit conventions, explicit terminal method.fndiscountedCashFlowSensitivityTableA two-axis sensitivity table where EVERY cell is a direct {@link discountedCashFlow} call with exactly one row and one column value substituted — no incremental shortcuts, so the equality the acceptance law demands ho…fnweightedAverageCostOfCapitalMarket-value weighted average of the supplied component costs.fnnetPresentValueNet present value of explicit timed flows.fninternalRateOfReturnThe internal rate of return of explicit timed flows, or `null` when no admissible root exists or MORE THAN ONE does — an ambiguous IRR is never chosen silently.fnterminalValueThe terminal value AT the end of the forecast horizon (not yet discounted to the valuation date): perpetual growth `terminalCashFlow × (1 + g) / (r − g)`, or the exit multiple `terminalMetricAmount × exitMultiple`.fncomparableCompanyValuationComparable-company valuation: apply the EXPLICIT outlier policy to the peer multiples, aggregate the survivors under the declared method, and price the subject's metric on the declared enterprise/equity basis.fndividendDiscountValuationPresent value of explicit projected dividends per share plus a terminal stage.fnreverseDiscountedCashFlowSolve for the stated variable so the DCF reproduces `targetValue` (enterprise value on the firm basis, equity value on equity).fnconvertPriceLevelMap a source price level to an approximate target level in the supplied target price unit.

Guides

Complete API reference

Browse all public exports, types, and feature imports below.

Edit this page on GitHub ↗Every code block on this site is executed in CI against the library.