Free calculator, no signup

ROI Calculator

Work out the return on an investment, past or projected.

  • No signup
  • Built for beginners
  • Education, not advice
  • Review of this update in progress

Reviewer: Associate Professor Charles Lo, CPA, PhD. Editor: Felix La Spina. Updated . Review of this update in progress. Education, not advice. How we check

Example, not your result
ROI on $5,000 sold for $6,50030%
Projected value after 10 years$374,051
Money put in$220,000
Total gain$154,051
Fixed figures. They do not change when you change the inputs.

Use the calculator

Free. No signup. Nothing to install.
↓ Investment Growth Calculator ↓

Your Investment Details

Enter your time period, return rate, starting amount, and contributions to project your total value.

How many years you plan to stay invested.
Your expected annual rate of return. Enter 7 for 7%.
The lump sum you are investing at the start.
The amount you add each period. Set to 0 for none.
How often you make your regular contribution.
Total Investment Fund After 10 Years

$—

Illustration from your inputs, not live market data or a forecast. Contributions arrive at period-end; compounding follows the chosen frequency. None means annual growth with no contributions. Simple interest uses the initial amount only; remaining growth is shown separately. Tax, fees and inflation are excluded. Full method.

Change your inputs and click Calculate to update this projection.
Invested Capital$—
Simple Interest$—
Compound Interest$—
Annual Investment Returns
Invested Capital $— Simple Interest $— Compound Interest $—

ROI Summary

MetricValueNotes
Total After Period$—Future value of initial plus contributions
Invested Capital$—Initial plus all contributions
Simple Interest$—Initial investment × annual rate × years
Compound Interest$—Total minus invested capital minus simple interest

Year-by-Year Breakdown

Year Total Value Invested Capital Simple Interest Compound Interest
Important calculator disclosure

General education only — check the assumptions before using the result.

Purpose: This calculator is a general educational tool that performs a numerical calculation from the values you enter. It does not recommend, advertise or promote a specific financial product.

Assumptions: The calculation uses the input values and assumptions displayed in the calculator. Default values are illustrative starting points, not forecasts. Change each non-statutory assumption so it matches the scenario you want to test.

Limitations: Actual market returns, prices, dividends, interest rates, fees, tax, inflation and timing may differ from the assumptions. The calculator may omit factors relevant to you. Small input changes can materially change the result, so the output is an illustration rather than a prediction.

This financial calculator is not intended to be relied on for the purposes of making a decision in relation to a financial product. You should consider obtaining advice from a financial services licensee before making any financial decisions.

You can print this page or save it electronically using your browser controls.

Educational content only. Projections assume a constant annual return and do not account for taxes, fees, inflation, or variable market returns. Use this as a planning guide, not a guaranteed forecast.

How it works

  1. You enterUse the growth assumptions above, or enter purchase and sale amounts in the completed-investment calculator.
  2. You getProjected investment value, or holding-period ROI and the dollar gain.
  3. ThenSee the tax on the gain.

Keep in mind. Before tax and fees unless you include them.

Where to go next

Next useful step: see the tax on the gain.

Stock Calculator →
The short answer

How do I calculate ROI on an investment?

ROI, or return on investment, is your gain divided by what you paid, times 100. Buy for $5,000, sell for $6,500 and your gain is $1,500, so your ROI is 30% before costs and tax. For money you are still investing, the projector above estimates the final value instead. In its default example, $100,000 plus $1,000 a month at 7% for 10 years grows to $374,051 from $220,000 put in, a 70% total return.

Key points

  • The formula. Net gain ÷ total cost × 100.
  • Count everything. Include fees paid and dividends received.
  • Per year. 30% over five years is about 5.4% a year.
  • Time first. Holding the default plan 20 years instead of 10 adds $550,750.
  • Steady deposits. Monthly beats yearly because money starts growing sooner.
  • After tax. Gains in a taxable account are usually taxed when you sell.
2 minute lesson, optionalWas it a good return ?Guess first, see the answer, then try it yourself. Five quick steps. You can skip it any time. Play the lessonClose the lessonOpen
ROI00 XP

Your path

Do today’s challenge, then tap Up next.

Daily goal: 30 XP
All tools

    ROI calculator

    Step 1 of 5

    You buy shares for $5,000, collect $200 in dividends and sell for $6,500. Fees cost $20.

    What is your ROI?

    Tap a guess. Wrong guesses cost nothing.

    Free · No signup · 2 minutes · Revision review pending · Updated

    Step 2 of 5

    Next: try it yourself.

    Step 3 of 5

    Your turn

    Drag a slider or tap an option. Watch the number change.

    Type exact numbers

    Quick version for learning. The full roi calculator below has every option.

    Step 4 of 5

    What if you changed one thing?

    Tap a change to see what it does to .

    Step 5 of 5

    Tap an answer. You see why either way.

    Lesson complete

    0XP
    0Streak
    0/2Correct
    Your number
    More

    The guide

    Learn it in 4 short parts

    Each part answers one question. Open any part. Tap Got it when you are done.

    ROI explained

    What is ROI, and how do you work it out?

    ROI tells you the total return. Annualize it before comparing different holding periods.

    ROI tells you how much you made compared with what you put in. It is the simplest way to compare two results, as long as you remember what it leaves out.

    How do I calculate ROI on an investment I sold?

    Use the amount you paid, the amount you received and any fees or dividends along the way. The calculator below does the math, including fees.

    Calculate a completed investment’s ROI

    Use the amount you paid and the amount you received. For example, buying for $5,000 and selling for $6,500 produces a $1,500 gain and 30% ROI before costs and tax.

    Formula: net gain ÷ total purchase cost × 100. Total purchase cost includes buying fees. Net gain includes cash distributions and subtracts both sets of fees.

    This is a holding period return, not an annual rate or a forecast. It excludes tax, inflation and reinvestment. Use one currency throughout. For several deposits or withdrawals at different times, simple ROI does not account for cash flow timing.

    The investment growth calculator above is a separate projection. It uses an assumed return rate rather than calculating a return from sale proceeds.

    With fees included

    Buy for $5,000 and sell for $6,500, with $10 to buy and $10 to sell. Your total cost is $5,010 and your net gain is $1,480, so your ROI is 29.54% instead of 30%. Small fees matter more on small trades.

    What is the ROI formula?

    ROI = net gain ÷ total cost × 100. Net gain is what you received, plus any dividends or other cash, minus what you paid and minus fees. Total cost is the price plus buying fees.

    1. Add up what you paid, including buying fees.
    2. Add up what you got back: the sale proceeds and any dividends, minus selling fees.
    3. Subtract the first number from the second to get your net gain.
    4. Divide by what you paid and multiply by 100.

    Why is ROI not the same as a yearly return?

    ROI covers the whole time you held the investment, however long that was. A 30% ROI over one year is excellent. Over five years it works out to about 5.4% a year, and over three years about 9.1% a year. To compare investments held for different lengths of time, convert to a yearly rate. The CAGR calculator does that for you.

    How do dividends change my ROI?

    They add to it, often more than people expect. ROI should count every dollar the investment paid you, not just the sale price. Leave out the dividends and you understate your return.

    Take the same $5,000 purchase sold for $6,500, and say it paid $400 in dividends while you held it. Your net gain is $6,500 plus $400 minus $5,000, which is $1,900. Divide by $5,000 and your ROI is 38%, not 30%. On a stock or fund held for many years, dividends can make up a large share of the total return.

    Two cautions. First, dividends are taxable in the year you receive them, even if you reinvest them; qualified dividends get the lower capital gain rates.3 Second, if you reinvested dividends into more shares, do not count them twice. Those reinvested dollars are already inside your sale proceeds, so either add them to your cost or leave them out of the dividends field.

    The rule

    ROI tells you the total return. Annualize it before comparing different holding periods.

    Marks part 1 of 4 done and opens the next one.

    Projected growth

    What changes your projected result the most?

    Give money time. The growth on growth is what makes the big numbers.

    The projector grows your starting amount and your regular contributions at a yearly return you choose. Time does more than anything else.

    How does the projector work?

    It adds your contributions at the end of each period and compounds at the frequency you choose. It then splits the gain into simple interest on your first deposit and everything else, which comes from compounding and from growth on your later contributions.

    The default, split up

    $100,000 plus $1,000 a month for 10 years at 7% reaches $374,051. You put in $220,000. Simple interest on the first $100,000 is $7,000 a year, or $70,000. The other $84,051 is compounding: growth on growth, and on your monthly deposits.

    How much does time matter?

    The default plan held for longer
    10 years$374,051
    20 years$924,801
    30 years$2,031,621

    Same plan: $100,000 to start, $1,000 a month, 7% a year. From 10 to 30 years the money put in roughly doubles, but the value grows more than five times.

    Why does growth speed up in later years?

    Because each year’s growth is calculated on a bigger balance. Compound interest is interest paid on your original money and on the interest it has already earned.4 The rate stays the same, but the base keeps growing.

    Watch a single $10,000 deposit at 7% a year. In year 1 it earns $700. In year 10 it earns about $1,287, because the balance has almost doubled. In year 30 it earns about $4,980 in that one year alone, roughly seven times the first year’s growth, from the same deposit and the same rate.

    This is why the bars in this part look so lopsided. The middle and late years do most of the work. Stopping contributions or cashing out early gives up the years when compounding pays the most, and starting five years sooner can matter more than finding a slightly higher return.

    The rule

    Give money time. The growth on growth is what makes the big numbers.

    Marks part 2 of 4 done and opens the next one.

    Reality check

    What could make your real ROI different?

    Compare ROI per year, after fees and tax, or you are not comparing like with like.

    Both calculators are clean math. Real investing adds costs, taxes and uneven returns.

    What does ROI leave out?

    • Time. ROI does not say how long the gain took. Always compare yearly rates.
    • Taxes. Gains on investments sold in a taxable account are usually taxed. Held more than a year, they qualify for lower long term rates.1
    • Inflation. A 30% gain over 10 years buys less than it sounds. The inflation calculator shows how much.
    • Uneven returns. The projector uses one steady rate. Real markets rise and fall from year to year.

    Do fees matter for ROI?

    Yes, and they compound. Fund fees come out every year, so they lower your return every year. The SEC’s investor site shows $100,000 earning 4% for 20 years ending near $208,000 with a 0.25% yearly fee, but near $179,000 with a 1% fee.2

    Your turn

    Turn your ROI into a yearly rate. The CAGR calculator converts a start value, an end value and the years into the compound annual growth rate, so you can compare investments fairly.

    Open the CAGR calculator

    How do I adjust ROI for inflation?

    Compare your growth with the rise in prices over the same years. Inflation is commonly measured with the Consumer Price Index, which tracks the average change in prices paid by urban consumers.5 Your real return is what is left after that rise.

    The math is a division, not a subtraction. Add 1 to your ROI, divide by 1 plus total inflation, then subtract 1. Say you earned 30% over 10 years while prices rose 3% a year. Ten years of 3% inflation compounds to about 34%. So 1.30 divided by 1.34 is about 0.97, a real return of about minus 3%. Your account grew, yet it buys a little less than when you started.

    A short holding period hides this effect and a long one exposes it. That is one more reason to convert ROI to a yearly rate and to compare it with inflation over the same stretch.

    The rule

    Compare ROI per year, after fees and tax, or you are not comparing like with like.

    Marks part 3 of 4 done and opens the next one.

    Watch out

    Three mistakes to avoid, and what to do instead

    Common slips and what to do instead.
    1. Confusing total return with yearly return A 50% ROI over five years is about 8.4% a year, not 10%. Use CAGR for the yearly figure.
    2. Leaving out costs Fees, taxes and trading costs all lower the real return. Include them for an honest number.
    3. Comparing ROI across different risks A 7% return from a broad fund and 7% from one small stock are not the same result. Risk is part of the picture.

    Marks part 4 of 4 done.

    Quick questions

    ROI Calculator FAQ

    Tap a question to open the answer.

    What does the ROI calculator do, and is it free?

    Work out the return on an investment, past or projected. You enter what you paid, what you got back and how long you held it. You get rOI, annualized return and the dollar gain. It is free to use with no signup. Keep in mind: before tax and fees unless you include them.

    How do you calculate ROI on an investment?

    Divide your net gain by your total cost, then multiply by 100. Net gain is what you got back, including sale proceeds and any dividends, minus what you paid and minus fees. Buy for $5,000, sell for $6,500 and pay no fees, and your gain is $1,500, so ROI is 30%. Add $10 of fees each way and total cost becomes $5,010, net gain $1,480, and ROI 29.54%. The completed investment calculator on this page does that math for you.

    What is a good ROI?

    A good ROI beats what you could have earned elsewhere for similar risk over the same time. Investors expect higher returns for taking more risk, so a few percent a year can be good for a savings account but weak for a stock. Time matters too: 30% in one year is excellent, while 30% over five years is about 5.4% a year. Convert to a yearly rate, subtract fees, and compare it with inflation and a simple index fund over the same period.

    Is ROI the same as profit?

    No. Profit is the dollar gain, while ROI is that gain as a percentage of what you put in. The percentage lets you compare investments of different sizes. A $1,000 profit on a $2,000 investment is a 50% ROI, while the same $1,000 profit on $20,000 is only 5%. Both made the same money, but the first used far less capital to do it. Report both numbers, along with how long you held each investment.

    How do I include dividends in ROI?

    Add them to what you received. The completed investment calculator has a field for cash distributions such as dividends, and it counts them in your net gain. A $5,000 purchase sold for $6,500 that also paid $400 in dividends has an ROI of 38% rather than 30%. If you reinvested the dividends into more shares, do not count them a second time, because they are already part of what you sold. Dividends are taxable in the year you receive them.

    Show 4 more questionsShow fewer questions
    What is the difference between ROI and CAGR?

    ROI is the total return over the whole holding period, while CAGR, the compound annual growth rate, is the steady yearly rate that would produce the same result. ROI ignores time, which makes it misleading when you compare investments held for different lengths. A 30% ROI over five years works out to a CAGR of about 5.4%, while 30% over three years is about 9.1% a year. Use the CAGR calculator to convert any ROI into a yearly rate.

    Does a high ROI mean an investment was a good choice?

    Not always, and this is a common mistake. A high ROI can come from taking a large risk that happened to work, from a very long holding period, or from a single lucky stock. It also ignores what the same money could have earned elsewhere. Someone who made 40% on one stock over eight years earned about 4.3% a year, likely less than a broad index fund over that span. Judge results by yearly return, risk taken and the alternative.

    Does ROI include taxes and inflation?

    No. The basic formula shows a pretax, nominal return. Gains on investments sold in a taxable account are usually taxed, at lower long term rates if held more than a year, and dividends are taxed when paid. Inflation then shrinks what the remaining money buys. A 30% gain over 10 years with 3% yearly inflation is roughly a 3% loss in buying power. Enter fees in the calculator, then adjust for tax and inflation separately.

    Can I save or share my ROI projection?

    Yes. Save my numbers keeps your projector inputs in this browser on this device. Copy link to these numbers creates a link that opens the projector with the same inputs, and nothing else is stored or sent. Both calculators work only with the figures you type in; they do not look up prices, dividends or tax rates. The projector also uses one steady rate of return, so treat its result as an illustration rather than a forecast.

    Keep going

    What should I do next?

    Pick the step that fits what you just did.

    Trust

    Who checks this page, and the sources

    Real people check the numbers and the wording. Every source is listed.

    • Updated
    • Sources listed below
    • Education, not advice
    • Review of this update in progress
    Was this page helpful?Spotted an error? Tell us
    Sources and methodEvery source used on this page, how the tool works and the page history.
    1. IRS Topic No. 409, Capital gains and losses. Holding an investment more than one year makes a gain long term.
    2. Investor.gov (U.S. Securities and Exchange Commission): How Fees and Expenses Affect Your Investment Portfolio. $100,000 earning 4% a year for 20 years ends near $208,000 with a 0.25% yearly fee and near $179,000 with 1%.
    3. IRS: Topic No. 404, Dividends and other corporate distributions. Dividends are taxable, and qualified dividends get the lower capital gain rates.
    4. Investor.gov (U.S. Securities and Exchange Commission): Compound interest. Defines compound interest as interest paid on principal and on accumulated interest.
    5. U.S. Bureau of Labor Statistics: Consumer Price Index. The CPI measures the average change over time in prices paid by urban consumers.
    6. Investor.gov (U.S. Securities and Exchange Commission): Risk. Investors look for higher returns to compensate them for taking more risk.

    Method: the completed investment calculator divides net gain (sale proceeds plus distributions, minus selling fees and total cost) by total cost, where total cost is the purchase amount plus buying fees. The projector adds contributions at the end of each period, compounds at the chosen frequency, and splits the gain into simple interest on the initial amount and the remaining growth. The projection default is 10 years, 7% a year, $100,000 to start and $1,000 a month. Every figure on this page came from these calculators on October 15, 2026. Results exclude taxes, fees and inflation unless you enter fees. All amounts are in U.S. dollars.

    Page history. November 27, 2026: page simplified into numbered sections, missing tables restored and the questions reordered. The tool itself has not changed. October 21, 2026: content expanded, sources added and the page reviewed by Associate Professor Charles Lo, CPA, PhD. The tool itself has not changed.

    StockEducation provides general education, not personal financial, tax or legal advice. Results are illustrations based on the assumptions you enter, not forecasts or promises of any return. Investing involves risk, including the loss of money you invest.

    Sources and reference material

    Primary sources and original reference material for the concepts discussed on this page.

    References added 14 October 2026.

    Free beginner guide

    New to Investing? Start With Our Free Guide

    20 pages on the basics, 6 safe ways to use AI, and a 10 question quiz. Free in your inbox.

    Free PDF in your inbox. No spam. Unsubscribe any time.

    Learning Path IncludedEvery lesson in the right order, freeGet the Free Guide

    Optional email copy

    Save your number

    Email yourself a copy of this result and receive occasional updates about the StockEducation $1M simulator challenge. Your result stays visible either way.

    Saved. Check your inbox for the result.
    View the $1M challenge
    AI Robot

    Ask the
    Stock AI Assistant

    Get instant educational answers about
    stocks, investing, and StockEducation.com.

    Instant Answers Built With Learners

    Educational support only. Not personal financial advice. AI responses may contain errors.

    Powered by AI ●

    The Ultimate Investing Starter Guide

    Free Stock Market
    Investing Guide

    A beginner friendly guide that covers the essential lessons and concepts every new investor should understand.

    Beginner Investing Guide Form

    Inside You'll Learn

    Stocks & How They Work
    Valuation Basics
    Compound Interest
    Index Funds & Diversification
    Warren Buffett Principles
    AI Stock Research & More
    20+ Pages
    of Value
    Instant
    Download
    100% Free
    No Strings