ROI Calculator

Calculate return on investment: enter what you invested and what you got back (or what it’s worth now). Add the holding period to see the annualised ROI, so investments held for different lengths of time can be compared.

Your numbers
Result
ROI
—
Net profit
—
Annualised ROI
—

The ROI formula

ROI = (Amount returned − Total cost) ÷ Total cost × 100
Annualised ROI = (Amount returned ÷ Total cost)^(1 ÷ Years) − 1

Example: invest $5,000 and get back $6,500. Net profit is $1,500, so ROI is 30%. If that took 2 years, the annualised ROI is 14.02% a year, not 15%, because returns compound.

Why annualise?

A 30% return over 2 years and a 20% return over 6 months aren’t comparable as raw numbers. Annualising converts both into a yearly rate: 14.02% vs 44% a year. Very short holding periods produce huge annualised numbers, so treat those with care.

Include all your costs

Fees, commissions and other costs reduce your real return. Put them in the extra costs box so they’re added to the amount invested. Taxes aren’t included.

For a share trade specifically, the stock profit calculator handles shares, prices and commissions on both sides. For a crypto trade, use the crypto profit calculator.

ChartWatch is independent and not affiliated with TradingView, any broker or exchange. This calculator uses only the numbers you enter and runs in your browser. Results are estimates before taxes and any costs you leave out. It is a calculation tool, not financial advice.

FAQ

How do you calculate ROI?
Subtract the total cost from the amount returned, divide by the total cost and multiply by 100. $5,000 that returns $6,500 is a 30% ROI.
What is annualised ROI?
The ROI converted into an equivalent yearly compound rate, so investments held for different lengths of time can be compared.
What is a good ROI?
There's no single answer. It depends on the risk, the time involved and what else the money could have earned. Compare annualised ROI with a relevant benchmark.

More free TradingView tools

TradingView — the fastest way to follow markets
Watchlist BuilderAll GuidesWatchlist GuideTradingView PlansIndicatorsShortcutsBar ReplayAlert BuilderPine ColorsWatchlist CleanerCalculatorsWorld Market HoursForex HoursStock Market HoursMarket HolidaysFed Meeting DatesCPI & NFP DatesPosition Size CalculatorCandlestick PatternsChart PatternsChart ColorsSymbol FormatAboutPrivacyTermsContact

ChartWatch is an independent tool and is not affiliated with, endorsed by, or officially connected to TradingView, Inc. “TradingView” is a trademark of its respective owner. Exchange, broker and platform names are trademarks of their respective owners.