← All tool references

Finance · not_available

Break-Even Sales Calculator

Find the unit and revenue levels required to cover fixed costs.

Open public tool

Overview

Category
Finance
API mode
not_available
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/break-even-sales-calculator

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/break-even-sales-calculator/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

fixed_costs · number · required
Enter the fixed costs used by this tool.
selling_price · number · required
Enter the selling price per unit used by this tool.
variable_cost · number · required
Enter the variable cost per unit used by this tool.
target_profit · number · required
Enter the target profit used by this tool.
{
    "type": "object",
    "properties": {
        "fixed_costs": {
            "type": "number",
            "description": "Enter the fixed costs used by this tool.",
            "minimum": 0
        },
        "selling_price": {
            "type": "number",
            "description": "Enter the selling price per unit used by this tool.",
            "minimum": 0
        },
        "variable_cost": {
            "type": "number",
            "description": "Enter the variable cost per unit used by this tool.",
            "minimum": 0
        },
        "target_profit": {
            "type": "number",
            "description": "Enter the target profit used by this tool.",
            "minimum": 0
        }
    },
    "required": [
        "fixed_costs",
        "selling_price",
        "variable_cost",
        "target_profit"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

contribution_margin · number
Contribution margin per unit produced by the tool.
contribution_margin_ratio · number
Contribution margin ratio produced by the tool.
break_even_units · number
Break-even units produced by the tool.
break_even_revenue · number
Break-even revenue produced by the tool.
units_for_target_profit · number
Units for target profit produced by the tool.
{
    "type": "object",
    "properties": {
        "contribution_margin": {
            "type": "number",
            "description": "Contribution margin per unit produced by the tool."
        },
        "contribution_margin_ratio": {
            "type": "number",
            "description": "Contribution margin ratio produced by the tool."
        },
        "break_even_units": {
            "type": "number",
            "description": "Break-even units produced by the tool."
        },
        "break_even_revenue": {
            "type": "number",
            "description": "Break-even revenue produced by the tool."
        },
        "units_for_target_profit": {
            "type": "number",
            "description": "Units for target profit produced by the tool."
        }
    },
    "additionalProperties": false
}

Break-Even Sales Calculator example

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/break-even-sales-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "fixed_costs": 50000,
    "selling_price": 75,
    "variable_cost": 35,
    "target_profit": 0
}'
{
    "ok": true,
    "data": {
        "slug": "break-even-sales-calculator",
        "result": {
            "values": {
                "contribution_margin": 40,
                "contribution_margin_ratio": 53.33333300000000321006154990755021572113037109375,
                "break_even_units": 1250,
                "break_even_revenue": 93750,
                "units_for_target_profit": 1250
            },
            "display": {
                "display": "40"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.