ROI calculator

Compare a campaign, a hire or a piece of equipment on the same scale. Enter what you put in and what came back; add the years to compare investments of different lengths.

How it works

  1. Enter the amount invested.
  2. Enter the total amount returned.
  3. Add the number of years for the annual rate, then press Calculate.

What is the ROI formula?

Net profit divided by the cost of the investment, times 100. Putting in 10,000 and getting back 14,000 is a 40% ROI.

What is annualised ROI?

The yearly rate that compounds to the same result. 40% over three years is 11.9% a year, which lets you compare it with a one-year investment.

Should the return include the original amount?

Yes. Enter everything you got back, the original amount included; the calculator subtracts the investment to find the profit.

Use it from ChatGPT, Claude or your own agent

This tool is also a function an AI agent can call for you. It needs the same free account as this page, nothing else.

Fields

  • investment (number, required): Amount invested
  • return_amount (number, required): Amount returned
  • years (number, optional): Years held. Optional: adds the annual rate

A call that works

POST https://orkosi.com/api/v1/public/tools/roi-calculator/run
Authorization: Bearer <api_key>

{
  "input": {
    "investment": 10000,
    "return_amount": 14000,
    "years": 3
  }
}

Need an account? One request creates it and answers the key: POST https://orkosi.com/api/v1/public/signup. In Claude or ChatGPT, add the Orkosi connector and sign in: https://orkosi.com/api/v1/public/mcp.

This tool as Markdown · Connect an AI assistant