Margin & Markup Calculator
MathGiven any two of cost, selling price, gross margin percent, and markup percent, solve for the other two plus the gross profit
Margin and markup describe the same gross profit against two different bases, and mixing them up is one of the most expensive arithmetic mistakes in retail and e-commerce: margin is profit divided by the selling price, markup is profit divided by the cost, so a 20 percent margin is the same deal as a 25 percent markup. Fill in exactly two of cost, price, margin percent, and markup percent, and this calculator solves for the remaining two along with the gross profit per unit. Reach for it when pricing a product from a target margin, back-solving the cost a supplier quote implies, or checking whether a markup a vendor quoted actually hits the margin you need. It covers gross figures only: overheads, payment fees, shipping, and tax are not modelled, and margin plus markup on their own cannot be solved since neither carries an absolute amount.
How to use Margin & Markup Calculator
- 1.Fill in exactly two of the four fields: cost, selling price, gross margin percent, or markup percent.
- 2.Read the two solved values, highlighted in green, along with the gross profit per unit.
- 3.Change any input to re-solve instantly, or clear the fields and start from a different pair.
Frequently asked questions
Use via API, SDK, or MCP
cURL# Free: 1,000 req/day · Pro: 10,000 req/day
curl -X POST https://api.utilix.tech/v1/tools/margin-markup-calculator \
-H "Authorization: Bearer utx_live_..." \
-H "Content-Type: application/json" \
-d '{"cost":80,"price":100}'Get an API key from your dashboard · Full API docs →