Calculators
Labor cost percentage calculator API
Compute labor cost percentage = (total labor cost / total revenue) x 100, with a low/healthy/elevated/high rating. Deterministic cost-ratio math. Answers 'what percent of revenue is labor','labor cost ratio','is our labor cost healthy at 30%'.
Price$0.01per request
MethodPOST
Route/v1/calc/hr-labor-cost-percent
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
hrlabor-costfinancemetricspayrollcalcratiobudget
API URL
Integration docshttps://x402.hexl.dev/v1/calc/hr-labor-cost-percentExample request
{
"laborCost": 1200000,
"totalRevenue": 4000000
}Example response
{
"laborCost": 1200000,
"totalRevenue": 4000000,
"laborCostPercent": 30,
"rating": "elevated"
}Input schema
{
"type": "object",
"required": [
"laborCost",
"totalRevenue"
],
"properties": {
"laborCost": {
"type": "number",
"description": "Total labor cost in dollars",
"examples": [
1200000
]
},
"totalRevenue": {
"type": "number",
"description": "Total revenue in dollars",
"examples": [
4000000
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}