How to use the markup calculator in 4 steps
- Choose what to work out. The selling price from a cost and a markup, the markup from a cost and a price, or the most you can pay for an item you'll sell at a set price.
- Enter your numbers. The cost per item, the markup as a percentage, or the selling price, before sales tax or VAT.
- Pick a price ending. Leave the price as worked out, or round it up to .99, .95, a whole number or the next 10. Prices are always rounded up, so you never earn less than your markup.
- Read the answer, then price a list. The margin, profit and the price as a multiple of the cost sit beside the answer. Paste a list of costs to price them all with the same markup.

What makes this markup calculator different
- Three questions in one place. Price from markup, markup from price, and the most you can pay to keep your markup, each with the margin shown next to it.
- Price endings that keep your markup. .99, .95, whole numbers or tens, always rounded up, with the markup you actually get after rounding.
- A whole price list at once. Paste up to 500 items with their costs, straight from a spreadsheet if you like, and copy the prices or download a CSV file. Decimal commas and thousands separators are read correctly.
- The formula with your numbers. Every answer shows the working, so you can check it or explain it to someone else.
- Tax kept apart. Markup and margin are worked out before sales tax or VAT; add a rate to see the price a customer pays.
Use cases
- Shops and makers: set shelf prices from supplier costs with one markup, ending in .99.
- Wholesale and resale: check the markup on a price a buyer offers, or the most you can pay a supplier to keep your usual markup.
- Restaurants and cafés: work out a dish's price from its ingredient cost and the markup you aim for.
- Quotes and invoices: add a fixed markup to materials before you send a quote.
Specs and limits
- Amounts: costs and prices from 0 to 10 billion, in any of the listed currencies. Currencies without cents, such as the yen, are shown in whole units, and .99 endings become "ends in 9".
- Markup: 0% to 10,000%. The markup-and-margin table lists 10% to 300%.
- Price endings: as worked out, .99, .95, a whole number, or the next multiple of 10, always rounded up.
- Tax: an optional sales tax or VAT rate from 0% to 100%, added on top of the selling price.
- Price list: up to 500 lines of up to 200 characters. Rows pasted from a spreadsheet (tab-separated), separated by semicolons, or written as CSV with quotes are read as columns, with the cost in the last column, so a name such as "iPhone 15" keeps its number. On other lines the last number is the cost and the words before it are the item's name. A comma with one or two digits after it is a decimal comma; with three it separates thousands, so "iPhone 15,799" on its own reads as 15,799: paste the row from your spreadsheet, or write "iPhone 15, 799".
- Links: "Copy link" puts your cost, markup, price, price ending and tax in the page address, never the pasted list. When someone opens the link, any value outside these limits is replaced by the example's.
- Not included: payment fees, overheads and income tax. The profit margin calculator adds fees and monthly costs.
Methodology
- Markup: (selling price − cost) ÷ cost × 100, the profit as a percentage of the cost.
- Selling price: cost × (1 + markup ÷ 100), then rounded up to the ending you chose.
- Most you can pay: selling price ÷ (1 + markup ÷ 100), rounded down to the currency's smallest unit (the cent, or a whole yen), so the markup you get is at least the one you asked for (the page shows the markup it comes to).
- Margin: (selling price − cost) ÷ selling price × 100, the same profit as a percentage of the price. Markup and margin convert into each other: margin = markup ÷ (100 + markup) × 100, and markup = margin ÷ (100 − margin) × 100.
- Rounding: to the next price ending at or above the worked-out price, then to the currency's own number of decimals, so a rounded price never gives a lower markup than the one you entered.
Sources
- Xero: Free Markup Calculator, opened 2 December 2026: markup is "expressed as a percentage of the cost price", and "(sales price – cost price) / cost price x 100 = markup percentage".
- FreshBooks: Markup Calculator, opened 2 December 2026: markup is a percentage of cost and margin a percentage of revenue, with the formulas for both.
Frequently asked questions
How do I calculate markup?
Subtract the cost from the selling price, divide by the cost and multiply by 100. An item that costs $18 and sells for $27 has a markup of ($27 − $18) ÷ $18 × 100 = 50%.
How do I find the selling price from a markup?
Multiply the cost by 1 plus the markup as a decimal. A $18 cost with a 50% markup sells for $18 × 1.5 = $27. Choose a price ending, such as .99, and the price is rounded up, so you never earn less than the markup you asked for.
What is the difference between markup and margin?
Both use the same profit. Markup is that profit as a share of the cost; margin is the same profit as a share of the selling price. A $9 profit on a $27 sale is a 50% markup on the $18 cost but a 33.33% margin on the price, so markup is always the larger number. The profit margin calculator lists more margin and markup pairs.
What markup gives a 50% margin?
A 100% markup: doubling the cost. In general, markup = margin ÷ (100 − margin) × 100, so a 25% margin needs a 33.33% markup and a 40% margin needs 66.67%. The table on this page lists common pairs.
How much can I pay for an item to keep my markup?
Choose "Cost from price" and enter the price you can sell at and the markup you want. The most you can pay is the price ÷ (1 + markup), rounded down to the cent so your markup is never less than you asked: to sell at $27 with a 50% markup, pay at most $18; to sell at $10 with a 33% markup, pay at most $7.51.
Does the markup include sales tax or VAT?
No. Markup and margin are worked out on the price before tax. Enter a tax rate and the page also shows the price a customer pays with the tax on top.
Can I mark up a whole price list at once?
Yes. Paste your items straight from a spreadsheet (a name column and a cost column), or one per line with the cost at the end (for example "Mug, 4.20"). Each gets the markup and price ending you chose. Copy the prices or download them as a CSV file. Decimal commas such as 4,20 are understood.