Calculators
Coefficient of variation API
Compute the coefficient of variation CV = sd/|mean| (and as a percentage) from raw data or summary stats, with a low/moderate/high dispersion rating, to compare relative variability across scales. Auditable: echoes mean and sd. Answers 'coefficient of variation','relative standard deviation','how variable is this data relative to its mean'.
Price$0.01per request
MethodPOST
Route/v1/calc/stat-coefficient-of-variation
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calcstatisticscoefficient-of-variationcvdispersionrelative-sdvariabilitycompare
API URL
Integration docshttps://x402.hexl.dev/v1/calc/stat-coefficient-of-variationExample request
{
"mean": 50,
"sd": 5
}Example response
{
"coefficientOfVariation": 0.1,
"cvPercent": 10,
"mean": 50,
"sd": 5,
"n": null,
"rating": "low dispersion",
"interpretation": "CV = sd/|mean| = 10%."
}Input schema
{
"type": "object",
"required": [],
"properties": {
"data": {
"type": "array",
"items": {
"type": "number"
},
"description": "raw data (>=2)"
},
"mean": {
"type": "number",
"examples": [
50
]
},
"sd": {
"type": "number",
"examples": [
5
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}