← All financial calculators
INVESTING

Return on investment

Instructor subject match · Review pending

Compare proceeds and income with purchase cost and expenses.

Your scenario

Your results

Net profit / loss$2,200.00
Holding-period ROI21.78%

Display currency changes formatting only; it does not convert amounts.

Download this scenario as a PDF ↓
WORKED EXAMPLE

A scenario you can check.

The default example uses the inputs below. Monetary amounts use USD; exchange-rate quantities use the units shown. These public examples are readable without JavaScript.

Default inputs for Return on investment
InputValue
Purchase cost10,000
Ending value12,000
Income received300
Additional expenses100

Apply the formula below using these values; change the form inputs to explore another scenario.

Download the public example inputs and results (JSON)

How this calculator works

ROI = (ending value + income − cost − expenses) / (cost + expenses)

Total holding-period return, not annualized. Expenses are treated as invested cost. No cash-flow timing adjustment.

For monthly growth formulas: P is the initial balance, C is the month-end contribution, i is the effective monthly rate and n is the number of months. At zero interest the annuity factor is n. Values are calculated before display rounding.

These are educational scenarios. Entered rates and projections are assumptions, not forecasts or personal recommendations.

MULTI-MODEL PERSPECTIVES

32 model reviews of this calculator.

Our 30+ LLM network reviews the public formula and assumptions. These are saved explanations and cautions; models do not receive your inputs, perform the arithmetic, or certify correctness.

codegemma:2b · 2026-11-17

ROI = (ending value + income − cost − expenses) / (cost + expenses)

codegemma:7b · 2026-11-17

Does not account for cash-flow timing.

codellama:7b · 2026-11-17

Return on investment formula assumes total holding-period return, not annualized, expenses are treated as invested cost,

deepseek-coder:1.3b · 2026-11-17

id: roi, title: Return on investment, formula: ROI = (ending value + income - cost - expenses) / (cost + expenses), a

dolphin-phi:2.7b · 2026-11-17

ROI formula assumes total holding-period return, not annualized, and expenses are treated as invested cost, but the user

falcon:7b · 2026-11-17

ROI (inflation-adjusted)

gemma3:1b · 2026-11-17

ROI measures investment profitability, not cash flow.

gemma:2b · 2026-11-17

id: roi-only-annualized

gemma:7b · 2026-11-17

Based on total holding period and doesn't annualize returns or adjust for expenses.

llama2:7b · 2026-11-17

Return on investment formula

llama3.2:3b · 2026-11-17

ROI formula does not account for taxes, fees, or cash-flow timing, leading to incomplete results.

llava:7b · 2026-11-17

Return on investment: Total holding-period return, not annualized

mistral:7b · 2026-11-17

Total holding-period return, not annualized, no cash-flow timing adjustment.

neural-chat:7b · 2026-11-17

ROI assumes total holding-period return, expenses as invested cost, and no cash-flow timing adjustment.

nous-hermes:7b · 2026-11-17

Return on investment (ROI)

openchat:7b · 2026-11-17

ROI assumes total holding-period return and treats expenses as invested cost.

orca-mini:3b · 2026-11-17

Return on investment (ending value + income − cost − expenses) / (cost + expenses) (total holding-period return, not ann

phi4-mini:latest · 2026-11-17

Treats expenses as cost, not accurate for all investments.

phi:2.7b · 2026-11-17

formula_texts_and_assumptions

qwen2.5:3b · 2026-11-17

No cash-flow timing adjustment.

qwen3.5:2b-q4_K_M · 2026-11-17

Limitation: Measures total return over the holding period rather than an annualized rate of return.

qwen3.5:4b-q4_K_M · 2026-11-17

ROI excludes time value of money by not annualizing the holding period.

qwen:1.8b · 2026-11-17

ROI = (ending value + income − cost − expenses) / (cost + expenses),

qwen:4b · 2026-11-17

Return on investment (ROI)

solar:10.7b · 2026-11-17

ROI considers ending value, income, cost, and expenses, not annualized.

starcoder2:3b · 2026-11-17

ROI = (ending value + income − cost − expenses)/(cost + expenses)

starling-lm:7b · 2026-11-17

ROI formula considers total holding-period return, not annualized, and treats expenses as invested cost.

tinyllama:1.1b · 2026-11-17

id":"roi"} # JSON format for each formula and assumption. The output will be a single JSON object with all the formulas

vicuna:7b · 2026-11-17

Return on investment calculator. Total holding-period return. No taxes or fees.

wizard-math:7b · 2026-11-17

Return on investment: ROI = (ending value + income − cost − expenses) / (cost + expenses)

yi:6b · 2026-11-17

ROI formula calculates return on investment, total holding-period return, no cash-flow timing adjustment, expenses are

zephyr:7b · 2026-11-17

id":"roi", } {

Download model identities, opinions and public input provenance (JSON)

KEEP YOUR SCENARIO

Download your personal report.

Get a PDF with your inputs, results, formula and assumptions. Enter your details to save the request and download immediately. Your financial values stay in this browser. No email delivery is promised.

Continue learning

Explore the education library · Ask about the free introductory workshop

Financial concepts and context: Investor.gov: compound interest calculator · CFPB: mortgage payment components · Investor.gov: investment fees and expenses