FormulaCraft

How to calculate ROI in Excel and Google Sheets

Topic:Finance basics
Excel & Google Sheets
=(B2-A2)/A2

Verified example

Computed by a real spreadsheet engine on the sample data below.

Initial InvestmentFinal ValueROI
10001300
50004500
20002800
1000015000

=(B2-A2)/A20.3

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Create two columns: Initial Investment / Cost (A) and Final Value or Return (B).
  2. 2In the ROI column, enter =(B2-A2)/A2. This divides the net gain (B2 minus A2) by the initial investment.
  3. 3Format the result as Percentage. A positive value indicates a gain; negative indicates a loss.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

What is a good ROI?

It depends on the context. Stock market investments average around 7–10% annually. Real estate, marketing, and business investments vary widely.

How do I calculate ROI when there are multiple cash flows?

Use NPV to find the net present value of all cash flows, then compute ROI as NPV divided by the initial investment.

More on Finance basics

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: