Three details control an ROI calculation: the total initial cost, the final value, and—when you need a yearly comparison—the holding period in years.
The ROI Calculator reports the return percentage and dollar profit from those inputs, with optional annualized ROI (CAGR) when a holding period is added. Accurate results start with entering the same kind of amount for both sides of the comparison and deciding whether you are valuing an investment today or using the proceeds from a sale.

Which Details Change the Result?
Return on investment compares what an investment is worth at the end with the capital put into it. The standard calculation is ROI% = (final value − initial cost) ÷ initial cost × 100, while net profit = final value − initial cost. Because cost is the denominator, the same dollar gain can produce a very different percentage on a small investment than on a large one.
- Initial cost: Enter the total amount of money invested, in dollars. This is the baseline used to calculate both profit and ROI. It must be greater than zero for any result to be calculated.
- Final value: Enter what the investment is worth now or what you sold it for. Enter the entire ending value, not just the gain, because the calculator subtracts the initial cost itself. A final value below cost produces a negative plain ROI.
- Holding period: Add the number of years only when you need annualized ROI. Plain ROI covers the whole holding period without adjusting for time; CAGR expresses the same beginning and ending values as a yearly rate.
For a more detailed distinction between the two return measures, use the plain ROI and CAGR formula guide. The important distinction is that a total return and an annual return answer different questions.
Check the Basis Before Entering Values
Before entering anything, decide what each number represents and write down its valuation date. The calculator asks for dollar amounts and a holding period in years; it does not ask for a start date, end date, or separate fee field. Those details still matter when you check whether the result fits your own records.
| Detail | What to enter | Important requirement or effect |
|---|---|---|
| Initial cost | Total capital invested, in dollars | Must be greater than zero and serves as the ROI denominator |
| Final value | Full current worth or sale proceeds | A value below cost shows a loss in plain ROI; it must be above zero for annualized ROI |
| Holding period | Number of years held | Optional for plain ROI; must be greater than zero for annualized ROI |
If your investment involved more than one payment, combine those outlays into the total initial cost rather than entering only one payment. This keeps the starting and ending amounts on the same basis. Use dollars for both values, and do not enter one amount in thousands while the other is in dollars.
Keep the two sides consistent. If the final figure is a sale price, use the proceeds from that sale. If it is a current valuation, use the investment’s present worth and remember that the calculator treats the gain as fully realized even if no sale has occurred. Transaction costs and taxes are not deducted automatically, so keep them visible in your analysis if they are material to the decision. The same applies to inflation and the cost of the capital you used elsewhere.
Run the ROI Calculation
- Enter the initial cost as the total dollars invested. Use a value greater than zero.
- Enter the final value as the investment’s current worth or sale proceeds, making sure it is the ending amount rather than the gain alone.
- Read the ROI percentage and net profit. The result updates instantly after the required figures are entered.
- To add an annual comparison, enter a holding period greater than zero. The final value must also be above zero for annualized ROI to be calculated, and the tool then displays CAGR alongside the other outputs.
Example: with an initial cost of $10,000 and a final value of $20,000, the calculation is (20,000 − 10,000) ÷ 10,000 × 100 = 100% ROI.
The calculation runs locally in your browser, so the figures you enter are not uploaded. This tool uses two endpoint amounts and an optional duration; it does not model a series of dated deposits or withdrawals.
Match Each Output to the Question
ROI percentage
The ROI percentage measures the gain or loss relative to the initial cost. A positive result means the final value exceeded the cost, zero means the values broke even, and a negative result means the final value was below the cost. Because the result is normalized by cost, it puts investments of different sizes on the same percentage scale.
Net profit
Net profit answers the simpler dollar question: how much more or less did the investment end with than it began with? Read it together with the ROI percentage. Their signs should always agree: positive profit matches positive ROI, zero matches zero, and negative profit matches negative ROI.
Net profit alone does not show efficiency relative to capital. A dollar gain can be substantial in absolute terms but modest as a percentage of a large investment, so both outputs provide useful context.
Annualized ROI (CAGR)
Annualized ROI uses the beginning and ending values plus the number of years to find the compound annual growth rate: ((final value ÷ initial cost)^(1 ÷ years) − 1) × 100. It represents the steady yearly rate that would grow the initial cost to the final value over the stated period.
Use annualized ROI when comparing returns held for different lengths of time. Use plain ROI when the total gain or loss over the entire investment is the main question. Annualized ROI does not create additional profit; it expresses the same change on a yearly basis.
Separate the Tool Result from the Full Financial Picture
The calculator reports gross ROI and gross profit from the two values you enter. It does not subtract trading fees, taxes, inflation, or opportunity cost, and it treats the entire gain as realized. These limitations matter most when comparing a quick sale with a long-held asset, or when deciding whether a nominal percentage return adequately compensated for inflation and risk.
Annualization improves comparability across holding periods, but it does not correct the underlying gross figures. If an investment involved regular contributions or withdrawals, the beginning and ending values alone do not show when money moved. Use a cash-flow-based savings or compound-interest method for that situation.
ROI is a useful screening measure, not a complete investment decision. Use the percentage and profit to establish the basic result, then consider the holding period, cash-flow pattern, costs, taxes, and the role of the money in your finances.
Validate Before You Rely on the Number
Use a short review after every calculation:
- Confirm the initial cost is the total invested dollars and is greater than zero.
- Confirm the final value is the whole ending value or sale proceeds on the same basis as the cost.
- For a loss, verify that a final value below cost is entered; plain ROI reports that negative return.
- For annualized ROI, confirm the final value is above zero and the holding period is greater than zero. Invalid combinations are rejected rather than returning an unusable percentage.
- Check that the signs of ROI and net profit agree and, when relevant, that the holding period matches the actual length of the investment.
If you need to show your work later, record the input values, their dates and valuation basis, the calculation result, and any separate treatment of costs. The guide to documenting ROI calculator steps provides a practical way to organize that record.
The output is an estimate for general information, not financial advice. Verify figures that will support a significant decision with a licensed professional.