HomeCalculatorsFinanceROI Calculator
Finance calculator

ROI Calculator

Calculate return on investment from cost and final value (or proceeds). See profit and ROI percentage.

Instant result
Result

Enter values to calculate.

Inputs
Mode
Formula

Formulas

Core equations used by this calculator.

PrimaryROI = (gain − cost) / cost
iRuns locally in your browser. Results are informational — verify critical financial decisions independently.

How to use

Follow these steps for a clear answer.

1

Enter the known values

Fill in each field with amounts and rates as labeled.

2

Calculate

Results update as you type; compare scenarios below when available.

3

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 = (gain − cost) / cost
See result panel

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) / cost

About 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) / cost

Example

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

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.