Profit margin and markup both describe profitability, but they answer different pricing questions. This guide explains the difference, gives the formulas, works through product and service examples, and provides a repeatable pricing worksheet you can use whenever costs, fees, taxes, or target returns change.
Overview
The simplest distinction is this:
- Markup measures profit as a percentage of cost.
- Profit margin measures profit as a percentage of selling price, or revenue.
Both use the same basic profit figure:
Profit = Selling price − Total cost
The difference is the denominator used for the percentage. A business that buys or produces something for $80 and sells it for $120 earns $40 in profit. The markup is $40 divided by $80, or 50%. The profit margin is $40 divided by $120, or 33.33%.
This distinction matters because a team can apply a 50% markup and believe it has achieved a 50% margin when it has not. For quotes, product prices, subscriptions, and service packages, use the measure that matches the decision you are making. Markup is useful when building a price from a known cost. Margin is useful when reviewing revenue performance and setting profitability targets.
A profit margin calculator is most useful when you already know the selling price and want to evaluate the result. A markup calculator is useful when you know the cost and want to add a percentage. If you are pricing against a target margin, use the target-margin formula rather than simply adding the same percentage to cost.
How to estimate
Core formulas
- Profit: Selling price − Total cost
- Profit margin: Profit ÷ Selling price × 100
- Markup: Profit ÷ Total cost × 100
- Price from markup: Total cost × (1 + markup rate)
- Price from target margin: Total cost ÷ (1 − target margin rate)
Use decimal rates in calculations. For example, a 40% target margin is written as 0.40, not 40.
Side-by-side reference
| Question | Measure | Formula |
|---|---|---|
| How much did we earn compared with cost? | Markup | Profit ÷ Cost |
| How much of the selling price remains as profit? | Profit margin | Profit ÷ Selling price |
| What price achieves a chosen margin? | Target-margin price | Cost ÷ (1 − Margin) |
For a quick conversion, you can derive one percentage from the other. If the markup is known, margin equals markup ÷ (1 + markup). If the margin is known, markup equals margin ÷ (1 − margin). These formulas prevent the common mistake of treating the two percentages as interchangeable.
A repeatable pricing worksheet
- List the direct cost of delivering one unit, project, or billing period.
- Add a reasonable allocation for indirect costs that the offer must help support.
- Estimate transaction, platform, fulfillment, support, or payment-related costs.
- Choose whether your pricing decision uses a markup or a target margin.
- Calculate the initial price using the matching formula.
- Check the result against customer expectations, competitor context, discounts, and cash-flow needs.
- Round the price only after the calculation, then recompute the actual margin.
Keep the worksheet in a shared cloud document or spreadsheet so the assumptions are visible to the people preparing quotes and reviewing financial results.
Inputs and assumptions
A calculation is only as useful as its inputs. Start by defining what “cost” means for the decision. For a physical product, cost may include materials, packaging, inbound shipping, fulfillment, and variable support. For a service, it may include delivery hours, preparation, project management, software used specifically for the work, and contractor or specialist costs.
Separate direct costs from overhead. Direct costs change with the specific sale. Overhead supports the broader business and may include administration, general software, insurance, facilities, or internal time. You do not need to assign every overhead expense perfectly to one offer, but a pricing review should acknowledge the costs the revenue needs to cover.
Also record assumptions that can change the result:
- Tax: Decide whether your figures are before or after sales tax, VAT, or another applicable tax. Taxes collected on behalf of a tax authority should not automatically be treated as revenue or profit. Use a separate VAT calculator or tax review when the applicable rules require it.
- Currency: Keep the cost and price in the same currency. If suppliers charge in another currency, include the exchange-rate assumption and a buffer for movement where appropriate.
- Discounts: Calculate margin on the actual expected selling price after discounts, not only on the list price.
- Fees: Include percentage-based fees as a percentage of the selling price. If a fee is 3% of revenue, it cannot be treated exactly like a fixed $3 cost for every order.
- Utilization: For services, paid hours are not always the same as available hours. Include time for sales, administration, support, and rework when estimating an hourly or project cost.
- Returns and bad debt: If relevant to your model, use an explicit assumption rather than allowing these costs to disappear from the calculation.
Do not confuse gross margin with net profit. A price can produce a healthy gross margin while the business remains unprofitable after payroll, overhead, financing, and taxes. Use the calculation as a decision aid, not as a substitute for complete financial reporting.
Worked examples
Product pricing with markup
Assume a product has a total unit cost of $80. You apply a 50% markup:
Price = $80 × (1 + 0.50) = $120
Profit is $120 − $80, or $40. The markup is $40 ÷ $80 = 50%. The margin is $40 ÷ $120 = 33.33%.
If the goal is instead a 40% margin, calculate the price this way:
Price = $80 ÷ (1 − 0.40) = $133.33
At $133.33, profit is $53.33 and the margin is approximately 40%. The implied markup is approximately 66.67%. This is why a target margin usually requires a higher markup percentage.
Service pricing by project
Suppose a technical implementation is expected to take 18 delivery hours at an internal cost of $45 per hour. Direct delivery cost is:
18 × $45 = $810
Add $90 for project-specific software, preparation, and coordination. The estimated total cost is $900. To target a 35% margin:
Price = $900 ÷ (1 − 0.35) = $1,384.62
The resulting profit is $484.62, and the margin is 35%. Before publishing the quote, check whether the estimate includes revisions, meetings, handoff time, and support after delivery. A project that takes more hours than planned will reduce the actual margin even if the original formula was correct.
For recurring services, review the same calculation per billing period. If the offer includes a fixed monthly price, estimate expected usage and recalculate when the scope or workload changes. For broader operational planning, pair pricing reviews with an invoice template workflow so quoted amounts, billed amounts, and received payments can be compared.
When to recalculate
Recalculate whenever a core input changes, not only at year-end. Practical triggers include:
- A supplier, contractor, hosting, payment, or platform cost changes.
- Your delivery time, support burden, or expected utilization changes.
- You introduce a discount, bundle, referral fee, or commission.
- Currency assumptions or tax treatment change.
- You change the scope of a service or add a new feature to a product.
- Actual costs repeatedly differ from the estimates used in quotes.
- You change your target margin, positioning, or minimum acceptable return.
Set a regular review interval as well as event-based reviews. A monthly or quarterly check can reveal gradual cost changes, while a review before every major launch or contract renewal catches larger risks. When updating the worksheet, preserve the previous version and label the new assumptions with a date. This makes it easier to explain why a price changed and to compare planned with actual results.
For your next pricing review, write down one offer, its full cost, and its intended target margin. Calculate the price, test a realistic discount, and recompute the final margin after fees and delivery time. Then document the assumptions beside the result. That small routine turns a one-time pricing guess into a repeatable small business calculator process.