Free tool · no signup
Markup and margin calculator
Enter your cost and a markup, target margin or selling price. You see the price to charge, your profit, and what share of the price you keep, live as you type.
Your numbers
Charge $1,000.00 for $200.00 profit
25% markup keeps 20% of the price.
Formulas · checked 19 November 2026
- Selling price
- cost × (1 + markup)
- Margin
- profit / price
- Markup from margin
- margin / (1 − margin)
Percentages are written as decimals in the formulas (25% is 0.25). Runs in your browser; nothing you type is uploaded.
Markup vs margin: a worked trade example
Markup and margin measure the same dollar profit against two different numbers. Markup compares profit with your cost (what you spent). Margin, also called gross margin (the share of price kept), compares profit with your selling price (what the customer pays). Because the selling price is larger than the cost, your margin is always smaller than your markup.
Say you are pricing a water heater swap that costs you $1,400 in parts and on-site labour: $920 for the tank, valves and fittings, plus $480 for four hours on the job. You want a 30% margin so enough stays behind to pay for your van, insurance, tools and quoting time.
30% markup (common mistake)
30% margin (42.9% markup)
Adding 30% to $1,400 gives $1,820. That leaves only a 23.1% margin and puts you $180 short on the job. Dividing $1,400 by (1 - 0.30) gives $2,000: $600 profit, a true 30% margin, and a 42.9% markup on cost.
Markup to margin conversion table
Use this table for quick checks on site. Selling prices in the last column use your $800 cost above.
| Markup | Margin | Multiplier | Selling price |
|---|---|---|---|
| 10% | 9.1% | 1.10× | $880.00 |
| 15% | 13.0% | 1.15× | $920.00 |
| 20% | 16.7% | 1.20× | $960.00 |
| 25% | 20.0% | 1.25× | $1,000.00 |
| 30% | 23.1% | 1.30× | $1,040.00 |
| 33.3% | 25.0% | 1.33× | $1,066.67 |
| 40% | 28.6% | 1.40× | $1,120.00 |
| 50% | 33.3% | 1.50× | $1,200.00 |
| 75% | 42.9% | 1.75× | $1,400.00 |
| 100% | 50.0% | 2.00× | $1,600.00 |
Pricing parts vs pricing a whole job
Count every job cost first. Include materials, fixings, delivery, equipment hire, permits, waste disposal and wages for the hours on site. Profit on a job still has to pay for running costs like your van, fuel, insurance, licences and quiet weeks. To work out what your own hours need to earn, use the freelance and day rate calculator.
Keep tax out of the margin maths. Work out your price before adding US sales tax, Canadian GST/HST, UK VAT or Australian GST. Tax you collect for the tax office passes straight through and is never part of what you keep. If you are registered for GST, HST or VAT and claim back tax on purchases, enter your supplier cost before tax.
Agree parts markup before you buy. On a fixed-price quote, build your markup into the price of the parts or the job line. If you bill time and materials and add a set percentage to supplier bills, state that percentage in your estimate first and keep the receipts.
Turn your price into a quote or invoice
Send the finished numbers cleanly with the quote and estimate generator or the free invoice generator. Both run in your browser with no sign-up and support USD, CAD, GBP, AUD and 41 other currencies. To list labour, materials and equipment on separate lines, start from the contractor invoice template or browse all trade templates.
Out on site? Rivit Invoices for iPhone and Android sends quotes and invoices from your phone as a link, shows when the customer opens them, turns an accepted quote into an invoice in one tap, and lets your customer pay by card straight to your bank.
See also
Frequently asked questions
What is the difference between markup and margin?
Markup is profit divided by your cost, showing how much you add on top of what you spent. Margin is profit divided by your selling price, showing what share of the price you keep. On an $800 cost sold for $1,000, the $200 profit is a 25% markup and a 20% margin.
How do I calculate selling price from cost and markup?
Divide your markup percentage by 100, add 1, and multiply by your cost: price = cost x (1 + markup). For example, $600 of materials with a 35% markup is $600 x 1.35, which gives a selling price of $810.
How do I price a job to hit a target margin?
Divide your target margin percentage by 100 and divide your cost by (1 - margin). You can also find the matching markup first with markup = margin / (1 - margin). To keep 30% of the price on a $1,400 job cost, divide $1,400 by 0.70 to get $2,000, which is a 42.9% markup.
How do I find my markup and margin from a set selling price?
Subtract your cost from the selling price to get your profit. Divide profit by your cost to get markup, and divide profit by the selling price to get margin. Type both your cost and the selling price into the calculator above to see both numbers at once.
Why can't margin be 100% or higher?
Margin is profit divided by selling price. Whenever your cost is above zero, part of the selling price pays back that cost, so profit is always smaller than the price itself. Doubling your cost is a 100% markup, which gives a 50% margin.
Do I calculate markup before or after sales tax, GST or VAT?
Calculate markup and margin before adding sales tax, GST, HST or VAT to your customer's bill. Tax collected for the tax office passes straight through and is not part of your profit. If you claim back GST, HST or VAT on purchases, enter your supplier cost before tax. Otherwise enter the full amount you paid.