Catalog/biz-target-profit-units

Calculators

Target-profit units calculator API

Required units = (fixedCosts + targetProfit) / (price - variableCost) — the CVP extension of break-even that solves for the volume hitting a profit goal, with required revenue. Answers 'how many units to hit my profit target', 'what volume earns $X profit', 'what revenue do I need for a target profit'.

Price$0.01per request
MethodPOST
Route/v1/calc/biz-target-profit-units
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calctarget-profitcvpbreak-evenunit-economicsplanningopsfinance
API URLhttps://x402.hexl.dev/v1/calc/biz-target-profit-units
Integration docs
Example request
{
  "fixedCosts": 10000,
  "targetProfit": 20000,
  "pricePerUnit": 50,
  "variableCostPerUnit": 30
}
Example response
{
  "formula": "units = (fixedCosts + targetProfit) / (pricePerUnit - variableCostPerUnit)",
  "contributionMarginPerUnit": 20,
  "requiredUnits": 1500,
  "requiredRevenue": 75000,
  "inputs": {
    "fixedCosts": 10000,
    "targetProfit": 20000,
    "pricePerUnit": 50,
    "variableCostPerUnit": 30
  }
}
Input schema
{
  "type": "object",
  "required": [
    "fixedCosts",
    "targetProfit",
    "pricePerUnit",
    "variableCostPerUnit"
  ],
  "properties": {
    "fixedCosts": {
      "type": "number",
      "examples": [
        10000
      ]
    },
    "targetProfit": {
      "type": "number",
      "examples": [
        20000
      ]
    },
    "pricePerUnit": {
      "type": "number",
      "examples": [
        50
      ]
    },
    "variableCostPerUnit": {
      "type": "number",
      "examples": [
        30
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}