GitHunt
DH

DhivKrish7/irr-calculator

This project calculates the Internal Rate of Return (IRR) for any series of user defined cashflows using the Bisection method, a numerical root finding technique.

irr-calculator

This project calculates the Internal Rate of Return (IRR) for any series of user defined cashflows using the Bisection method, a numerical root finding technique.

The IRR is the discount rate that makes the Net Present Value (NPV) of all cash flows equal to zero. So mathematically to find IRR we equalize the NPV formula to zero, then we find solution for IRR. Since there’s no direct algebric solution for IRR, we use the Bisection method to find it.

How-to-Use

  1. Clone the repository
  2. Run the irr_calculator.py file
  3. Type your series of cashflows and press 'Enter'
  4. The file give you the calculated IRR
  1. https://en.wikipedia.org/wiki/Internal_rate_of_return

Thankyou!

https://www.linkedin.com/in/dhivkrish7/

Languages

Python100.0%

Contributors

Created October 11, 2025
Updated October 24, 2025
DhivKrish7/irr-calculator | GitHunt