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
| Parameter | Type | Required | Description |
|---|---|---|---|
cost | number | required | Unit cost in USD |
price | number | optional | Selling price in USD (provide this OR margin_pct OR markup_pct) |
margin_pct | number | optional | Target net margin percent |
markup_pct | number | optional | Target 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.
This call needs a key or credits. The 402 response below says what it accepts. A free key adds 10,000 calls a month, no card, no crypto: get one at /pricing, which also has the current prices.
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.