CFDs and forex are complex instruments and come with a high risk of losing money rapidly due to leverage. Risk disclosure

Internal rate of return (IRR)

This page explains what IRR is, how it is calculated, where you see it, and when it can mislead.

Extrade Pakistan editorial team ·

On this page
  1. What is internal rate of return
  2. IRR formula
  3. How to calculate IRR: a worked example
  4. Where you see IRR
  5. Edge cases experienced readers should know
  6. Related terms
  7. Frequent questions

What is internal rate of return

The internal rate of return (IRR) is the discount rate at which the net present value (NPV) of all cash flows of an investment equals zero.

Put simply, at the IRR the money you put in and the money you get back are worth the same in today's terms. A discount rate is the rate used to convert a future payment into its value today.

IRR formula

Formally, the IRR is the rate r that solves:

Present value of all inflows at rate r = Present value of all outflows at rate r

Each cash flow is divided by its discount factor. The discount factor is (one plus r) raised to the power of the number of periods until that payment. Payments further in the future are reduced more.

The equation cannot be rearranged to give r directly. It is solved by trial and error, or by numerical methods such as bisection or Newton's method. In spreadsheets, the functions IRR (equal periods) and XIRR (exact dates) do this for you.

How to calculate IRR: a worked example

This is a hypothetical case. Ayesha pays a lump sum today for a small business stake. In return she receives a fixed payment at the end of each year for a set number of years, and nothing after that.

  1. List the cash flows with their dates. The payment today is negative. The payments she receives are positive.
  2. Pick a trial rate and compute the NPV.
  3. If the NPV is positive, the trial rate is too low, so raise it. If the NPV is negative, the rate is too high, so lower it.
  4. Repeat until the NPV is close enough to zero. That rate is the IRR.

To try this with your own figures, use a spreadsheet or the tools on the calculators page.

Where you see IRR

Edge cases experienced readers should know

Frequent questions

What does IRR mean in simple words?

IRR is the yearly rate of return that makes an investment's future cash flows worth exactly what was paid for them.

Is a higher IRR always better?

Not always. IRR ignores the size of the project and its risk. It can also be misleading when cash flows change sign more than once.

What is the difference between IRR and XIRR?

IRR assumes equally spaced periods. XIRR uses the actual date of each cash flow.

Is IRR the same as yield to maturity?

Yes. Yield to maturity is the IRR of a bond held to maturity, assuming every payment is made on time.

Sources

  1. State Bank of Pakistan · sbp.org.pk — checked 2026-11-11

Related pages