# Markup calculator > How big is your markup? See the markup on cost, with the margin and profit beside it. Calculate the markup percentage from cost and selling price, with VAT taken out if the price includes it. See the matching margin and profit too. A preset of [Margin calculator](https://how.box/margin/). - Page: https://how.box/markup/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/markup/?currency={currency}&c={c}&p={p}&v={v}&m={m}&t={t} - `currency` (AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHF, CLF, CLP, CNY, COP, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLE, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UYW, UZS, VES, VND, VUV, WST, XAF, XCD, XCG, XDR, XOF, XPF, XSU, YER, ZAR, ZMW, ZWG or ZWL): Currency the amounts are in (ISO 4217); no conversion. Example: `EUR`. - `c` (number 0.01 to 1e9): Unit cost excluding VAT. Example: `60`. - `p` (number 0.01 to 1e9): Selling price including the VAT in v (mode margin). Example: `100`. - `v` (number 0 to 100): VAT percent included in the price. Example: `0`. - `m` (margin or price): What to find: margin (default) or price. Example: `price`. - `t` (number 0 to 100): Target margin percent (mode price). Example: `40`. Example answer: https://how.box/markup/?currency=EUR&c=60&p=100&v=0&m=price&t=40 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `margin_calculate`: Profit margin and markup of one unit from its cost (excluding VAT) and selling price (including vat_percent VAT; 0 when the price is net), both in the same currency. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"margin_calculate","arguments":{"currency":"EUR","cost":60,"price":100,"vat_percent":0,"mode":"price","target_margin_percent":40}}}` - GET: https://how.box/mcp/run/margin_calculate?currency=EUR&cost=60&price=100&vat_percent=0&mode=price&target_margin_percent=40 ## How it works Markup is the profit as a share of the cost: it tells you how much you add on top of what you paid. A shop that buys a product for 50 and sells it for 75 has added 25, a markup of 50 %. Retailers and traders usually set prices with a markup because the cost is the number they know. The markup is (price − cost) ÷ cost × 100. The same sale as a margin, profit divided by the selling price, is smaller: 25 ÷ 75 is 33.3 %. A markup can be any size, even over 100 %, but a margin can never reach 100 %. To turn a markup into a margin, divide the markup by 100 plus the markup: margin = markup ÷ (100 + markup). Mixing the two up is a common pricing mistake. A 30 % markup does not give a 30 % margin, it gives about 23 %. If you want a margin of 30 %, you need a markup of about 43 %. The table lists common markups and the margin each one produces. ## FAQ **How is markup calculated?** Subtract the cost from the selling price without VAT and divide by the cost. Selling a €60 item for €90 is a €30 profit and a 50% markup. **What price gives a 100% markup?** Double the cost. A 100% markup means the profit equals the cost, which is a 50% margin. **How do I calculate a price from a markup?** Multiply the cost by one plus the markup as a decimal. At a 40 % markup, a cost of 50 gives a price of 50 × 1.4 = 70. **How do I convert a margin into a markup?** Markup = margin ÷ (100 − margin) × 100. A 25 % margin is a 33.3 % markup. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)