Calculators
Cost variance (CV = EV - AC) API
Compute cost variance CV = EV - AC with percent variance, CPI = EV/AC, and an under/over/on-budget rating — the focused PMBOK cost-performance signal. Answers 'what is my cost variance','am I under or over budget','what is the CPI from EV and AC'.
Price$0.01per request
MethodPOST
Route/v1/calc/pm-cost-variance
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calcpmcost-varianceevmcpibudgetvarianceproject
API URL
Integration docshttps://x402.hexl.dev/v1/calc/pm-cost-varianceExample request
{
"earnedValue": 1200,
"actualCost": 1000
}Example response
{
"earnedValue": 1200,
"actualCost": 1000,
"costVariance": 200,
"costVariancePct": 16.67,
"cpi": 1.2,
"rating": "under-budget",
"formula": "CV = EV - AC"
}Input schema
{
"type": "object",
"required": [
"earnedValue",
"actualCost"
],
"properties": {
"earnedValue": {
"type": "number",
"description": "EV, budgeted cost of work performed",
"examples": [
1200
]
},
"actualCost": {
"type": "number",
"description": "AC, actual cost",
"examples": [
1000
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}