ROI Calculator
calculate_roiROI Calculator with a chart, the same math as the web page. What was my return on investment? ROI is how much you made or lost compared with what you put in. It compares what you got back with what you put in. It shows the total return and the return per year. It does not say what any investment will return. People ask for it as "roi calculator", "how to calculate return on investment" or "how do i calculate roi".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calculate_roi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| y | No | Years you held it. In years. Optional. Adds the ROI per year. Default: 5. | |
| in | No | Money you put in. US dollars. Default: 10000. | |
| inc | No | Money it paid you along the way. US dollars. Such as dividends or rent you kept as cash. Default: 0. | |
| back | No | Money you got back. US dollars. What it is worth now, or what you sold it for. Default: 15000. | |
| cost | No | Extra costs. US dollars. Such as fees or repairs. They count as money you put in. Default: 0. |