ROI Calculator
Calculate return on investment from cost and final value (or proceeds). See profit and ROI percentage.
Enter values to calculate.
Formulas
Core equations used by this calculator.
How to use
Follow these steps for a clear answer.
Enter the known values
Fill in each field with amounts and rates as labeled.
Calculate
Results update as you type; compare scenarios below when available.
Read the outputs
Check the result panel for the primary figure and supporting totals.
Example calculations
Common configurations with formula and result.
Worked example
Cost 10,000 · Gain 12,500 → profit 2,500 · ROI 25%
ROI calculator specification
Version 1.0.0 · Last reviewed 2026-07-28
- Definition
- Return on investment (ROI) measures profit relative to cost: ROI = (gain − cost) / cost. Gain is the ending value or total proceeds from the investment.
- What it calculates
- Profit and ROI percentage from investment cost and final value.
- Inputs
- Values shown on the calculator form
- Outputs
- Primary result in the result panel
- Formula
ROI = (gain − cost) / costAbout this calculator
Return on investment (ROI) measures profit relative to cost: ROI = (gain − cost) / cost. Gain is the ending value or total proceeds from the investment.
Formula
ROI = (gain − cost) / costExample
Cost 10,000 · Gain 12,500 → profit 2,500 · ROI 25%
- Assumptions
- Fixed rates and terms as entered; no fees or taxes unless modeled.
- Calculation runs locally in the browser.
- Units
- Currency units as entered (dimensionless rates in %)
- Boundary conditions
- Zero or missing required fields yield zero or empty results.
- Negative inputs are treated as zero.
- Example
- Cost 10,000 · Gain 12,500 → profit 2,500 · ROI 25%
- Validation cases
- 10000 → 12500 → ROI 25%
- 10000 → 10000 → ROI 0%
- 8000 → 6000 → ROI −25%
- Sources
- Standard time-value-of-money / managerial accounting identities
- Last reviewed
- 2026-07-28
- Calculation version
- 1.0.0
Related tools
Frequently asked questions
Key distinctions behind the calculation.
How does the ROI Calculator work?
It uses ROI = (gain − cost) / cost. All math runs locally in your browser.
Can I share my inputs?
Yes. Use Copy link in the result panel — the URL stores your current inputs.