Markup and profit margin both describe the gap between what something costs and what you charge, but they answer different pricing questions. This guide explains the difference, gives you the formulas for a markup vs margin calculator, walks through product and project examples, and provides a repeatable pricing worksheet for checking quotes before you send them.
Overview
Markup is the percentage added to your cost to set a selling price. Profit margin is the percentage of the selling price that remains after the relevant cost is deducted. The two measures use different denominators, so a 30% markup is not the same as a 30% profit margin.
Use markup when your starting point is a known cost and you want to build a price from it. For example, a retailer may know that an item costs $40 and apply a 50% markup. Use margin when you start with a target share of the selling price that should remain as gross profit. For example, a business may need a 40% margin to cover operating expenses and leave room for profit.
The basic formulas are:
- Markup percentage = (Selling price − Cost) ÷ Cost × 100
- Profit margin percentage = (Selling price − Cost) ÷ Selling price × 100
- Selling price from markup = Cost × (1 + Markup as a decimal)
- Selling price from target margin = Cost ÷ (1 − Target margin as a decimal)
For a useful result, decide which costs belong in the calculation before entering numbers. A product calculation might include purchase cost, packaging, and transaction fees. A service calculation might include delivery time, subcontractor costs, software used specifically for the project, and other direct expenses. A simple calculator cannot correct for costs that were left out.
Markup-to-margin reference table
| Markup | Equivalent margin |
|---|---|
| 10% | 9.09% |
| 20% | 16.67% |
| 25% | 20% |
| 30% | 23.08% |
| 40% | 28.57% |
| 50% | 33.33% |
| 75% | 42.86% |
| 100% | 50% |
To convert a target margin to markup, use Markup = Margin ÷ (1 − Margin). To convert markup to margin, use Margin = Markup ÷ (1 + Markup). Enter percentages as decimals in the formulas: 30% becomes 0.30.
How to estimate
1. Define the cost base
Start with the amount you are trying to recover. For a physical product, this may be the landed cost rather than the supplier invoice alone. For a client project, it may be the labor cost plus direct project expenses. If you are pricing an ongoing service, estimate the cost for the same period as the price: monthly costs for a monthly plan, or project costs for a project fee.
2. Choose markup or margin deliberately
If your workflow begins with cost and applies a standard uplift, use a markup calculator. If your business has a target profitability level expressed as a percentage of revenue, use a profit margin calculator. Avoid switching between the two labels in a spreadsheet or quote template without documenting the formula.
3. Calculate the price before tax
Unless your goal is specifically to calculate a tax-inclusive customer price, calculate the commercial price before sales tax, VAT, or similar pass-through amounts. Tax collected from a customer is generally not the same as revenue available to cover costs. After the pre-tax price is set, apply the relevant tax treatment separately and verify it against your local accounting process.
4. Test the result against the market and the workload
A formula gives you a consistent starting price, not an automatic answer. Check whether the price fits the value delivered, the customer’s buying context, capacity constraints, and any contractual requirements. For project work, compare the implied hourly rate with the time available. A project pricing calculator can help translate a fixed fee into an effective rate, but the final decision should also account for risk and scope.
5. Record the assumptions
Save the cost base, target percentage, tax treatment, date, and any exclusions alongside the price. This makes future updates easier and helps explain why two quotes for similar work may differ.
Inputs and assumptions
A practical pricing worksheet for a small business can use these fields:
- Item or service: Identify exactly what the price covers.
- Direct cost: Enter the cost directly connected to one unit, job, or billing period.
- Allocated cost, if used: Add a clearly defined share of support costs only if your method is consistent.
- Target markup or target margin: Label the percentage explicitly.
- Discount allowance: If discounts are common, test the price after the expected reduction rather than only at the list price.
- Tax status: State whether the result is tax-exclusive or tax-inclusive.
- Rounding rule: Record whether you round to cents, whole currency units, or a customer-facing price point.
Be careful with labor. If you are turning an hourly rate into a project price, include realistic billable time rather than every hour available in a week. Administrative work, revisions, meetings, research, and project management may all affect the true cost of delivery. For employee-based work, a payroll cost calculator can help you consider employer costs separately from the employee’s stated pay.
Also distinguish gross margin from net profit. The formulas in this guide use the cost included in your worksheet. If that cost includes only direct delivery costs, the result is closer to a gross margin calculation. It does not automatically show what remains after rent, general software, insurance, financing, owner compensation, or other overhead.
Keep currency consistent and avoid mixing unit quantities. A cost per item must be compared with a selling price per item; a monthly cost must be compared with monthly revenue. If you sell bundles, divide both cost and price by the same number of units before calculating the percentage.
Worked examples
Example 1: Calculate price from markup
A product has a total unit cost of $40. You want a 50% markup.
Selling price = $40 × (1 + 0.50) = $60
The dollar profit is $20. The margin is $20 ÷ $60, or 33.33%. This is why a 50% markup does not produce a 50% margin.
Example 2: Calculate price from target margin
A service package has a direct delivery cost of $600, and you want a 40% margin.
Selling price = $600 ÷ (1 − 0.40) = $1,000
The difference between price and cost is $400. Dividing $400 by the $1,000 selling price gives a 40% margin. The equivalent markup on the $600 cost is 66.67%.
Example 3: Find the markup from an existing quote
You quoted $900 for work with an estimated direct cost of $600.
Markup = ($900 − $600) ÷ $600 = 50%
Margin = ($900 − $600) ÷ $900 = 33.33%
Both answers are correct because they answer different questions. The first describes the uplift on cost; the second describes the share of the selling price left after cost.
Example 4: Account for a discount
Suppose your target price is $1,000, but you expect to offer a 10% discount. The customer would pay $900. If your cost is $600, the realized margin is $300 ÷ $900, or 33.33%, rather than the planned 40%. To preserve a 40% margin after a 10% discount, first calculate the required net price of $1,000, then divide it by 0.90. The list price would need to be about $1,111.11 before tax, subject to your rounding and pricing conventions.
For broader planning, connect the worksheet to a cash flow forecast template. A profitable price on paper does not remove the timing issue created by late payments, deposits, inventory purchases, or uneven monthly sales.
When to recalculate
Revisit the calculation whenever a pricing input changes, not only when you conduct an annual review. Recalculate when supplier costs, wages, contractor rates, payment fees, packaging, delivery costs, software expenses, or project scope changes. For service businesses, review the estimate when the actual hours required repeatedly differ from the original assumption.
Use a fresh calculation before sending a quote for a new type of work, adding a service tier, changing a bundle, or introducing a discount. Recheck prices when tax treatment or invoicing requirements change, and keep tax-inclusive and tax-exclusive figures clearly separated. An invoice template for small business can help carry the final price, terms, taxes, and payment details into the billing stage.
At least periodically, compare estimated and realized results. Record the quoted price, actual direct cost, actual delivery time, discounts, and collected amount. If the realized margin is consistently below the worksheet result, update the cost assumptions rather than simply increasing the target percentage.
Before your next quote, complete this short check:
- Confirm the cost base and unit of measurement.
- Label the percentage as markup or margin.
- Calculate the pre-tax price using the matching formula.
- Test discounts, overruns, and scope risk.
- Check the effective hourly rate for project work.
- Record the assumptions and review date.
Use markup to build from cost, margin to evaluate the selling price, and a saved worksheet to make the decision repeatable. That simple separation prevents one of the most common pricing errors: applying the right percentage to the wrong base.