# ROI calculator

> Calculate return on investment: net profit, ROI in percent, the multiple and the annualised return when you give the number of years. Free.

Free tool by Orkosi. Page: https://orkosi.com/tools/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.

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

## Input

| Field | Type | Required | What it is |
| --- | --- | --- | --- |
| `investment` | number | yes | Amount invested. |
| `return_amount` | number | yes | Amount returned. |
| `years` | number | no | Years held. Optional: adds the annual rate. |

## Example

Input:

```json
{
  "investment": 10000,
  "return_amount": 14000,
  "years": 3
}
```

Result:

```json
{
  "net_profit": 4000,
  "roi_percent": 40,
  "annualized_roi_percent": 11.87,
  "multiple": 1.4
}
```

## Run it

It needs a free Orkosi account, nothing else. No credits are used.

- **A person**: open the page, enter an e-mail once, use the tool.
- **Claude or ChatGPT**: add the Orkosi connector `https://orkosi.com/api/v1/public/mcp` and sign in, or create the free account on the sign-in page. Then call `orkosi_run_free_tool` with `{ "tool": "roi-calculator", "input": { … } }`.
- **Any agent or program that can make an HTTP request**:

  1. Once, create the account: `POST https://orkosi.com/api/v1/public/signup` with `{ "name": "…", "email": "…", "terms_accepted": true }` and no key. Ask the person for the e-mail and their agreement to the terms first. The answer carries `data.api_key`, shown once.
  2. Run the tool:

```bash
curl -X POST https://orkosi.com/api/v1/public/tools/roi-calculator/run \
  -H "Authorization: Bearer $ORKOSI_API_KEY" -H "Content-Type: application/json" \
  -d '{"input":{"investment":10000,"return_amount":14000,"years":3}}'
```

The answer is `{ "data": { "tool": "…", "result": { … } } }`. A call without a key is answered 401 with the signup steps as data.

## Questions

**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.

All free tools: https://orkosi.com/tools.md
