inyourbrowser.com

Investment ROI Calculator

Calculate the simple return on investment for any cost-and-gain scenario. Enter the initial cost and the final value or gain to see the ROI as a percentage, your net profit, and the multiplier on your money. All math runs locally in your browser.

Calculation mode

Currency

Formula: ROI % = ((gain - cost) / cost) x 100

How it works

Simple ROI uses the formula ROI % = ((gain - cost) / cost) x 100. Annualized ROI uses ((gain / cost)^(1 / years) - 1) x 100, which expresses total return as an equivalent constant per-year rate. Marketing ROI applies the same simple-ROI arithmetic to ad spend and attributed revenue, with the additional ROAS multiplier shown alongside the percentage.

Processing runs in your browser

Every calculation runs locally in your browser as JavaScript. Cost, gain, and revenue figures stay on your device.

Calculations are estimates for informational purposes only. Consult a financial professional for advice.

Frequently asked questions

What is the simple ROI formula?
ROI % = ((gain - cost) / cost) x 100. For example, an investment of 10,000 that returns 12,000 has a net gain of 2,000 and an ROI of 20%. The multiplier in this example is 1.2x.
What is the difference between gain and profit in ROI?
In this calculator, the gain field represents the total value returned including the original cost. Net profit is then gain minus cost. ROI is the profit expressed as a percentage of the original cost.
When should I use annualized ROI instead?
Simple ROI does not account for the time the investment was held. If you want to compare investments held for different lengths of time, switch to the annualized mode, which adjusts the return into a per-year rate.
Is my financial data sent to a server?
All calculations run as JavaScript in your browser. The numbers you enter stay on your device.

Related tools

Compound interest calculator
Calculate compound interest with daily, monthly, quarterly, or annual compounding. Includes a year-by-year breakdown table.
Mortgage calculator
Calculate monthly mortgage payments, total interest, and amortization schedule. Standard formula, runs in your browser.
Percentage calculator
Calculate percentages three ways: X% of Y, X is what % of Y, and percentage change.
Salary calculator
Convert between hourly, weekly, monthly, and annual salary. Estimate take-home pay.