IRR Calculator · Internal Rate of Return

IRR Calculator

Enter the total amount you invested upfront, and the money you earned or spent each year (cash flows), to calculate your internal rate of return (IRR).

Currency
Initial investment
$
Enter this as a positive number — the calculator will automatically treat it as a Year 0 outflow.
Input the annual cash flows (up to 30 years)
Tip: Use positive numbers for earnings, and negative numbers for expenses or losses.
Additional year fields will appear automatically as you type.
Internal rate of return
✅ Positive Return
Your internal rate of return (IRR) is —.
📈 IRR
—
💰 Total Invested
—
📊 Total Returned
—
💵 Net Profit
—
💡 Interpretation
Enter your initial investment and at least one year of returns to calculate the IRR.
Example
Initial investment:12,000
Year 1:4,000
Year 2:6,500
Your internal rate of return (IRR) is −7.87%.

Powered by Toolraxy

`; embedCodeTextarea.value = ``; }window.toggleEmbedPanel = function() { if (embedPanel.style.display === 'none' || embedPanel.style.display === '') { generateEmbedCode(); embedPanel.style.display = 'block'; } else { embedPanel.style.display = 'none'; } };window.copyEmbedCode = function() { embedCodeTextarea.select(); navigator.clipboard?.writeText(embedCodeTextarea.value).then(() => alert('Embed code copied!')).catch(() => alert('Press Ctrl+C')); };document.addEventListener('DOMContentLoaded', function() { populateCurrency(); renderYears();currencySelect.addEventListener('change', function(e) { const found = currencies.find(c => c.code === e.target.value); if (found) currentCurrency = found; updateCurrencySymbols(); renderYears(); calculate(); });initialInvestment.addEventListener('input', calculate);calculate(); }); })();

Creator & Maintainer

Image of Faiq Ur Rahman, CEO & Founder Toolraxy

Faiq Ur Rahman

Founder & CEO, Toolraxy

Faiq Ur Rahman is a web designer, digital product developer, and founder of Toolraxy, a growing platform of web-based calculators and utility tools. He specializes in building structured, user-friendly tools focused on health, finance, productivity, and everyday problem-solving.

Share:

Rate this Tool

User Ratings:

0
0 out of 5 stars (based on 0 reviews)
Excellent
Very good
Average
Poor
Terrible

ADVERTISEMENT

ADVERTISEMENT

IRR Calculator

This IRR Calculator turns your upfront investment and yearly cash flows into a clear internal rate of return. Enter positive amounts for earnings, negative amounts for expenses, and let the tool handle the NPV search. You’ll see IRR, total invested, total returned, net profit, and a running cash flow table. Results update as you type, so no manual math is required.

The IRR Calculator is built for investors, small business owners, and anyone comparing a project or asset against a simple return target. It answers a practical question: if money goes out today and comes back over several years, what annual rate makes the whole sequence break even? The tool uses the cash flows you enter nothing more so the result stays tied to your assumptions. It is especially useful for rental properties, equipment purchases, side projects, and loan-like deals where the timing of each payment matters. Because the math runs in your browser, you can test scenarios quickly without uploading financial data.

 

How to Use the IRR Calculator

  1. Choose your currency from the selector. This changes the displayed symbol only; it does not convert amounts.

  2. Enter the total amount invested upfront as a positive number.

  3. Type the cash flow for Year 1. Use a positive number for money received and a negative number for money spent.

  4. Continue entering annual cash flows. New year fields appear automatically as you fill the last visible year.

  5. Add up to 30 years of cash flows if needed.

  6. Read the IRR, total invested, total returned, and net profit in the result area.

  7. Check the cash flow summary table to see the running total after each year.

  8. Use Reset to restore the default example, or Copy and Share to save the result.

 

How the IRR Calculator Formula Works

The calculator treats your initial investment as a Year 0 outflow of −Initial Investment. Each annual cash flow is then placed at Year 1, Year 2, and so on. IRR is the annual rate r that makes the net present value of all those cash flows equal to zero.

Formula: NPV = CF₀ + CF₁/(1+r)¹ + CF₂/(1+r)² + … + CFₙ/(1+r)ⁿ

Formula: 0 = −Initial Investment + Σ [Year t Cash Flow ÷ (1 + r)^t]

IRR is the r that satisfies this equation. Because r appears in multiple denominators, the tool searches for a solution instead of rearranging a single formula. It scans rates from −99% to 300%, looks for a sign change in NPV, and then narrows the answer with a bisection method.

The calculator needs at least one negative cash flow and at least one positive later cash flow. The initial investment provides the negative side automatically. If all later cash flows are zero or negative, or if there is no negative cash flow, the tool cannot produce an IRR. Annual fields auto-expand as you type, up to 30 years. Currency selection changes display symbols only and does not affect the mathematical result.

 

Worked Example

Suppose you invest 12,000 upfront. Year 1 returns 4,000. Year 2 returns 6,500. Year 3 is left at 0.

The cash flow sequence is:
Year 0: −12,000
Year 1: +4,000
Year 2: +6,500
Year 3: 0

Total returned is 10,500. Net profit is 10,500 − 12,000 = −1,500. The IRR Calculator returns approximately −7.87%.

This means the investment lost money on an annualized basis, even though cash came back in Years 1 and 2. The running total starts at −12,000, rises to −8,000 after Year 1, then reaches −1,500 after Year 2, and stays at −1,500 after Year 3. The takeaway: returning some money is not the same as earning a positive return. To improve the IRR, the project would need larger cash flows, earlier cash flows, or a longer stream of returns.

What Is Internal Rate of Return?

Internal rate of return is the annualized rate that makes the present value of all future cash flows equal the upfront investment. In this calculator, it is the discount rate that sets NPV to zero. It matters because it condenses a multi-year cash flow stream into one comparable percentage.

Unlike total profit, IRR respects timing. A dollar returned in Year 1 is not equal to a dollar returned in Year 10. IRR gives you a single rate you can compare with savings, bonds, or other projects. But it assumes reinvestment at the same rate, so it is a model, not a guarantee.

Frequently Asked Questions

What does the IRR Calculator measure?

It measures the annualized rate that makes the net present value of your upfront investment and yearly cash flows equal to zero. The result is shown as a percentage, not a dollar amount.

 

How is IRR different from total profit?

Total profit is simply money returned minus money invested. IRR also considers when each cash flow arrives. A project can show a positive total profit but still have a low IRR if most returns arrive late.

 

Can I enter negative cash flows in the IRR Calculator?

Yes. Use negative numbers for years when you spend money or lose money. The initial investment is entered as a positive number, but the calculator automatically treats it as a negative Year 0 cash flow.

 

What happens if the calculator says “No IRR Solution”?

That message appears when the cash flow pattern does not contain both a negative cash flow and a positive later cash flow. IRR cannot be solved for every possible sequence, especially when all later cash flows are negative.

 

Does the IRR Calculator account for inflation?

No. It works only with the cash flow numbers you enter. If you want an inflation-adjusted result, you would need to enter real cash flows or adjust the numbers before using the calculator.

 

Is a higher IRR always better?

Not automatically. A higher IRR can come from a small, short project, while a lower IRR on a large project may create more total value. Risk, duration, and the amount of capital involved all matter.

 

How many years of cash flows can I enter?

You can enter up to 30 annual cash flows. Additional year fields appear automatically as you type into the last visible year.

 

Does changing the currency change the result?

No. The currency selector changes the displayed symbol only. It does not convert values or affect the IRR calculation.

 

Can I use this IRR Calculator for monthly cash flows?

No. The tool is built around annual cash flows. If you have monthly data, you would need to convert it to annual totals or use a different calculator designed for monthly periods.

 

Why does the tool show a negative IRR?

A negative IRR means the cash flows, as entered, produce an annualized loss. Common causes include total returns being lower than the upfront investment or positive cash flows arriving too late.

 

What is the difference between IRR and NPV?

NPV gives a dollar value at a chosen discount rate. IRR gives the discount rate that makes NPV zero. The IRR Calculator does not ask for a discount rate; it solves for the rate itself.

Financial Disclaimer

This IRR Calculator is an educational tool. It does not provide investment, tax, legal, or accounting advice. Results depend entirely on the cash flows you enter and assume a single annual rate. Consult a qualified financial professional before making investment decisions.

ADVERTISEMENT

ADVERTISEMENT