Markup Calculator and Gross Margin Calculator
Work out a selling price, markup, margin or cost from any two figures you have, and check that the rest agree. Price a whole list at once, or price a service you resell from the wholesale cost, your own time and payment fees.
Press Calculate.
What this markup calculator does differently
Markup and margin both describe the same profit; they divide it by different numbers. Most markup calculators take a cost and a percentage and return a price. This one also works from any two figures you have, checks any extra figures against them, prices a whole list at once, and prices a service you resell from the wholesale cost, your own time and payment fees.
| Omni | CalculatorSoup | Toggl | FreshBooks | This tool | |
|---|---|---|---|---|---|
| Works from | Any two of cost, markup, revenue, profit | Cost and gross margin | Four tabs: price, markup, two conversions | Any two of cost, markup, margin, revenue, profit | Any two of cost, price, markup, margin |
| Margin shown with markup | Separate calculator | Yes | Yes | Yes | Yes |
| Checks extra figures agree | No | No | No | No | Yes |
| Price list, many items | No | No | No | No | Up to ten |
| Resold service with time and fees | No | No | No | No | Yes |
| Export | Share link | Share link | None shown | None shown | CSV, Markdown, share link |
Pages as fetched on 8 November 2026. Anything not shown on the page is not counted.
Markup vs margin
Take an item that costs 60 and sells for 90. The profit is 30. Markup divides that profit by the cost: 30 / 60 = 50%. Margin divides it by the price: 30 / 90 = 33.3%. Same sale, same profit, two percentages. Markup is the figure you add on top of cost when setting a price; margin is the share of each sale you keep, which is how most businesses report profitability. The formulas are the same ones CalculatorSoup publishes (Markup Calculator):
- Markup = (price – cost) / cost, and price from markup = cost x (1 + markup)
- Margin = (price – cost) / price, and price from margin = cost / (1 – margin)
- Margin = markup / (1 + markup), and markup = margin / (1 – margin)
The easiest mistake is to apply a margin target as a markup. Adding 40% to a cost gives a 28.6% margin, not 40%. A margin can never reach 100% while there is any cost, but a markup can be any size: a 300% markup is a 75% margin. The markup vs margin guide has a two-way conversion chart, what a discount does to margin and the spreadsheet formulas.
| Markup | Margin |
|---|---|
| 10% | 9.1% |
| 20% | 16.7% |
| 25% | 20% |
| 30% | 23.1% |
| 40% | 28.6% |
| 50% | 33.3% |
| 60% | 37.5% |
| 75% | 42.9% |
| 100% | 50% |
| 150% | 60% |
| 200% | 66.7% |
| 300% | 75% |
Margin = markup / (1 + markup), rounded to one decimal place.
Pricing a service you resell
When you buy a service wholesale and sell it under your own brand, the wholesale price is not your only cost. Every client also takes some of your time, for calls, briefs and reporting, and card or invoice fees take a share of what the client pays. The resold service mode adds both: total cost is the wholesale price plus your hours at your cost per hour, and the price for a target margin is total cost / (1 – fee – margin). Set a planned price instead and it shows the margin that price really leaves.
Your cost per hour should include more than pay: software, rent and the hours that are never billed. The salary to hourly calculator works out an hourly figure from a salary and the hours actually worked.
How to use this markup calculator
- Pick what to work outOne price, a price list, or a resold service.
- One priceEnter any two of cost, selling price, markup and margin. Fill in more and the calculator checks they agree.
- Price listChoose whether each target is a margin or a markup, then add up to ten items with a cost and a target.
- Resold serviceEnter the wholesale cost, your hours and cost per hour, the payment fee and the margin you want.
- Read the resultPrice, profit, markup and margin, with the formulas used.
- Export or shareDownload a CSV of the price list, a Markdown summary, or copy a link that reopens the same figures.