Markup and profit margin describe related but different parts of a price. This guide explains the formulas, shows how to calculate a selling price from cost, and provides a reusable pricing worksheet for products, services, and small-business quotes.
Overview
The difference between markup and margin is the starting point for more reliable pricing decisions.
- Markup measures how much you add to cost to reach a selling price.
- Profit margin measures how much of the selling price remains as profit before the costs you choose to include below the selling price.
Both use the same basic profit figure, but they divide it by different numbers. That is why a 50% markup does not produce a 50% profit margin. Confusing the two can lead to quotes that look profitable while producing less profit than expected.
Use these formulas for a quick markup vs. margin calculation:
Profit = Selling price − Cost
Markup percentage = Profit ÷ Cost × 100
Profit margin percentage = Profit ÷ Selling price × 100
If you know your cost and target markup, calculate selling price this way:
Selling price = Cost × (1 + Markup rate)
If you know your cost and target margin, use this formula instead:
Selling price = Cost ÷ (1 − Margin rate)
The second formula is especially important when your pricing goal is expressed as a percentage of revenue. A margin rate must be written as a decimal in the calculation: 30% becomes 0.30.
How to estimate
Start with a clearly defined cost base. For a physical product, this might include the purchase or manufacturing cost, packaging, and a per-unit fulfillment cost. For a service, it may include delivery hours, contractor payments, software used specifically for the project, and an allowance for administrative work.
Then choose whether you are working from markup or margin. Use markup when you want to add a straightforward percentage to a known cost. Use margin when you want a defined share of the final selling price to remain after the selected costs.
Markup calculation
Suppose an item costs $40 and you apply a 50% markup:
$40 × (1 + 0.50) = $60 selling price
The profit is $20. The markup is $20 ÷ $40 = 50%, while the margin is $20 ÷ $60 = 33.33%.
Margin-based calculation
Now suppose the same $40 cost requires a 50% margin:
$40 ÷ (1 − 0.50) = $80 selling price
The profit is $40. The margin is $40 ÷ $80 = 50%, while the markup is $40 ÷ $40 = 100%.
For a quick reference, common conversions are:
| Markup | Equivalent margin |
|---|---|
| 10% | 9.09% |
| 25% | 20% |
| 50% | 33.33% |
| 75% | 42.86% |
| 100% | 50% |
| 150% | 60% |
| 200% | 66.67% |
The conversion formula is margin = markup ÷ (1 + markup). To convert a target margin into markup, use markup = margin ÷ (1 − margin).
Inputs and assumptions
A pricing calculator is only as useful as its inputs. Record the following before setting a price:
- Direct cost: The cost that changes directly with each unit, order, or project.
- Labor time: For services, estimate delivery, communication, revisions, preparation, and project administration rather than counting only the visible production time.
- Overhead allocation: Decide whether shared costs such as software, equipment, rent, insurance, or bookkeeping should be assigned to each sale or project.
- Payment and marketplace fees: Include percentage fees and fixed transaction charges when they apply. Check the applicable agreement or fee schedule before quoting.
- Discounts and returns: Calculate from the amount you expect to collect, not only the displayed list price, if discounts, refunds, or credits are routine.
- Taxes: Keep sales tax, VAT, or similar charges separate from revenue when they are collected on behalf of a tax authority. Treatment depends on your location and accounting setup, so use the appropriate local guidance.
- Currency: Use the currency in which the cost and sale will actually be recorded. If a currency conversion is involved, document the rate assumption and any conversion fee.
A practical worksheet can use these columns:
Item or service | Direct cost | Labor cost | Allocated overhead | Fees | Total cost | Target markup or margin | Selling price | Expected profit
For a service, calculate labor cost as hours × internal hourly cost. Your internal hourly cost is not necessarily the same as the client-facing hourly rate. It can include compensation, operating expenses, nonbillable time, and a reserve for business costs. For project pricing, compare the calculated price with the expected scope and risk before sending a quote.
Worked examples
Product pricing with fees
A product has a unit cost of $28, packaging of $2, and an allocated handling cost of $3. The cost before selling fees is therefore $33. If the business wants a 40% markup, the initial selling price is:
$33 × 1.40 = $46.20
Before finalizing the price, test the result against payment processing, marketplace fees, expected discounts, and returns. If those costs are paid from the selling price, add them to the calculator rather than treating the $46.20 as the final profit-producing price.
Freelance project pricing
A freelancer estimates 12 delivery hours at an internal cost of $30 per hour, plus $60 of project-specific software and $40 of administrative overhead. The total cost is:
(12 × $30) + $60 + $40 = $460
With a target margin of 35%, the price before taxes charged separately is:
$460 ÷ (1 − 0.35) = $707.69
Round the quote according to your normal pricing practice, then check whether the scope, revision terms, payment timing, and project risk justify the result. If the client asks for a discount, recalculate the margin at the discounted price instead of reducing the price without checking the effect.
Using an existing selling price
If an item costs $75 and sells for $120, profit is $45. The markup is $45 ÷ $75 = 60%. The margin is $45 ÷ $120 = 37.5%. This backward check is useful when reviewing an existing catalog, quote, or invoice.
When to recalculate
Revisit your markup or margin calculation whenever an underlying input changes. That includes supplier or contractor costs, wages, software subscriptions, shipping, packaging, payment-processing rates, marketplace fees, exchange rates, taxes, discount policies, or the amount of time required to deliver a service.
Recalculate before launching a new product, accepting a large custom project, changing your standard rate, or renewing a contract with different terms. It is also useful to review actual results after several completed orders or projects. Compare the estimated cost with the time and expenses you actually recorded, then adjust the worksheet if the original assumptions were incomplete.
For a practical routine, keep one version of your pricing worksheet with dated assumptions. Mark which inputs are estimates, which are confirmed, and which need an annual or event-based review. When a quote is requested, duplicate the worksheet, update the scope and current costs, and test at least three scenarios: the planned price, a discounted price, and a price that accounts for higher-than-expected effort or fees. This turns a markup calculator or profit margin calculator into a repeatable decision tool rather than a one-time formula.