Catalog/ecom-ltv-cac

Calculators

LTV:CAC ratio & payback API

Compute the LTV:CAC ratio (CLV / CAC) with a healthy/marginal/unsustainable rating and optional payback months (CAC / (ARPUmonthly × grossMargin)). The canonical unit-economics health check. Answers 'is my LTV to CAC ratio healthy','how many months to recover CAC'.

Price$0.01per request
MethodPOST
Route/v1/calc/ecom-ltv-cac
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
ecomltvcacunit-economicspaybackratiosaascalc
API URLhttps://x402.hexl.dev/v1/calc/ecom-ltv-cac
Integration docs
Example request
{
  "clv": 480,
  "cac": 120,
  "arpuMonthly": 40,
  "grossMargin": 0.5
}
Example response
{
  "formula": "ratio = CLV / CAC; paybackMonths = CAC / (ARPUmonthly × grossMargin)",
  "clv": 480,
  "cac": 120,
  "ltvCacRatio": 4,
  "rating": "healthy",
  "paybackMonths": 6
}
Input schema
{
  "type": "object",
  "required": [
    "clv",
    "cac"
  ],
  "properties": {
    "clv": {
      "type": "number",
      "description": "Customer lifetime value",
      "examples": [
        480
      ]
    },
    "cac": {
      "type": "number",
      "description": "Customer acquisition cost",
      "examples": [
        120
      ]
    },
    "arpuMonthly": {
      "type": "number",
      "description": "Monthly ARPU for payback calc",
      "examples": [
        40
      ]
    },
    "grossMargin": {
      "type": "number",
      "description": "Decimal in (0,1], default 1",
      "examples": [
        0.5
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}