Return on investment calculator: ROI and annualized return
Enter what you put in, what it was worth when it ended, any income received along the way and any costs paid. You get the gain, the return on investment in percent and, once you give the length of time held, the return per year.
Result
Summary
Return on investment
49.5%
What the investment is worth at the end
- The amount invested$10,000.0066.9%
- The gain$4,950.0033.1%
- Annualized return
- 10.58%
- Gain or loss
- $4,950.00
- Amount at the end
- $14,950.00
One amount in and one amount out, with the income and costs you type. It does not follow money added or withdrawn on several dates, taxes, inflation or risk, and it recommends no investment.
How this was calculated
Step by step, with the figures above.
- Amount at the endfinal value + income − costs. final value: $14,500.00 · income: $600.00 · costs: $150.00
- Gainamount at the end − amount invested. amount at the end: $14,950.00 · amount invested: $10,000.00
- Return on investmentgain × 100 ÷ amount invested. gain: $4,950.00 · amount invested: $10,000.00. Rounded to 2 decimal places, halves away from zero.
- Holding periodyears + months ÷ 12. years: 4 years · months: 0 months
- Annualized return((amount at the end ÷ amount invested) ^ (1 ÷ holding period) − 1) × 100. amount at the end: $14,950.00 · amount invested: $10,000.00 · holding period: 4 years. Rounded to 2 decimal places, halves away from zero.
Consumer Financial Protection Bureau: glossary of financial education terms. The entry “Rate of return: The profit or loss on an investment expressed as a percentage”; read on 2026-11-25.
Regulation DD, appendix A: annual percentage yield calculation (12 CFR part 1030). The formula APY = 100 [(1 + Interest/Principal)^(365/Days in term) − 1] and four worked examples on $1,000; eCFR text read on 2026-11-25.
Regulation DD, section 1030.3: rounding of an annual percentage yield (12 CFR part 1030). Paragraph (f)(1): the annual percentage yield “shall be rounded to the nearest one-hundredth of one percentage point (.01%) and expressed to two decimal places”; eCFR text read on 2026-11-26.
$10,000 invested for 4 years
Put in $10,000 and sell for $14,500 after 4 years, having received $600 of income and paid $150 of fees. You end with $14,950.00, a gain of $4,950.00, which is a return on investment of 49.50%. Spread over the 4 years, that is 10.58% a year, not the 12.38% that dividing by 4 would suggest.
Leave the income and the fees out and the same sale shows 45.00% and 9.73% a year, so what you count changes the answer.
A shorter hold works the same way. $25,000 put into a property, resold for $31,000 after 8 months with $2,500 of costs, ends at $28,500.00: a 14.00% return, or 21.72% a year if the same pace were kept for twelve months. The page flags that figure, because eight months of growth are being stretched to twelve.
A loss is shown with a minus sign. $8,000 that fell to $5,200 in 3 years lost $2,800.00, a return of -35.00%, or -13.38% a year.
From the amounts to the two returns
The amount at the end is the final value plus the income, less the costs. The gain is that amount less the amount invested. The return on investment is the gain divided by the amount invested, in percent. The federal Consumer Financial Protection Bureau defines a rate of return in just those terms: the profit or loss on an investment expressed as a percentage.
The annualized return is the yearly rate that, repeated every year for the holding period, gives the same total. You divide the amount at the end by the amount invested, raise it to the power of one over the years, subtract one and read the result as a percent. Regulation DD uses this very formula to state the annual percentage yield of a deposit, with the interest over the principal in place of the return and 365 over the days in place of one over the years. A holding period given in years and months is the years plus the months over 12.
Rounding, losses and short holds
The amounts are typed in whole cents, so the gain and the amount at the end are exact. The return is worked out as one division and rounded half up to two decimals, an exact half moving away from zero. The annualized return is a root, calculated to many more digits than are shown and rounded the same way. Section 1030.3(f)(1) of Regulation DD has an annual percentage yield rounded to the nearest 0.01 of a percentage point, which is the two decimals shown here. It is silent on exact halves; sending them away from zero is a decision this page made itself, and a broker’s statement may differ in the last digit.
A holding worth nothing at the end is a loss of 100%, and 100% a year. If the costs are larger than everything you received, you paid more than you got back: the return falls below −100% and the page leaves out the return per year, since no yearly rate gives a negative amount. Under one year, the return per year is only an extrapolation and the page says so.
What the page leaves out
Money put in or taken out on several dates, as with monthly savings, needs a different calculation that weighs each date; this page takes one amount in and one amount out. Taxes on the gain or the income, inflation and the risk taken to earn the return are not counted either. A high figure says what happened to this one holding, not what another will do, and the page does not suggest what to buy or sell.
Sources
- Consumer Financial Protection Bureau: glossary of financial education terms. The entry “Rate of return: The profit or loss on an investment expressed as a percentage”; read on 2026-11-25.
- Regulation DD, appendix A: annual percentage yield calculation (12 CFR part 1030). The formula APY = 100 [(1 + Interest/Principal)^(365/Days in term) − 1] and four worked examples on $1,000; eCFR text read on 2026-11-25.
- Regulation DD, section 1030.3: rounding of an annual percentage yield (12 CFR part 1030). Paragraph (f)(1): the annual percentage yield “shall be rounded to the nearest one-hundredth of one percentage point (.01%) and expressed to two decimal places”; eCFR text read on 2026-11-26.
Questions
How do I calculate return on investment?
Add what you received at the end and any income, subtract the costs and the amount you invested, divide by the amount invested and multiply by 100. For $10,000 that ends at $14,950 after income and costs, the gain is $4,950 and the return is 49.50%.
Why is the annualized return not the return divided by the years?
Because each year’s growth builds on the year before. Spread 49.50% evenly over 4 years and each gets 12.38%, whereas the rate that compounds to the same total is 10.58%.
Should dividends, interest, rent and fees be counted?
They belong in the return, since they are money you received or paid because of the investment. In the first example, leaving them out gives 45.00% instead of 49.50%. Enter them in their own fields. Taxes are not worked out here: to count them, put what you paid into the costs field.
If an investment falls by half, what does it need to gain to get back?
A gain of 100%. $10,000 that falls to $5,000 is a return of -50.00%, but $5,000 that rises to $10,000 is 100.00%. Losses and gains do not cancel at the same percentage.
Why does the page warn me about a hold of under one year?
A return per year assumes the same rate continues for twelve months. After a few weeks or months that is a guess, and a small gain over a short time can turn into an enormous yearly figure. The return over the actual period is the number that happened.
Can I use it when I added money at different times?
Not accurately. The page assumes everything went in at the start and came out at the end. With contributions on several dates you need a rate that weights each date, such as an internal rate of return, and a lump-sum figure here would misstate it.
Related calculators
- Discount calculator: stacked percent off and price before
- Tip and bill split calculator with round-up shares
- Unit price comparison: cost per kilo, litre, pound or piece
- Net worth calculator: assets, debts and home equity
- Price per square foot and square meter: compare two homes
- Basis points to percent: new rate and yearly interest
- CAGR calculator: compound annual growth rate
- Stock profit calculator with fees and dividends
- Average share cost calculator for several purchases
- Return on equity calculator with DuPont breakdown
- Loan to value calculator: LTV, CLTV and HCLTV
- Net effective rent calculator with free months and credits
- Prorated rent calculator by day for a partial month
- Loan payment calculator with amortization schedule
- Loan payoff calculator: extra payments and interest saved
- Credit card payoff calculator: minimum or fixed payment
- Time value of money calculator: PV, FV, payment and rate
- Annuity payout calculator: income from savings
- Compound interest calculator with monthly deposits
- Effective annual rate calculator (APR to APY)
- CD calculator: interest, APY and a ladder for term deposits
- Simple interest calculator by days, months or years
- Rule of 72 calculator: years to double or the rate needed
- Net present value calculator: NPV and discounted cash flow
- IRR calculator: internal rate of return on yearly flows
- Payback period calculator: simple and discounted
- WACC calculator: weighted average cost of capital
- Price elasticity calculator: demand, supply, cross-price
- Rent affordability calculator: what rent a standard allows
- Debt to income ratio calculator: your DTI against a limit
- Real estate commission calculator: fee, VAT and split
- Sales tax calculator: add tax or find the price before it
- Loan APR calculator: the true yearly cost with fees
- Bond price and yield to maturity calculator
- Student loan repayment calculator for US federal loans
- Depreciation calculator: MACRS, straight line, declining
- Rental property depreciation calculator by country
- Adjusted gross income (AGI) and MAGI calculator
- Cash rounding calculator: the cash total by country
- Coin counter: the value and weight of your coins
- PTO accrual calculator: leave earned per pay period
- PayPal fee calculator: what you keep from a payment
Reviewed by the DirectCalculators team. The formula is tested against its source’s worked examples, where the source gives any, and cases worked by hand; see how we calculate.