Markup Calculator
Turn a cost and markup into a selling price, or a cost and price into the markup, with profit and margin worked out both ways.
Calculate from
What the item costs you, as a plain number in any currency.
The percentage added on top of the cost.
Markup is profit as a share of the cost. Margin is the same profit as a share of the selling price, so it is always the smaller figure.
How to calculate markup and selling price
Choose what you know
Pick whether you have a cost and a markup percentage, or a cost and a selling price, using the two mode cards at the top.
Enter your numbers
Type the cost and the second value as plain numbers in any currency. The result appears as you type; there is no button to press.
Read and copy the result
The selling price or markup, the profit, and the margin update live. Click Copy result to put the full summary on your clipboard.
Why use this tool
Two calculation modes
Go from cost and markup to a selling price, or from cost and price to the markup percentage. One toggle switches between them and keeps the cost you already typed.
Markup and margin side by side
Both figures show at once, so the common mix-up between profit measured against cost and profit measured against price is settled at a glance.
Profit figure included
The cash difference between cost and selling price is shown as its own number, and a price below cost is reported honestly as a negative profit.
Recalculates as you type
Every keystroke updates the result instantly. Change the cost, the markup, or the price and the other figures follow immediately.
Nothing is transmitted
Costs, prices, and percentages are processed by the page alone; nothing you type is uploaded, stored, or logged.
About this tool
A markup calculator answers two related questions. Given a cost and the markup you want to add, it works out the selling price, the profit, and the resulting margin. Given a cost and a selling price you already have, it works out the markup percentage instead, along with the same profit and margin. Markup is the profit expressed as a percentage of the cost, so a 100 item sold at 150 carries a 50% markup: the 50 of profit divided by the 100 cost.
The reason margin sits next to markup is that the two are easy to confuse. Margin is the same profit measured against the selling price rather than the cost, so that 50 of profit on a 150 sale is a margin of 33.3%, not 50%. Markup is always the larger of the two because cost is lower than price. Keeping both on screen makes it obvious which one a supplier, marketplace, or spreadsheet is actually asking for. For plain percentage questions outside pricing, the percentage calculator handles increases, decreases, and shares of a total.
Every figure is a plain number to two decimal places, so the tool works in any currency, and the cost must be greater than zero because markup and margin are both measured relative to it. If you enter a selling price below cost, the profit, markup, and margin all show as negative so a loss is never hidden. Everything is calculated in your browser and nothing you type leaves the page. To price a sale rather than set a base price, the discount calculator takes a percentage off instead of adding one, and one click on Copy result places the full summary on your clipboard.
Frequently asked questions
- What is the difference between markup and margin?
- Markup is profit as a percentage of the cost; margin is the same profit as a percentage of the selling price. A 100 cost sold at 150 is a 50% markup but a 33.3% margin. Markup is always the higher figure because cost is lower than price.
- How do I find the selling price from a markup?
- Choose the cost and markup mode, enter the cost, then the markup percentage. The selling price appears as soon as you type, together with the profit and the resulting margin. There is no button to press.
- Can I work out the markup from a price I already charge?
- Yes. Switch to the cost and selling price mode and enter both. The tool returns the markup percentage, the profit, and the margin. If the price is below the cost, all three show as negative to reflect the loss.
- Why must the cost be greater than zero?
- Both markup and margin are measured relative to the cost, so a cost of zero would have no defined percentage. Enter a cost above zero, in any currency, to get a result.
- Is anything I type uploaded?
- No. Costs, prices, and percentages are processed entirely in your browser. Nothing is sent to a server, stored, or logged.
Related tools
Percentage Calculator
Find X% of a number, what percent one number is of another, and the percentage change between two values, live as you type.
Discount Calculator
Work out the sale price, total savings, and overall percent off for stacked percentage or fixed-amount discounts, or reverse it to find the discount between two prices.
Tip Calculator
Work out the tip, the total, and each person's share from any bill, with preset or custom percentages, optional tax, and a round-up.
401(k) Calculator
Project your 401(k) balance at retirement from your contributions, employer match, and expected return, year by year.
Amortization Schedule Calculator
Build a full payment-by-payment schedule for any fixed-rate loan, with the payoff date and the interest you save by paying extra.
APY Calculator
Turn a nominal rate and compounding frequency into the true annual percentage yield, project a balance, or reverse solve the rate.