Calculators
Customer LTV & LTV:CAC ratio API
Customer lifetime value = (ARPU x grossMargin) / churnRate, with average lifetime = 1/churn and an optional LTV:CAC ratio against acquisition cost — the standard SaaS/subscription unit-economics model. Answers 'what's my customer LTV', 'what's my LTV to CAC ratio', 'is my acquisition spend sustainable'.
Price$0.01per request
MethodPOST
Route/v1/calc/biz-customer-ltv
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calcltvcacunit-economicssaassubscriptionopsfinance
API URL
Integration docshttps://x402.hexl.dev/v1/calc/biz-customer-ltvExample request
{
"arpu": 100,
"grossMargin": 0.7,
"churnRate": 0.05,
"cac": 400
}Example response
{
"formula": "LTV = (ARPU * grossMargin) / churnRate",
"lifetimeValue": 1400,
"averageLifetimeMonths": 20,
"inputs": {
"arpu": 100,
"grossMargin": 0.7,
"churnRate": 0.05
},
"cac": 400,
"ltvCacRatio": 3.5,
"rating": "healthy"
}Input schema
{
"type": "object",
"required": [
"arpu",
"grossMargin",
"churnRate"
],
"properties": {
"arpu": {
"type": "number",
"description": "average revenue per user per period",
"examples": [
100
]
},
"grossMargin": {
"type": "number",
"description": "decimal 0-1",
"examples": [
0.7
]
},
"churnRate": {
"type": "number",
"description": "decimal per period, 0-1",
"examples": [
0.05
]
},
"cac": {
"type": "number",
"examples": [
400
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}