Home / MCP Tools / Margin / Markup / Price Calculator
Live MCP toolfinance

Margin / Markup / Price Calculator

Solve selling price, profit, margin% and markup% from cost and one known value.

A free key adds 10,000 calls a month, no card: /pricing, which also says whether the calculators are free or priced right now.

Parameters

ParameterTypeRequiredDescription
costnumberrequiredUnit cost in USD
pricenumberoptionalSelling price in USD (provide this OR margin_pct OR markup_pct)
margin_pctnumberoptionalTarget net margin percent
markup_pctnumberoptionalTarget markup percent on cost

Call it over MCP (JSON-RPC 2.0)

curl -s https://agent.wingmanprotocol.com/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "margin", "arguments": {"cost": 100}}}'

Or plain HTTP

curl -s https://wingmanprotocol.com/tools/margin \
  -H 'Content-Type: application/json' \
  -d '{"cost": 100}'

Try it live

Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/margin from your browser.

Related tools in Finance