WorldTickers

INVESTING

ROI Calculator — Return on Investment

By Worldtickers ·

Use our free ROI calculator to find the return on investment for any purchase, trade, or investment. Enter your initial investment, the final value, and any costs or fees to get ROI as a percentage and your net dollar gain, plus the formula, worked examples, and common pitfalls to avoid.

This roi calculator — return on investment tool focuses on use our free ROI calculator to find the return on investment for any purchase, trade, or investment. Enter your initial investment, the final value, and any costs or fees to get ROI as a percentage and your net dollar gain, plus the formula, worked examples, and common pitfalls to avoid. Use it to compare investment returns, income, risk, compounding, and portfolio assumptions while changing price, yield, time, allocation, or contribution inputs.

ROI Calculator

ROI Calculator

Enter your initial investment, the final value you received back, and any additional costs or fees to calculate return on investment.

What Is ROI?

ROI, short for return on investment, is the most widely used profitability measure in finance because it works for almost anything you can put money into. It answers one simple question: for every dollar you invested, how much did you gain or lose? Expressing that answer as a percentage rather than a raw dollar figure is what makes ROI so useful — a $5,000 gain sounds impressive on its own, but whether it is actually a good outcome depends entirely on how much capital was at risk to earn it.

An investment gain calculator like this one is doing nothing more exotic than comparing what you put in against what you got back, net of any costs along the way. That simplicity is a feature, not a limitation — it is exactly why ROI shows up everywhere from stock trading and real estate to marketing budgets and business case studies. A marketing team measuring ROI on an ad campaign and an investor measuring ROI on a stock trade are using the identical formula, just applied to different kinds of "investment."

Because ROI is also sometimes called a profit percentage calculator in casual use, it is worth being precise about what it measures: total percentage gain over the life of the investment, not an annual rate. If you are comparing investments held for different lengths of time, you will want to pair ROI with an annualizing tool — our CAGR calculator converts a start-and-end comparison into a per-year growth rate, which is the fairer way to compare a two-year trade against a ten-year holding.

How to Use This Calculator

This ROI calculator uses three inputs, and only the first two are strictly required.

Initial Investment

Enter the total amount of money you originally put into the investment — the purchase price of shares, the amount you paid for a property, or the capital you contributed to a business. This is the base the ROI percentage will be measured against.

Final Value

Enter the total value you received back, or the current market value if you have not sold yet — the sale price of the shares, the proceeds from selling the property, or today's valuation of the business stake.

Additional Costs / Fees (Optional)

This field defaults to zero if you leave it blank, but filling it in gives you a far more honest ROI. Include brokerage commissions, closing costs, renovation expenses, taxes specific to the transaction, or any other cost that would not have existed without this particular investment. The calculator subtracts these costs from your gain before computing the percentage.

The Formula Explained

The ROI formula used by this return on investment calculator is: ROI (%) = (Final Value − Initial Value − Costs) / Initial Value × 100.

Reading it left to right: first find your net gain by taking the final value and subtracting both your original investment and any costs. Then divide that net gain by your original investment to find out what fraction of your starting capital you gained (or lost). Multiplying by 100 turns that fraction into a percentage.

Using the numbers from the earlier example — $1,000 invested, $1,200 final value, $20 in costs — the net gain is $1,200 − $1,000 − $20 = $180. Dividing $180 by the $1,000 initial investment gives 0.18, or 18% once converted to a percentage. That 18% is your ROI: for every dollar you put in, you ended up 18 cents ahead after accounting for fees.

Notice that the formula treats costs exactly like a reduction in final value — a $20 fee has the same effect on ROI as if the final value had simply been $20 lower. This is why it is important to actually fill in the costs field rather than leaving it blank out of convenience; skipping it does not eliminate the cost, it just hides it from your reported return.

Real-World Examples

Example 1: A Stock Trade

You buy 100 shares at $50 each, putting up $5,000. You later sell all 100 shares at $62 each, receiving $6,200, and pay $25 in total brokerage commissions across the buy and sell. Net gain: $6,200 − $5,000 − $25 = $1,175. ROI: $1,175 / $5,000 × 100 = 23.5%. Without accounting for the $25 in commissions, you would have reported a slightly inflated 24% — a small difference on this trade, but one that compounds into a meaningfully overstated track record if you repeat the same shortcut across dozens of trades.

Example 2: A Rental Property Flip

You buy a rental property for $250,000 and later sell it for $300,000. Between closing costs, agent commissions, and repairs made specifically to prepare the sale, you spend $15,000 in additional costs. Net gain: $300,000 − $250,000 − $15,000 = $35,000. ROI: $35,000 / $250,000 × 100 = 14%. This example shows why real estate ROI figures that ignore transaction costs are so often misleading — the $15,000 in costs here reduced the headline 20% gross gain down to a 14% real ROI.

Example 3: A Small Business Investment

You invest $20,000 for a stake in a friend's small business. Three years later you sell your stake for $28,000, with no meaningful transaction costs. Net gain: $28,000 − $20,000 − $0 = $8,000. ROI: $8,000 / $20,000 × 100 = 40%. That 40% figure is the total return over the whole three-year holding — to compare it fairly against a stock market benchmark quoted as an annual rate, you would still need to annualize it using a tool like our CAGR calculator, which for this example works out to roughly 11.9% per year.

Tips and Limitations

ROI Has No Sense of Time

The single biggest limitation of ROI is that it says nothing about how long the investment took. A 15% ROI over one month is an extraordinary result; the same 15% ROI over fifteen years is a mediocre one. Always attach a time frame when quoting or comparing ROI figures, and consider annualizing longer-period returns with our CAGR calculator so you are comparing like with like.

Always Include Real Costs

It is tempting to quote a "clean" ROI that ignores fees, taxes, and transaction costs because it produces a bigger, more flattering number. Resist that temptation — the additional costs field exists precisely so your ROI reflects what actually landed in your pocket, not a theoretical best case.

ROI Ignores Risk

Two investments can post an identical ROI while carrying wildly different levels of risk — a government bond and a speculative small-cap stock might both return 8%, but they are not equivalent investments. ROI measures what happened, not how likely a similar or worse outcome was to occur. Pair it with a risk-aware view of your holdings when making decisions, not just the headline percentage.

Watch for Hidden Cash Flows

Plain ROI assumes a single lump sum went in and a single lump sum came out. If you added or withdrew money partway through, or reinvested income along the way, a plain ROI calculation will distort the real picture. Use the appropriate specialized calculator — such as our dividend reinvestment calculator for reinvested dividends — whenever cash moved in or out mid-stream.

Frequently Asked Questions

What is ROI?

ROI, or return on investment, is a profitability ratio that measures how much money you made or lost on an investment relative to how much you put in. It is expressed as a percentage so that gains of very different sizes — a $50 stock trade or a $500,000 real estate deal — can be compared on equal footing. ROI is one of the oldest and most universal metrics in finance precisely because it works for almost any kind of investment: stocks, businesses, real estate, marketing spend, or equipment purchases.

How do I calculate ROI by hand?

Subtract your initial investment and any additional costs from the final value you received, then divide that result by your initial investment and multiply by 100. For example, if you invested $1,000, sold for $1,200, and paid $20 in fees, your net gain is $1,200 − $1,000 − $20 = $180, and your ROI is $180 / $1,000 × 100 = 18%. The calculator above does this arithmetic instantly and also shows the formula it used.

What counts as "additional costs" in the ROI formula?

Additional costs are any expenses required to make or exit the investment that are not already reflected in the initial investment or final value figures — brokerage commissions, transfer or wire fees, closing costs and agent commissions on a property sale, renovation or repair costs, or annual account fees. Leaving these out overstates your real-world ROI, sometimes significantly on smaller trades where a flat fee eats up a large share of the gain. If you are unsure whether to include something, ask whether you would have paid it if the deal had not happened — if not, include it as a cost.

Can ROI be negative?

Yes. If the final value plus any recovered amount is less than your initial investment plus costs, the numerator of the ROI formula is negative, producing a negative ROI. A −25% ROI means you got back 75 cents in value for every dollar invested, after costs. Negative ROI is a completely normal and important result — it is how you quantify a loss in the same percentage terms you would use to describe a gain, which makes it easy to compare winning and losing positions side by side.

Does this ROI calculator account for reinvested dividends?

No, and it shouldn't — plain ROI is a simple before-and-after comparison that assumes no cash moved in or out of the investment between the initial and final value. If you received dividends along the way and reinvested them to buy more shares, that changes the size and timing of your position mid-stream, which plain ROI is not built to capture accurately. For that scenario, use our dividend reinvestment calculator instead, which simulates the year-by-year effect of reinvested dividends on both share count and total value.

What is a "good" ROI?

It depends entirely on the asset class, the risk taken, and the time period involved, which is exactly why plain ROI can be misleading on its own — an ROI of 20% earned in one month is a very different result from 20% earned over ten years. As a loose reference point, many investors treat a long-run annualized stock market return in the high single digits as a reasonable benchmark, but a single-period ROI needs a time frame attached before you can judge whether it is good, mediocre, or exceptional.

Is ROI the same as annualized return?

No, and this is the single most common ROI mistake. Plain ROI tells you the total percentage gain or loss over the whole period, with no regard for how long that period was. A 30% ROI earned in six months is a dramatically better result than a 30% ROI earned over ten years, but ROI alone does not distinguish between them. To annualize a return, use our CAGR calculator (for a simple start/end comparison) or our holding period return calculator (when you also want to separate out income like dividends).

How is ROI different from holding period return (HPR)?

They are closely related and often produce very similar numbers, but ROI is the more general-purpose, catch-all version used across business and finance, while holding period return is the specific investing convention that explicitly separates capital gains from income received, such as dividends or interest, as its own labeled line item. If dividends or interest are a meaningful part of your return, our holding period return calculator makes that split visible rather than folding it into a single "final value" number.