ROI Calculator · Return on Investment

ROI Calculator

Calculate return on investment, net profit, annualized return (CAGR), and inflation-adjusted real return

Currency
Investment details
$
$
$
$
Time period & inflation
years
%
Tip: Enter the holding period in years — decimals are accepted (e.g., 0.5 for 6 months, 1.25 for 15 months). Inflation is used to compute the real (inflation‑adjusted) return.
ROI Result
Total return on investment
— %
— net profit — CAGR — holding period
💚—
Net profit
—
Annualized (CAGR)
— %
Real annualized
— %
Return multiple
— ×
Annualized return interpretation
Annualized ROICategoryWhat it means
Investment breakdown
ItemAmount
Understanding your results
ROI (Return on Investment): The total percentage gain or loss on your investment, calculated as (Net Profit ÷ Total Invested) × 100. A positive ROI means you made money; a negative ROI means you lost money.
CAGR (Compound Annual Growth Rate): The annualized rate of return that would take your initial investment to its final value over the holding period, assuming profits were reinvested. This is the most useful metric for comparing investments of different durations.
Real Annualized Return: The CAGR adjusted for inflation. This shows the growth of your purchasing power. If your real return is negative, your investment grew in nominal terms but lost value in real terms.
Important: This calculator assumes a single lump‑sum investment at the start and a single exit at the end. It does not account for taxes on gains, irregular cash flows, or reinvestment of dividends during the holding period. Results are for educational and planning purposes only and are not financial advice.
Powered by Toolraxy
Embed this calculator
Embed code
Live preview — identical to the main calculator EXACT MATCH
\n'; }function sizeEmbedPreview() { if (!embedPreview) return; try { var doc = embedPreview.contentDocument || embedPreview.contentWindow.document; if (doc && doc.body) { var h = doc.body.scrollHeight || doc.documentElement.scrollHeight; if (h && h > 400) { embedPreview.style.height = Math.min(h + 24, 4000) + 'px'; } } } catch (e) {} }function generateEmbedCode() { if (!embedPanel || embedPanel.style.display !== 'block') { if (embedCodeTextarea) embedCodeTextarea.value = buildToolHtml(); return; } var toolHtml = buildToolHtml(); if (embedCodeTextarea) embedCodeTextarea.value = toolHtml; if (embedPreview) { embedPreview.onload = function () { sizeEmbedPreview(); }; embedPreview.srcdoc = toolHtml; } }var embedRefreshTimer = null; function scheduleEmbedRefresh() { if (!embedPanel || embedPanel.style.display !== 'block') return; if (embedRefreshTimer) clearTimeout(embedRefreshTimer); embedRefreshTimer = setTimeout(function () { embedRefreshTimer = null; generateEmbedCode(); }, 450); }window.toggleEmbedPanel = function () { if (!embedPanel) return; var isHidden = (embedPanel.style.display === 'none' || embedPanel.style.display === ''); if (isHidden) { embedPanel.style.display = 'block'; generateEmbedCode(); try { embedPanel.scrollIntoView({ behavior:'smooth', block:'start' }); } catch (e) {} } else { embedPanel.style.display = 'none'; } };window.closeEmbed = function () { if (embedPanel) embedPanel.style.display = 'none'; }; window.refreshEmbed = function () { generateEmbedCode(); };window.copyEmbedCode = function () { if (!embedCodeTextarea) return; generateEmbedCode(); embedCodeTextarea.select(); embedCodeTextarea.setSelectionRange(0, embedCodeTextarea.value.length); if (navigator.clipboard) { navigator.clipboard.writeText(embedCodeTextarea.value).then(function () { alert('Embed code copied!'); }) .catch(function () { try { document.execCommand('copy'); alert('Embed code copied!'); } catch (e) { alert('Press Ctrl+C to copy'); } }); } else { try { document.execCommand('copy'); alert('Embed code copied!'); } catch (e) { alert('Press Ctrl+C to copy'); } } };/* ─────────── Init ─────────── */ function bindAll() { var ids = [ 'initialInput','finalInput','costsInput','incomeInput', 'yearsInput','inflationInput' ]; ids.forEach(function (id) { var el = document.getElementById(id); if (el) { el.addEventListener('input', function () { calculate(); scheduleEmbedRefresh(); }); el.addEventListener('change', function () { calculate(); scheduleEmbedRefresh(); }); } });if (currencySelect) { currencySelect.addEventListener('change', function () { updateCurrencyPrefixes(); calculate(); scheduleEmbedRefresh(); }); } }function init() { bindAll(); updateCurrencyPrefixes(); calculate(); if (embedPanel) embedPanel.style.display = 'none'; }if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', init); } else { init(); } })();

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

A raw ROI percentage only tells part of the story. Two investments can both return 40%. One took six months, the other took nine years. The first is far better, but the basic formula hides that. That’s why this ROI calculator outputs CAGR alongside total return. It also separates nominal returns from real returns, so you can see whether your money actually gained purchasing power or just kept pace with inflation. The tool was built for anyone running numbers on a stock position, a rental property, a small business, or a retirement account.

 

How to Use the ROI Calculator

  1. Pick your currency from the dropdown. All money fields update to show the matching symbol.

  2. Enter your initial investment, the amount you put in at the start.

  3. Add the final or current value of the investment.

  4. Include any additional costs such as brokerage fees, closing costs, or taxes paid.

  5. Enter income received along the way, like dividends, rent, or interest.

  6. Set the holding period in years. Decimals work — use 0.5 for six months or 2.75 for two years and nine months.

  7. Type an annual inflation rate. The default 2.5% reflects long-run U.S. averages, but you can change it.

  8. Tap Calculate. The result updates automatically, but the button forces a fresh computation.

 

How the ROI Calculator Formula Works

The calculator runs four formulas in sequence. Each one builds on the last.

Formula: Net Profit = (Final Value + Income) − (Initial Investment + Costs)
Formula: ROI % = (Net Profit ÷ Total Invested) × 100
Formula: CAGR % = ((Proceeds ÷ Invested)^(1 ÷ Years) − 1) × 100
Formula: Real CAGR % = ((1 + CAGR ÷ 100) ÷ (1 + Inflation ÷ 100) − 1) × 100

Total Invested is your initial investment plus any additional costs. Proceeds is the final value plus income received. Net Profit is proceeds minus total invested. ROI turns that into a percentage of what you put in. CAGR spreads the return evenly across every year of the holding period, which makes investments of different lengths comparable. Real CAGR strips out inflation so you see the change in purchasing power, not just the nominal number.

The tool also computes a return multiple, which is simply proceeds divided by invested. A multiple of 1.5 means you got back 50% more than you put in. A multiple below 1.0 means you lost money, no matter what the ROI percentage says.

 

Worked Example

You bought $7,200 worth of an index fund 4.5 years ago. You paid $180 in platform fees when you bought in. The fund paid $240 in dividends over the years, which you didn’t reinvest. Today the position is worth $9,850.

Total invested: $7,200 + $180 = $7,380.
Total proceeds: $9,850 + $240 = $10,090.
Net profit: $10,090 − $7,380 = $2,710.

ROI: $2,710 ÷ $7,380 × 100 = 36.72%.

CAGR: (10,090 ÷ 7,380)^(1 ÷ 4.5) − 1 = 0.0720, or 7.20%.

Return multiple: 10,090 ÷ 7,380 = 1.37×.

Now assume inflation ran at 3.2% a year during that stretch. Real CAGR: (1.0720 ÷ 1.032 − 1) × 100 = 3.88%.

The tool would place this in the Moderate category. A 7.2% annualized return is right at long-term broad market averages. The real return of 3.88% means your purchasing power grew by nearly 4% a year after inflation, which is a solid outcome over four and a half years. Change the holding period to 1.5 years with the same dollar figures and CAGR jumps above 25%, landing in Very strong. Same dollars, different time frame, different verdict.

Frequently Asked Questions

How do I calculate ROI?

Divide your net profit by your total investment, then multiply by 100. Net profit is what you got back minus what you put in, including costs. If you invested $8,000 and ended with $11,000, your net profit is $3,000 and your ROI is 37.5%.

 

What is a good ROI?

Long-run equity benchmarks sit around 7% to 10% annualized before inflation. Real estate and small business returns vary more. Anything above 15% annualized sustained for years is exceptional. The right benchmark depends on what you’re comparing against and how much risk you took.

 

What is the difference between ROI and CAGR?

ROI is total return across the whole holding period. CAGR is the equivalent annual return. If you tripled your money in 10 years, ROI is 200% and CAGR is roughly 11.6% a year. CAGR is better for comparing investments held for different lengths of time.

 

Why is my ROI negative?

Your proceeds came in below your total invested amount. That means the investment lost value, fees ate the gain, or you’re measuring during a drawdown. A negative ROI in a single year isn’t unusual for stocks. What matters is the trend over the full holding period.

 

How do I calculate annualized return?

Take proceeds divided by invested, raise it to the power of one over years, subtract one, multiply by 100. If you doubled your money in six years, the calculation is 2^(1/6) − 1 = 0.1225, or about 12.25% per year. The calculator does this step for you.

 

What is real return?

Real return is your nominal return adjusted for inflation. It shows whether your purchasing power grew. The formula is (1 + nominal) ÷ (1 + inflation) − 1. An 8% nominal return during 3% inflation produces about 4.85% real.

 

Does ROI include dividends?

In this calculator, dividends and other income go in the Income Received field. If you leave that field at zero, your ROI will only reflect price appreciation. Including income gives a truer picture of total return, which is what most professional benchmarks report.

 

Can I use this calculator for rental property?

Yes. Enter the purchase price as the initial investment. Add closing costs and any renovation expenses to the additional costs field. Net rental income goes in the income field. Sale price goes in the final value. The holding period is how many years you owned the property.

 

What is return multiple?

Return multiple is proceeds divided by invested. A 2.5× multiple means you got back two and a half times what you put in. It’s a quick way to see how many times over your money was returned, without worrying about percentages.

 

How do I compare investments of different lengths?

Use CAGR, not raw ROI. A 20% return over two years and a 20% return over ten years look identical on a raw ROI basis, but the two-year investment compounded to about 9.5% a year while the ten-year one came in at 1.8%. CAGR is the fair comparison.

Financial Disclaimer

This calculator provides estimates based on the numbers you enter. It assumes a single lump-sum investment at the start and a single exit at the end. It doesn’t model irregular cash flows, reinvestment timing, tax treatment, or currency fluctuation. Real-world results will differ. Currency symbols are display-only; the tool doesn’t perform foreign exchange conversion. The output is for educational and planning purposes and isn’t financial, tax, or investment advice. Consult a licensed financial professional before making decisions based on these figures.

ADVERTISEMENT

ADVERTISEMENT