Calculators
Fixed vs variable cost split API
Total cost = fixedCosts + variableCostPerUnit x units, decomposed into fixed/variable ratios and cost per unit — the cost-structure breakdown behind CVP analysis. Answers 'what's my total cost at this volume', 'what's my cost per unit', 'how much of my cost is fixed vs variable'.
Price$0.01per request
MethodPOST
Route/v1/calc/biz-fixed-variable-split
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calccost-structurefixed-costvariable-costcvpopsfinanceunit-economics
API URL
Integration docshttps://x402.hexl.dev/v1/calc/biz-fixed-variable-splitExample request
{
"fixedCosts": 50000,
"variableCostPerUnit": 12,
"units": 5000
}Example response
{
"formula": "totalCost = fixedCosts + variableCostPerUnit * units",
"totalVariableCost": 60000,
"totalCost": 110000,
"costPerUnit": 22,
"fixedCostRatio": 0.4545,
"variableCostRatio": 0.5455,
"breakdown": [
{
"factor": "fixedCosts",
"value": 50000
},
{
"factor": "totalVariableCost",
"value": 60000
}
]
}Input schema
{
"type": "object",
"required": [
"fixedCosts",
"variableCostPerUnit",
"units"
],
"properties": {
"fixedCosts": {
"type": "number",
"examples": [
50000
]
},
"variableCostPerUnit": {
"type": "number",
"examples": [
12
]
},
"units": {
"type": "number",
"examples": [
5000
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}