Discounted cash flow (DCF) is a valuation method used to estimate the value of an investment based on its expected future cash flows. DCF analysis attempts to figure out the value of an investment today, based on projections of how much money it will generate in the future.
The purpose of DCF analysis is to estimate the money an investor would receive from an investment, adjusted for the time value of money. The time value of money assumes that a dollar today is worth more than a dollar tomorrow because it can be invested. As such, a DCF analysis is appropriate in any situation where a person is paying money in the present with expectations of receiving more money in the future.
How To Calculate Intrinsic Value, Investing with Tom.
npm install discounted-cash-flow --save
Check tests folder for examples.
const DiscountedCashFlow = require("discounted-cash-flow");
DiscountedCashFlow.calculate(
firstFreeCashFlow,
[growthRate],
terminalFcfMultiple,
discountRate,
decimals);
Example output:
{
"futureCashFlows": [
58.9, 65.96,
73.88, 82.74,
92.67, 99.16,
106.1, 113.53,
121.48, 129.98
],
"presentValueFutureCashFlows": [
53.54, 54.52, 55.51,
56.52, 57.54, 55.97,
54.45, 52.96, 51.52,
50.11
],
"valueFutureSale": 1949.7,
"presentValueFutureSale": 751.69,
"totalPresentValue": 1294.33
}
The first free cash flow that will be grown and discounted.
The growthRates that will be applied should be provided as an array. Each value of this array will affect a portion of the years depending on the amount of values provided. The maximum number of years on the analysis is 10.
Example: [0.05, 0.02] - the applied growth rate will be 5% for the first 5 years and 2% for the last 5.
Example: [0.07] - the applied growth rate will be 7%.
Expected price to free cash flow ratio at the end of the calculation.
The rate at which each future cash flow will be discounted at.
Desired rounding precision. Defaults to 2.
Estimation of the nominmal future cash flows using the provided growth rate.
Present value of each one of the future cash flows discounted to the present.
Last free cash flow x terminalFcfMultiple
Value of future sale discounted into present value.
Sum of present value of future sale plus the sum of every future cash flow discounted into present value.
Represents the intrinsic value of company operation or the "fair" enterprise value of the company.
npm run test