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.

Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.

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://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

finance
Loan Amortization Schedule
Full month-by-month amortization table with principal, interest, and balance columns.
finance
Annuity Present / Future Value
Compute the present or future value of an ordinary annuity or annuity-due.
finance
Bond Price Calculator
Fair value of a fixed-coupon bond given face value, coupon rate, market yield, and maturity.
finance
CAGR (Compound Annual Growth Rate) Calculator
Compound annual growth rate and total growth between two values over N years.
finance
Compound Interest / Future Value Calculator
Future value, total contributions and interest with optional periodic deposits.
finance
Depreciation Schedule Calculator
Straight-line or double-declining-balance schedule for an asset.