FormulaCraft

How to calculate return on investment (ROI) in Excel and Google Sheets

Excel & Google Sheets
=((B2-A2)/A2)*100

Verified example

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

Initial InvestmentFinal ValueROI
10001200

=((B2-A2)/A2)*10020

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. 1Enter your initial investment amount in cell A2.
  2. 2Enter your final investment value in cell B2.
  3. 3In cell C2, enter the formula to calculate ROI: =((B2-A2)/A2)*100.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

What does a negative ROI indicate?

A negative ROI indicates that the investment resulted in a loss.

Can I use this formula for multiple investments?

Yes, you can copy the formula down to apply it to other investments in subsequent rows.

Is ROI the same in Excel and Google Sheets?

Yes, the ROI calculation formula is identical in both Excel and Google Sheets.

Formulas used

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

Last reviewed: