# Business Utils Agent – Profit Margin Calculator

> Business Utils Agent – Profit Margin Calculator is a paid API for AI agents from business-utils-agent.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Calculates profit margin as a decimal ratio and percentage given net profit and total revenue figures

## Facts

- Endpoint: POST https://business-utils-agent.up.railway.app/kpi/profit-margin
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/business-utils-agent-profit-margin-calculator-c267ecb8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__2ByMkRZR8LuxxrrBhcXK

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 business-utils-agent-profit-margin-calculator-c267ecb8 -d '<json body>'
```

Example prompt: What's my profit margin if my net profit is $25,000 and my total revenue is $100,000?

## When to prefer this

Use this endpoint when you need a quick, reliable computation of profit margin from known net profit and revenue values, especially within automated financial reporting pipelines or agent workflows that need a structured JSON response with both decimal and percentage formats.

## Known failure modes

- Missing 'profit' or 'revenue' field returns a validation error
- Revenue of zero causes division-by-zero error
- Non-numeric input types return a type validation error
- Negative revenue values may produce unexpected or undefined results

## How this service works

A comprehensive business utilities agent offering KPI calculations, ROI analysis, profit margin calculations, customer acquisition cost analysis, churn rate calculations, and AI-powered business plan reviews.

## Output

Returns a JSON object containing the profit margin as a decimal (e.g. 0.25) and as a percentage (e.g. 25), representing how much of each revenue dollar is retained as profit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "profit": {
   "type": "number",
   "description": "Net profit amount"
  },
  "revenue": {
   "type": "number",
   "description": "Total revenue amount"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "percentage": 25,
  "profit_margin": 0.25
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/business-utils-agent-profit-margin-calculator-c267ecb8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from business-utils-agent.up.railway.app](https://www.zero.xyz/host/business-utils-agent.up.railway.app/llms.txt)
