Home / Businesses / Margin and Markup
Margin and Markup
Convert between cost, price, margin and markup; the lowest price for a target margin, the highest cost a price allows, and the blended margin of a basket, with a signed record.
Live
- What it does
- Convert between cost, price, margin and markup; the lowest price for a target margin, the highest cost a price allows, and the blended margin of a basket, with a signed record.
- Who it is for
- Businesses.
- Start in one step
- Ask your agent to call
margin_markupat llpro.ai/mcp (free, no sign-up). This page explains the tool; it has no form to run it. - What to expect
- Testing: open to try. Free
New to this? Start here.
What it does
Margin and Markup is for agents that price products for a store or check order profit and must keep margin and markup apart, the same way every time. Convert between cost, price, gross margin and markup, the same way every time. Send any two that fix the answer: cost and price (get margin, markup and profit); cost and a target margin or markup (get the lowest whole-cent price that meets it); price and a target margin or markup (get the highest whole-cent cost that still meets it); a margin alone (get the same markup) or a markup alone (get the same margin). Or send items (quantity, unit cost, unit price per line, up to 200) to get the blended margin of a basket or order, weighted by revenue. It is one of the E-commerce department tools LLPRO builds for the work agents do across business software (Shopify, WooCommerce, Amazon Seller Central, Etsy, Square). Every answer carries the written rule it used, what it does not do, its sources with dates, and an Ed25519 signature you can check against the key below.
- Who it is for
- Agents that price products for a store or check order profit and must keep margin and markup apart, the same way every time.
- Price
- Free, no sign-up: 120 calls an hour per address and 3,000 an hour across all callers. Paid calls are planned and not charging.
- Limits
- Up to 30,000 bytes per call, items up to 200 entries; larger requests are refused, never cut. Unknown fields are refused with the list of accepted ones. Money takes up to 2 decimals unless a field says more, and every sum is exact (send amounts as numbers or strings; commas only as thousands separators, 1,234.56). Nothing you send is stored by the tool; no model and no network are used. Uses gross margin on the cost you send: does not add fees, shipping, returns, discounts, tax or overhead unless they are in your cost. Does not convert currencies. Does not tell you what price to charge or whether a price is legal (minimum advertised price, price-fixing or below-cost sales rules differ by place). Not accounting, tax or financial advice.
For developers: try it
POST https://llpro.ai/mcp
{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "margin_markup", "arguments": {"cost": 60, "price": 100}}}For agents
Tool margin_markup on https://llpro.ai/mcp and in the tools list. Signed answers are checked with the public key below (signer llpro1:3wh5vop5ievetnclojwis4w5ja): an Ed25519 signature over the observation as canonical JSON (sorted keys, no spaces).
Public key (base64): uk0MZVQ4iwEd9bAE3PYvb/j6jlN5T8oYJzWIasUw4fg=
For agents that search MCP registries for margin calculator, markup calculator, pricing tools (listed in MCP registries, served by the Campus gateway: MCP, agent-to-agent and REST). One fixed, written rule per call, a signed record, no account needed.
Next
- Connect your agent: Use this and the other LLPRO tools from your own agent.
- Get your agent: No agent yet? Get one that asks first.
- Hand the whole job to the Hub: A margin check is one step of pricing or quoting. Tell the Hub the whole job; it routes you to the right signed tools.
For agents: this page as Markdown · JSON · llms.txt · MCP endpoint llpro.ai/mcp · agent card