
Image by Editor | Midjourney
In Google Sheets, you can create a return on investment (ROI) calculator to calculate the profitability of an investment. It is a key financial metric that helps to make business decisions.
In this tutorial, you will learn how to create an ROI calculator in Google Sheets to easily calculate and analyze investment returns.
What is Return on Investemnt (ROI)?
ROI (Return on Investment) is a key financial metric that measures how profitable an investment is relative to its cost. It tells you how much money you made (or lost) as a percentage of your initial investment.
The basic formula is:
\[
ROI = \frac{\text{Return} – \text{Investment}}{\text{Investment}} \times 100\%
\]
Let me break this down with a simple example:
- Invest $1,000 (Investment)
- Get back $1,500 (Return)
The ROI would be:
\[
ROI = \frac{(\$1,500 – \$1,000)}{\$1,000} \times 100 = 50\%
\]
This means for every dollar you invested; you made 50 cents in profit.
Step 1: Insert the Input Fields
- Go to Google Sheets >> click on Blank to create a new spreadsheet.
- Set up the necessary input fields in your spreadsheet.
- In column A, starting from A3, enter these labels:
- Initial Investment ($)
- Revenue Generated ($)
- Investment Duration (Years)
- ROI (%)
- Annual ROI (%)
Step 2: Add ROI Calculation Formula
Let’s calculate ROI:
- In cell B6, enter the following formula.
- Select Percentage from the Menu Bar.
The formula:
=(B4 - B3) / B3
You will get the calculated ROI percentage.

And now for annual ROI.
- In cell B7, enter the following formula.
- Select Percentage from the Menu Bar.
The formula:
= (POWER((1 + B6/100),1/B5) - 1) * 100
This formula calculates the Compound Annual Growth Rate (CAGR) or Annualized ROI by factoring in compounding growth over the investment duration. It provides a more accurate annual return compared to simple averaging.

Step 3: Add Formatting
Let’s look at adding conditional formatting. To visually highlight high or low ROI values:
- Select ROI percentage.
- Click Format >> select Conditional formatting.
- Set rules:
- Green for ROI >= 50% (Good investment)
- Yellow for ROI between 20% and 50% (Moderate investment)
- Red for ROI < 20% (Poor investment)
- Click Done.

To add a note to explain ROI interpretation:
- Select cell C6 and insert the following formula.
=IF(B6>=50%, "Good Return on Investment", IF(B6>=30%, "Moderate Return on Investment", "Poor Return on Investment"))
This formula compares the ROI percentage to show the investment status.
- >=50%, “Good Return on Investment”,
- >=30%, “Moderate Return on Investment”,
- <30%, “Poor Return on Investment”

Step 4: Create a Chart
Let’s perform break-even analysis:
- Select the Initial Investment and Revenue Generated columns.
- Click Insert >> select Chart.
- In the Chart editor >> choose Pie chart to visualize investment and revenue.
- Customize labels, titles, and colors as needed.
And to compare ROI and annual ROI:
- Select ROI, and Annual ROI columns.
- Click Insert >> select Chart.
- In the Chart editor, choose Bar chart to visualize ROI and Annual ROI.

Let’s test the calculator:
- Lower the revenue to test the calculator.
- ROI calculator calculates new ROI percentage automatically.

- Lower the revenue once more.

Step 5: Save and Share
- Name your Google Sheet by clicking on Untitled Spreadsheet.
- Share it with collaborators by clicking Share and entering their email addresses.
- Set permissions as Viewer, Commenter, or Editor.

Get Our ROI Calculator in Google Sheets.
Conclusion
By following the above steps you can successfully build an ROI calculator in Google Sheets. This tool helps track and compare the profitability of investments efficiently. Google Sheets offers collaboration, it’s easy to share the Google Sheets ROI calculator with your colleagues. Customize the sheet further based on your specific needs, such as adding additional financial metrics.
