calculate_roi
Calculate return on investment (ROI) percentage for investments, marketing campaigns, or projects. Provide investment cost and return value to get ROI, profit, and multiple.
Instructions
Compute Return on Investment as a percentage. Use to evaluate investments, marketing spend, or projects. Inputs: investment cost, return value. Returns ROI %, profit, and multiple. See list_bundles for related 'finance-universal' calculators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| investment | Yes | Initial investment amount | |
| return_value | Yes | Final value or total returns |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Computed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools). | |
| formula | No | Human-readable formula or method used (e.g. "I=P·r·t", "Magnus formula"). | |
| source | No | Authoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21"). | |
| reference_url | No | Link to a calcul2 page documenting the calculation in detail. |