Yes, terminal value is used when calculating IRR. The terminal value represents the future expected cash flows beyond the forecast period. It is used in the calculation of the projected cash flows which are then used to calculate the IRR.