The Calc Guide › Calculator

Markup Calculator

A markup calculator works out the selling price a target markup puts on a cost, the markup inside a price you already charge, and the cost a price can carry: a $25 cost at a 60% markup sells for $40.00, a 37.5% margin. Checked November 2026.

Last updated: November 24, 2026

Price from cost and markup, and markup from cost and price

Markup is measured on the cost: it is the profit divided by what the item cost you. The margin on the same sale, profit divided by the price, is shown alongside for comparison, because the two are confused constantly and the difference is money. If your starting point is a target margin rather than a markup, that solve lives on the Profit Margin Calculator, linked below this page's explainer.

How this is worked out

Selling price = cost x (1 + markup). Margin is shown for comparison only.

Selling price-
Cost-
Selling price-
Profit per unit-
Markup (on cost)-
Margin (on price, for comparison)-

Next: the same profit measured on the price, with the Profit Margin Calculator

Free. No sign-up. Calculated in your browser; nothing is sent to our servers.

What this calculator does

A markup calculator works from the cost outward. Markup is the profit on an item expressed as a percentage of what the item cost, and cost-plus pricing starts exactly there: take the cost, add the markup, get the price. This calculator owns the three markup-led solves. From a cost and a target markup it gives the selling price. From a cost and a selling price it gives the markup you are actually charging. From a selling price and a markup it gives the cost that price can carry. In every mode it also shows the margin, the same profit measured as a percentage of the price, as a derived comparison figure, because the two percentages describe one profit from two bases and mixing them up changes the price you set. One boundary is deliberate and worth stating plainly: there is no target-margin solve on this page. Setting a price from a target margin is the sibling page’s job, the Profit Margin Calculator, and the two pages are managed as a pair, each leading with its own solve and linking to the other, rather than one page blurring both intents.

Worked example: a $25 cost marked up by 60%

The tool opens on a cost of $25.00 and a target markup of 60%:

Scroll sideways to see all columns →

Line Amount
Cost $25.00
Markup, 60% of the cost $15.00
Selling price $40.00
Profit per unit $15.00
Margin the price carries, $15 / $40 37.5%

Read the same figures in the tool’s other two directions and nothing moves: a cost of $25.00 against a price of $40.00 returns a markup of 60%, and a price of $40.00 with a 60% markup returns the $25.00 cost it can carry. The number to hold on to is the margin in the last row. A 60% markup sounds like it leaves 60 cents of every dollar as profit; it leaves 37.5 cents, because the markup was measured on the $25.00 cost while the margin is measured on the $40.00 that actually comes in. That gap, repeated across a whole catalog, is the difference between the profit you planned and the profit you get.

Markup is not margin: the same profit, two bases

Markup divides the profit by the cost. Margin divides the same profit by the selling price. Because the price is always the larger of the two numbers, the margin is always the smaller percentage, and the two are locked together by one identity each way: markup = margin / (1 − margin), and margin = markup / (1 + markup). This page’s conversion table runs the translation in the markup direction:

Scroll sideways to see all columns →

If the markup is The margin is
10% 9.09%
20% 16.67%
25% 20%
33.33% 25%
50% 33.33%
60% 37.5%
75% 42.86%
100% 50%
150% 60%
200% 66.67%
300% 75%

Two rows are worth remembering. Doubling the cost, a 100% markup, is a 50% margin and never more. And no markup, however large, produces a 100% margin, because the cost is always some share of the price. The sibling page runs the same table in the other direction and leads with the margin-led solves: if a supplier, a marketplace dashboard or your own accounts quote you a margin, the Profit Margin Calculator is the page that prices from it, and each page’s worked example uses its own figures so the pair can be checked against each other.

How markup is worked out

Price = cost x (1 + markup). Markup = (price − cost) / cost. Cost = price / (1 + markup). Margin, derived = markup / (1 + markup)

  • The base is the whole discipline: every formula on this page divides by the cost or builds on it. A percentage quoted without its base is not yet a number you can price with; the first question for any quoted percentage is whether it was taken on the cost or on the price.
  • Markup has no ceiling, and margin explains why: markup is measured against the cost alone, so it can run to 300%, 900% or beyond on items that cost little to make. The margin it delivers still cannot pass 100%, because the price is the cost plus the profit and the profit is only ever a part of it.
  • The cost is the cost you enter: the formulas price on the unit cost in the box, and the result is only as complete as that figure. A cost that includes inbound freight, duties and per-unit packaging gives a markup that reflects what the item really costs you; a bare invoice price gives a markup that flatters the margin, because the missing costs are still paid, just not counted here.
  • A price below cost is returned honestly: enter a price under the cost and the tool reports a negative markup and a negative margin rather than refusing the sum. That figure shows how deep a discount, a clearance line or a loss leader cuts.

What the calculator will and will not return

  • A markup of -100% or lower shows no result, because the price would be zero or negative. A markup just above -100% gives a price near zero and a very large negative margin.
  • In the price mode and the markup mode, a cost of zero or less shows no result. In the markup mode and the cost mode, a selling price of zero or less shows no result.
  • Money and percentages are rounded to two decimal places, so a printed figure can differ from the exact one by less than half a cent or half of one hundredth of a percent.
  • A price below the cost returns a negative markup and a negative margin, as the second FAQ answer below shows.
  • No markup, however large, reaches a 100% margin.

Sources and method

Markup and margin are definitions, not statistics. The definitions on this page follow two accounting references, both opened on November 19, 2026. Corporate Finance Institute defines markup as the selling price minus the cost, taken as a percentage of the cost, and gross margin as a percentage of revenue, and notes that the markup is always the larger of the two. AccountingTools divides the markup amount by the product cost and the margin by sales, and its comparison table pairs a 40% margin with a 66.7% markup and a 50% margin with a 100.0% markup, the same pairs this page’s formulas give. The conversion table above is the identity margin = markup / (1 + markup) evaluated at the markups shown. Every figure on this page is arithmetic, recomputed for this update. This calculator shows the arithmetic of a price. It is not financial, tax or business advice, and it does not recommend a marketplace, a price or a plan. To report an error on this page, use the site’s Contact page. The method underneath this markup, worked by hand from the definition, is how to calculate percentage. When a price moves from one figure to another, the size of the move is a percentage change; how to calculate percentage change works it in both directions.

Related calculators

The Profit Margin Calculator is this page’s sibling: it leads with the margin-led solves, including the price a target margin needs, and prints the same conversion table in the other direction. The Food Cost Calculator is the kitchen form of the same discipline, pricing a plate from its ingredient cost at a target food cost percentage. The Percentage Calculator covers the underlying percentage math in every direction.

Frequently asked questions

How do I calculate markup?

Subtract the cost from the selling price to get the profit, then divide the profit by the cost and multiply by 100. An item costing $25.00 and selling for $40.00 makes $15.00 of profit, and $15.00 / $25.00 is a 60% markup. The division is by the cost, the money that went out, never by the price; dividing by the price gives the margin instead, which for the same sale is 37.5%. This calculator’s second mode runs exactly that sum from a cost and a price.

How do I set a selling price from a markup?

Multiply the cost by one plus the markup as a decimal: price = cost x (1 + markup). A $25.00 cost with a 60% markup is $25.00 x 1.60 = $40.00. The first mode of this calculator leads with that solve, because it is the usual starting point for cost-plus pricing. Check the margin the price carries before you commit to it: the same $40.00 price is a 37.5% margin, and if the business needed 60% of the price as profit, the markup required is not 60% but 150%.

What is the difference between markup and margin?

The base. Markup expresses profit as a percentage of the cost; margin expresses the same profit as a percentage of the selling price. Because the price is always the bigger number, the margin is always the smaller percentage, and the two are linked by margin = markup / (1 + markup). A 50% markup is a 33.33% margin; a 100% markup is a 50% margin. Quoting one when you mean the other overstates or understates the profit on every sale, which is why this page shows both percentages on every result and its sibling page does the same from the other side.

What markup do I need for a 40% margin?

A markup of about 66.67%. The conversion is markup = margin / (1 − margin): 40 / (1 − 0.40) = 66.67 when rounded to two decimals. Priced out, a $30.00 cost marked up by 66.67% sells for $50.00, and $20.00 of profit on a $50.00 price is the 40% margin intended. The conversion table on this page carries the common pairs, and the margin for any markup the tool solves is printed on the result. Where the starting point is the margin itself, the Profit Margin Calculator owns that direction and solves the price from the target margin directly.

Is a 100% markup the same as pricing at double the cost?

Yes. A 100% markup adds the whole cost again: price = cost x (1 + 1.00), so the price is twice the cost. What it is not is a 100% margin: of the doubled price, half is the recovered cost and half is profit, so the margin is 50%. No markup can produce a 100% margin, because that would need the cost to be zero. A purely digital item with no unit cost is the limiting case, and there markup itself stops meaning anything, since there is no cost to divide by.

Can markup be negative?

Yes, whenever the price sits below the cost: the profit is negative and the markup is the loss expressed as a percentage of the cost. An item costing $100.00 and sold at $80.00 carries a markup of −20% and a margin of −25%. The tool returns those figures rather than refusing them, because a negative markup is a real state of affairs, on a clearance line, a discount that went further than intended, or a cost that rose after the price was printed, and seeing its size is the first step in deciding what to do about the price.

Embed this calculator

Put this calculator on your own site or blog, free, with this snippet:

Free for any site while the attribution link under the calculator stays in place. More calculators and WordPress instructions.

Educational tool only. Results are estimates based on the numbers you enter and the assumptions explained on this page, not financial advice.