How to Calculate Your Return on Investment

Calculating your return on investment (ROI) helps you to determine if you're making a profit on a current investment—or decide if a prospective investment is worth your time and money.

We are committed to sharing unbiased reviews. Some of the links on our site are from our partners who compensate us. Read our editorial guidelines and advertising disclosure.

You invested in property a few years ago, and now you want to know: Was that investment worth it? To find out, you need to calculate your return on investment (ROI). We walk you through how to use the ROI formula and also where you can go for easy calculations.

The return on investment formula

To calculate your ROI, divide the net profit from your investment by the investment's initial cost, then multiply the total by 100 to get a percentage:

ROI = (net profit / investment cost) x 100

To calculate your net profit, subtract your stock's current value from the initial investment price.

Let's say you bought $5,000 worth of stock in a company. In three years, you sell it for $7,000. First, find your net profit: $7,000 – $5,000, so $2,000. Then divide your net profit by the initial investment cost of $5,000, multiplying by 100 to calculate the investment ratio:

ROI = ($2,000 / $5,000) x 100

In this case, you've earned a 40% return on investment—not bad.

The higher the percentage, the better your return on investment. A negative percentage, though, means you actively lost money on this investment.

Annualized return on investment

The ROI formula doesn't account for the amount of time you have a stake in an investment, otherwise known as the holding period. That also means the ROI formula doesn't account for compound interest, or the interest you accrue each year that contributes to the next year's interest. (Another way to think of compound interest is the interest you earn on interest.)

If you want to know how much you're earning year over year, accounting for compound interest, use the annualized return on investment formula:

Annualized ROI = [(1 + ROI)1/n – 1] x 100

In this formula, n means the number of years you're holding the investment, or the holding period.

Let's go back to our example above, where you determined that your ROI after three years is 40%, or, numerically speaking, 0.4. If you're calculating the annualized ROI, your formula should look like this:

Annualized ROI = [(1 + 0.4)1/3 – 1] x 100

Following this formula, your annualized ROI is about 11.87%.

Additional ROI calculations

A company's cash flow fluctuates from year to year, and so does your stock's value—which means you likely aren't going to earn the exact same ROI every single year. If you want a more detailed understanding of your ROI, then calculating your ROI and annualized ROI aren't enough. Instead, you need to make a few more calculations:

  • The compound annual growth rate (CAGR), or annualized total return, measures your investment's potential growth rate year over year, assuming an average rate of growth and a reinvestment of funds at the end of each term.
  • The internal rate of return (IRR) is a much more complicated equation that accounts for more detailed cash inflows (and, alas, outflows) over the course of an investment.
Expert Advice, Straight to Your Inbox
Gain confidence in your business future with our weekly simple solutions newsletter.

By signing up I agree to the Terms of Use and Privacy Policy.

Tools for calculating your ROI

You can calculate your ROI by hand, but why bother? Online ROI calculators can simplify the process—just input the numbers and the calculator will crunch them for you. Alternatively, run the numbers through spreadsheet software like Excel or Google Sheets. Some investing sites offer free Excel templates to make calculating ROI (and more complicated financial metrics like IRR) a little simpler.

The takeaway

The return on investment equation doesn't tell you how much you're guaranteed to make on a given investment—no equation can tell you that for certain, since the lack of certainty is a key part of the game. Still, it's a useful calculation to have under your belt whether you're investing in stock for the first time or trying to determine if your next investment property will be worth what you paid for it.

Want more financial metrics for evaluating an investment? Check out our piece on another key financial ratio: the future value formula.


At, our research is meant to offer general product and service recommendations. We don't guarantee that our suggestions will work best for each individual or business, so consider your unique needs when choosing products and services.

Kylie McQuarrie
Written by
Kylie McQuarrie
Former staff writer Kylie McQuarrie has been writing for and about small businesses since 2014. Her work has been featured on, G2, and Fairygodboss, among others. She's worked closely with small-business owners in every industry—from freelance writing to real-estate startups—which has given her a front-row look at small-business owners' struggles, frustrations, and successes.
Recent Articles
Best Payroll Software for Small Business 2023
We looked at 20 of the most popular payroll programs in the US, to rate...
web design screen on laptop
Best Free Website Builder for Small Business
Need a no-cost website builder? Check out our rankings to find the best one. Best...
A black male waiter serves a group of black and white women eating at a restaurant
The 9 Best Payroll Software for Restaurants 2023
We looked at and assessed the top payroll brands’ prices, plans, payroll and HR features,...
A Black woman in a pink sweater sits at a table calculating sums
Gusto Payroll Review 2023
In our Gusto review, we dive into pricing, payroll and HR features, customer reviews, and...