{"ok":true,"result":{"slug":"roi-calculator","name":"ROI Calculator","summary":"Return on investment: gain or loss and ROI in percent, plus the annualised return (CAGR) when a holding period is given.","description":"Calculate return on investment from what you put in and what it is worth now. Add the holding period to get the annualised ROI (CAGR) as well.","method":"POST","endpoint":"/api/v1/tools/roi-calculator","plan":"free","mcpName":"roi_calculator","input":{"type":"object","additionalProperties":false,"properties":{"initial":{"type":"number","description":"Amount invested (greater than 0).","minimum":0},"final":{"type":"number","description":"Final value of the investment.","minimum":0},"duration":{"type":"number","description":"Optional holding period, in durationUnit, for the annualised return.","minimum":0},"durationUnit":{"type":"string","description":"years, months or days (days use 365.25 a year).","default":"years","enum":["years","months","days"],"maxLength":200000}},"required":["initial","final"]},"example":{"initial":5000,"final":7200,"duration":3,"durationUnit":"years"},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/roi-calculator","page":"https://pithlab.com/tools/roi-calculator"}}