# Profit Margin Calculator — REST API endpoint `profit-margin-calculator`

Return cost, selling price, profit, profit margin (percent of price), and markup (percent of cost). Mode cost_price takes cost and selling_price; mode margin takes cost and a target margin; mode markup takes cost and a target markup.

- Category: finance
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/profit-margin-calculator/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/api/profit-margin-calculator/
- Same tool on the other surface: https://findutils.com/mcp/profit-margin-calculator/

## Call the endpoint (verified example)

```bash
curl -X POST https://api.findutils.com/api/tools/profit-margin-calculator/execute \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "cost_price",
    "cost": 50,
    "selling_price": 100
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/profit-margin-calculator
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `mode` | string (cost_price \| margin \| markup) | no | What you know: cost_price, margin, or markup. Default: cost_price. |
| `cost` | number | yes | Cost of the item. Must be > 0. |
| `selling_price` | number | no | Selling price (mode cost_price). Must be > 0. |
| `margin` | number | no | Target profit margin in percent (mode margin). Must be > 0 and < 100. |
| `markup` | number | no | Target markup in percent (mode markup). Must be > 0. |

Example arguments (verified):

```json
{
  "mode": "cost_price",
  "cost": 50,
  "selling_price": 100
}
```

OpenAPI 3.1 spec: https://findutils.com/api/openapi.json · Interactive docs: https://findutils.com/api/docs/

## Also an MCP tool

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Then ask the client to call `findutils:profit_margin_calculator`. Full MCP reference: https://findutils.com/mcp/profit-margin-calculator/

---
Full catalog: GET https://api.findutils.com/api/tools · https://findutils.com/api/ · https://findutils.com/llms.txt
