← All tool references

Finance · not_available

CAGR Calculator

Calculate the smoothed annual growth rate between a beginning and ending value.

Open public tool

Overview

Category
Finance
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/cagr-calculator

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/cagr-calculator/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

beginning_value · number · required
Enter the beginning value used by this tool.
ending_value · number · required
Enter the ending value used by this tool.
years · number · required
Enter the elapsed time used by this tool.
{
    "type": "object",
    "properties": {
        "beginning_value": {
            "type": "number",
            "description": "Enter the beginning value used by this tool.",
            "minimum": 0
        },
        "ending_value": {
            "type": "number",
            "description": "Enter the ending value used by this tool.",
            "minimum": 0
        },
        "years": {
            "type": "number",
            "description": "Enter the elapsed time used by this tool.",
            "minimum": 0.01000000000000000020816681711721685132943093776702880859375,
            "maximum": 200
        }
    },
    "required": [
        "beginning_value",
        "ending_value",
        "years"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

cagr · number
Compound annual growth rate produced by the tool.
absolute_growth · number
Absolute growth produced by the tool.
total_return · number
Total return produced by the tool.
growth_multiple · number
Growth multiple produced by the tool.
{
    "type": "object",
    "properties": {
        "cagr": {
            "type": "number",
            "description": "Compound annual growth rate produced by the tool."
        },
        "absolute_growth": {
            "type": "number",
            "description": "Absolute growth produced by the tool."
        },
        "total_return": {
            "type": "number",
            "description": "Total return produced by the tool."
        },
        "growth_multiple": {
            "type": "number",
            "description": "Growth multiple produced by the tool."
        }
    },
    "additionalProperties": false
}

CAGR Calculator example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/cagr-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "beginning_value": 25000,
    "ending_value": 47500,
    "years": 5
}'
{
    "ok": true,
    "data": {
        "slug": "cagr-calculator",
        "result": {
            "values": {
                "cagr": 13.697448879999999604706317768432199954986572265625,
                "absolute_growth": 22500,
                "total_return": 90,
                "growth_multiple": 1.899999999999999911182158029987476766109466552734375
            },
            "display": {
                "display": "13.69744888"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.