Question: what is the formula to calculate the irr?
Answer: To calculate IRR using the formula, one would set NPV equal to zero and solve for the discount rate (r), which is the IRR. Because of the nature of the formula, however, IRR cannot be calculated analytically and must instead be calculated either through trial-and-error or using software programmed to calculate IRR.