# Pricing Math – Break-Even Analysis

> Pricing Math – Break-Even Analysis is a paid API for AI agents from pricing-math.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Calculates break-even units and revenue from fixed costs, price, and variable cost per unit, with an optional profit target.

## Facts

- Endpoint: GET https://pricing-math.x402tookit.com/break-even?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pricing-math-break-even-analysis-cb2f2b4c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cJSc6Q5oOiuBjn4-VQ3sJ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability pricing-math-break-even-analysis-cb2f2b4c
```

Example prompt: I have $12,000 in fixed costs this month, I'm selling each unit for $45, and my variable cost per unit is $18. How many units do I need to sell to break even, and what if I want to hit a $3,000 profit target on top of that?

## When to prefer this

Use this endpoint when you need a quick, reliable break-even computation given known fixed costs, a unit selling price, and a variable cost — especially when you also want to model a specific profit target. Prefer this over manual spreadsheet calculations or general-purpose LLM math when you need structured, field-level output (contribution margin %, whole-unit rounding, revenue figures) that can be passed downstream to other agents or displayed in a dashboard.

## Known failure modes

- Missing required query params (fixedCosts, price, variableCost) returns a validation error
- Price equal to or less than variable cost results in undefined or infinite break-even (zero or negative contribution margin)
- Non-numeric parameter values cause a bad request error
- Very large or very small numbers may return degraded accuracy indicated by the degraded flag

## How this service works

Break-even units and revenue from fixed costs, price and variable cost per unit, with an optional profit target.

## Output

Returns the number of units needed to break even (exact and rounded up to whole units), break-even revenue, contribution per unit, contribution margin percentage, revenue at whole units, and optionally the units/revenue needed to hit a target profit. Also includes summary and verdict fields describing the result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "fixedCosts",
      "price",
      "variableCost"
     ],
     "properties": {
      "price": {
       "type": "number",
       "description": "Selling price per unit"
      },
      "fixedCosts": {
       "type": "number",
       "description": "Total fixed costs for the period"
      },
      "targetProfit": {
       "type": "number",
       "description": "Profit to reach in the same period (default 0)"
      },
      "variableCost": {
       "type": "number",
       "description": "Variable cost per unit"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "targetProfit": {
       "type": [
        "null",
        "number"
       ]
      },
      "breakEvenUnits": {
       "type": [
        "null",
        "number"
       ]
      },
      "breakEvenRevenue": {
       "type": [
        "null",
        "number"
       ]
      },
      "breakEvenUnitsWhole": {
       "type": [
        "null",
        "number"
       ]
      },
      "contributionPerUnit": {
       "type": [
        "null",
        "number"
       ]
      },
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pricing-math-break-even-analysis-cb2f2b4c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pricing-math.x402tookit.com](https://www.zero.xyz/host/pricing-math.x402tookit.com/llms.txt)
