Skip to main content

ROI Calculator

Simple return on investment as (amount returned minus amount invested) divided by amount invested, expressed as a percent. Investment period accepts either explicit start and end dates or a direct duration in years; results include the annualized return computed as (1 + ROI) raised to (1/years), minus one.

Your inputs stay in your browser

Everything you enter is processed on your device. This tool loads a code library from cdn.jsdelivr.net, which sees your IP address but never what you type.

Investing
Business
Marketing
Loading the tool
Reference

Documentation

The ROI calculator measures return on investment from an amount invested and an amount returned, over an investment period defined either by start and end dates or by a length in years. Investment gain, ROI percentage, annualized return, and a chart separating invested capital from profit all follow from that same pair of figures. The same math applies to comparing projects, evaluating a marketing campaign, or planning a personal investment.

Amount invested and amount returned anchor the calculation; the investment period can be set either as start and end dates or as a length in years, and both approaches feed the same ROI and annualized ROI formulas. Investment gain, ROI, and annualized ROI follow directly, alongside a pie chart breaking down the invested amount versus profit. Both amounts need to be greater than zero, and any dates entered need to run chronologically, for the result to be meaningful.

Investment Gain is the difference between amount returned and amount invested. ROI is investment gain divided by amount invested, expressed as a percentage. Annualized ROI converts that total return into a yearly growth rate using the geometric growth rate over the selected period, which is what makes investments with different time spans comparable. The chart visualizes how much of the total outcome came from principal versus profit.

Example 1: Investing $5,000 and receiving $6,500 after two years gives a gain of $1,500 and an ROI of 30 percent. The annualized ROI, the compound rate required to grow $5,000 to $6,500 in two years, works out to about 14.02 percent, which allows a fair comparison to shorter or longer investments.

Example 2: Spending $10,000 on a marketing campaign that generates $15,000 in revenue attributed to the campaign gives a gain of $5,000 and an ROI of 50 percent. Annualized ROI helps compare this campaign to a multi-year brand project by normalizing returns across time.

Savings, certificates of deposit, and brokerage investments all compare on the same ROI basis. Tracking results across different durations shows which option meets a target growth rate.

Project profitability is assessed by comparing costs to realized returns. Ranking initiatives by ROI and annualized ROI focuses a budget on the strongest opportunities.

Campaign effectiveness is measured by linking spend to attributable revenue. Comparing channels on consistent ROI and time-adjusted metrics is how future campaigns get optimized.

Investment gain, ROI, and annualization are core concepts worth teaching together, since identical ROI values can imply different quality once time horizons differ.

What is a good ROI? A good ROI is relative to risk, time, and the alternatives available; comparing a result against a required rate of return and available benchmarks gives it context.

Why use annualized ROI? Annualized ROI converts total return into a yearly growth rate, which is what makes investments of different lengths comparable.

Does the calculator include taxes or fees? No. Net amounts, entered directly, are how fees or taxes get folded into the analysis.

This tool is intended for informational and educational purposes only. It does not provide financial, investment, or tax advice. The amounts and payments shown are estimates and may not reflect actual figures. Results are not guaranteed and may vary based on individual circumstances. Always consult a qualified financial advisor before making any financial decisions.

Inputs, outputs, and what the ROI Calculator computes

What the ROI Calculator asks for and what it returns, as a plain list. Defaults, units, and ranges are the ones the form loads with.

Inputs

  • Amount Invested (text input)
  • Amount Returned (text input)
  • Use Dates / Use Length (Years) · default: Use Dates
  • From (date input)
  • To (date input)
  • Investment Length (years) (numeric input) · minimum: 0

Controls

Calculate · Clear

Example

Example 1: Investing $5,000 and receiving $6,500 after two years gives a gain of $1,500 and an ROI of 30 percent .