← All Tools

📈 ROI Calculator

Calculate return on investment, profit/loss, cost basis, and break-even proceeds.

ROI checks

Validates investment, proceeds, costs, and non-zero cost basis. Simple ROI does not annualize or adjust for risk.

Formula provenance

Version 2026-07-12 · implementation-derived from calculateRoi

Formulas

costBasis = investment + costsprofit = proceeds - costBasisroiPercent = (profit / costBasis) × 100

Variables and units

investmentUSDcostsUSDproceedsUSDcostBasisUSDprofitUSDroiPercentpercent

Assumptions

  • Costs are added to the initial investment to form total cost basis.
  • A non-zero positive cost basis is required.

Excluded

  • Time horizon and annualization
  • Volatility and investment risk
  • Taxes and opportunity cost
  • Inflation and cash-flow timing

Calculation: IEEE-754 JavaScript numbers; no intermediate display rounding
Display: Currency and percentages are generally shown to 2 decimal places

This describes the current deterministic implementation. It is not regulatory authority, a quote, or financial, tax, investment, medical, or legal advice.

Scenario comparison

Compare 2 to 5 scenarios with the same deterministic formulas used by this calculator. Edit the JSON assumptions, then export a bounded CSV. No tax-law modeling or financial advice.

Values use USD and display rounding to two decimals. Compare assumptions, not just the largest result.

Sensitivity table

Vary one or two numeric inputs across at most 7 values per axis and 49 cells. Calculations reuse the unchanged formula core.

Planning table only. Results use USD display assumptions, do not model tax law, and are not financial advice.

Runs in your browser

ROI math runs locally. Simple ROI ignores time, risk, taxes, and volatility.

What this tool does

ROI Calculator computes return on investment from gain, cost, profit, and percentage return.

Why it is useful

It helps compare projects, campaigns, purchases, investments, and business cases with clear assumptions.

How it works

The browser applies ROI formulas using invested cost and proceeds or final value.

Best input

Use total cost, including fees and operating expenses, when comparing real options.

Planning tip

Pair ROI with time horizon and risk.

Privacy note

ROI math runs locally in your browser.

Important limitation

ROI is simplified and does not account for timing, volatility, taxes, opportunity cost, or risk.

Quick answers

Is ROI annualized?

No. Standard ROI ignores time unless annualized separately.

Can ROI be negative?

Yes when the result is a loss relative to cost.

Common Use Cases

Compare investment outcomes

Calculate simple ROI after fees or extra costs.

Evaluate marketing spend

Compare campaign cost to resulting revenue.

Finance Calculator Suite workflow

Move between loan, mortgage, tax, household utility, compound growth, retirement, ROI, margin, sales-tax, and discount calculations while keeping assumptions and financial limitations visible per tab.

💳Loan Calculator🏠Mortgage Calculator🧾Tax Estimator💡Utility Cost Estimator📈Compound Interest Calculator🏦Retirement / FIRE Calculator
View all in Finance →