The DCF for an investment is calculated by estimating: the cash that you will have to pay out, and the cash which you expect to receive back. The timeframes that you expect to receive the payments must also be estimated. Each cash transaction must then be recalculated, by subtracting the opportunity cost of capital between now and the moment when you will pay or receive the cash.