← All tool references

Finance · not_available

CAC Payback Calculator

Estimate months required for contribution margin to recover acquisition cost.

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/cac-payback-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/cac-payback-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.

customer_acquisition_cost · number · required
Enter customer acquisition cost for this calculation.
monthly_revenue · number · required
Enter monthly revenue per customer for this calculation.
gross_margin · number · required
Enter gross margin for this calculation.
{
    "type": "object",
    "properties": {
        "customer_acquisition_cost": {
            "type": "number",
            "description": "Enter customer acquisition cost for this calculation.",
            "minimum": 0
        },
        "monthly_revenue": {
            "type": "number",
            "description": "Enter monthly revenue per customer for this calculation.",
            "minimum": 0
        },
        "gross_margin": {
            "type": "number",
            "description": "Enter gross margin for this calculation."
        }
    },
    "required": [
        "customer_acquisition_cost",
        "monthly_revenue",
        "gross_margin"
    ],
    "additionalProperties": false
}

Output schema

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

payback_months · number
CAC payback period calculated by the tool.
monthly_contribution · number
Monthly gross contribution calculated by the tool.
annual_contribution · number
Annual gross contribution calculated by the tool.
{
    "type": "object",
    "properties": {
        "payback_months": {
            "type": "number",
            "description": "CAC payback period calculated by the tool."
        },
        "monthly_contribution": {
            "type": "number",
            "description": "Monthly gross contribution calculated by the tool."
        },
        "annual_contribution": {
            "type": "number",
            "description": "Annual gross contribution calculated by the tool."
        }
    },
    "additionalProperties": false
}

CAC Payback Calculator worked 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/cac-payback-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "customer_acquisition_cost": 600,
    "monthly_revenue": 100,
    "gross_margin": 75
}'
{
    "ok": true,
    "data": {
        "slug": "cac-payback-calculator",
        "result": {
            "values": {
                "payback_months": 8,
                "monthly_contribution": 75,
                "annual_contribution": 900
            },
            "display": {
                "display": "8"
            },
            "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.