Margin & Markup Calculator

Free margin markup calculator: enter cost and price to get gross margin %, markup %, profit, and target price. Runs in your browser, no login.

published pricingdistributors

This margin markup calculator converts between cost, selling price, gross margin, and markup so you can sanity-check a price line in seconds. It is built for distributors and category managers who maintain large price lists across MRO, CPG, furniture, and industrial product lines, where a single confused field can quietly erode profit on thousands of SKUs.

Margin & Markup Calculator

The interactive version of this tool is coming soon. It will run entirely in your browser — no login, no upload limits.

Planned tool: margin markup calculator

Need this now? Talk to Claro

What it checks

Enter any two known values and the tool computes the rest, then flags inputs that produce an impossible or loss-making result:

  • Gross margin % — profit as a percentage of selling price: (price − cost) ÷ price.
  • Markup % — profit as a percentage of cost: (price − cost) ÷ cost.
  • Unit profit — the absolute money kept per unit after cost.
  • Target selling price — the price required to hit a margin or markup goal from a known cost.
  • Implied cost — the cost a given price and margin assume, useful for back-checking a supplier quote.
  • Margin-to-markup translation — converts a markup target into its equivalent margin and vice versa, the single most common source of pricing errors.
  • Sanity flags — warns when price is below cost (negative margin), when margin is entered as 100% or more (mathematically impossible), or when a “50% markup” was likely meant as a “50% margin.”

How it works

The math behind a margin markup calculator is two definitions that share the same numerator but a different denominator. Margin divides profit by price; markup divides the same profit by cost. A 33% margin equals a 50% markup, and a 50% margin equals a 100% markup — they are not interchangeable, which is exactly why a furniture distributor who applies “40% markup” expecting “40% margin” lands at roughly 29% margin and wonders where the profit went.

Markup on cost Equivalent gross margin
25% 20.0%
33% 24.8%
50% 33.3%
100% 50.0%
150% 60.0%

The tool applies the standard formulas with no rounding tricks: margin and markup are derived directly from cost and price, and target price is solved as cost ÷ (1 − margin) for a margin goal or cost × (1 + markup) for a markup goal. Everything runs client-side in your browser — nothing is uploaded, stored, or sent to a server, so you can paste a sensitive cost from a supplier agreement without it leaving your machine.

This one calculator handles a single line cleanly. When the problem scales to an entire updated supplier file — thousands of cost changes where each one shifts margin differently — spreadsheet checks stop being reliable. Claro’s product data layer normalizes cost and price fields across suppliers, recomputes margin at ingestion, and flags lines that fall below your floor before they reach the catalog.

FAQ

What is the difference between margin and markup?

Margin is profit measured against the selling price; markup is the same profit measured against cost. They use the same dollar profit but different denominators, so the percentages never match. A 50% markup equals a 33.3% margin. Confusing the two is the most common pricing mistake this calculator is designed to catch.

How do I convert markup to margin?

Divide markup by one plus markup: markup ÷ (1 + markup). For example, a 25% markup becomes 0.25 ÷ 1.25 = 20% margin. To go the other way, divide margin by one minus margin: a 20% margin is 0.20 ÷ 0.80 = 25% markup. The calculator does this translation automatically when you enter either value.

What selling price do I need to hit a target margin?

Divide cost by one minus your target margin: cost ÷ (1 − margin). A 12 dollar industrial fitting at a 40% margin target needs to sell at 12 ÷ 0.60 = 20.00. Note that you cannot reach a 100% margin — the formula divides by zero, which is why the tool flags margins entered at or above 100%.

Can a margin be more than 100%?

No. Because margin is profit divided by selling price, it can approach but never reach 100% — that would mean the cost is zero. Markup, by contrast, has no upper limit: a product costing 10 dollars and selling for 40 carries a 300% markup but only a 75% margin. If a calculator returns a margin above 100%, the inputs are reversed or the cost is wrong.

Should I calculate margin on landed cost or invoice cost?

Always on your true delivered (landed) cost. Invoice cost alone omits freight, duty, brokerage, and handling, so margin computed from it is optimistic on every line and worst on low-value, high-freight items. Establish landed cost first, then feed that number into this margin markup calculator for an accurate result.