Profit Margin vs. Markup Calculator: How to Price Products and Services Correctly
pricingsmall businessfreelancerscalculatorsprofitability

Profit Margin vs. Markup Calculator: How to Price Products and Services Correctly

mmymail.page Editorial Team
2026-11-06
7 min read

Learn the difference between profit margin and markup, with formulas and examples for products, discounts, services, and agency pricing.

Profit margin and markup are related, but they answer different pricing questions. This guide explains the formulas, shows how to use a profit margin calculator and markup calculator, and provides a reusable worksheet for products, services, discounts, and agency-style project pricing.

Overview

The difference between profit margin and markup is the denominator used in the calculation. Profit margin measures profit as a percentage of the selling price. Markup measures profit as a percentage of cost.

Both measures use the same basic profit amount:

Profit = Selling price − Total cost

However, the percentages are calculated differently:

  • Profit margin = Profit ÷ Selling price × 100
  • Markup = Profit ÷ Cost × 100

For example, if an item costs $60 and sells for $100, the profit is $40. The profit margin is 40% because $40 is 40% of the $100 selling price. The markup is 66.67% because $40 is 66.67% of the $60 cost.

MeasureFormulaAnswers this questionCommon use
ProfitSelling price − costHow much remains before other expenses?Offer and job-level review
Profit marginProfit ÷ selling priceWhat share of revenue is profit?Financial targets and reporting
MarkupProfit ÷ costHow much has cost been increased?Setting prices from known costs

A pricing calculator should identify which measure it is returning. Confusing a target margin with an equivalent markup is a frequent source of underpricing.

How to estimate

Starting with cost and a target markup

If you know your total cost and want to apply a markup, use:

Selling price = Cost × (1 + Markup rate)

If total cost is $60 and the target markup is 50%, the price is $60 × 1.50, or $90. The profit is $30. The resulting margin is $30 ÷ $90, or 33.33%.

Starting with cost and a target margin

If you want a specific profit margin, use:

Selling price = Cost ÷ (1 − Target margin)

With a cost of $60 and a target margin of 40%, the price is $60 ÷ 0.60, or $100. The profit is $40, which equals 40% of the selling price.

This conversion is useful when a business sets financial goals in terms of margin but quotes prices from a cost sheet. To convert markup to margin, use:

Margin = Markup ÷ (1 + Markup)

To convert margin to markup, use:

Markup = Margin ÷ (1 − Margin)

Enter percentages as decimals in the formulas: 40% becomes 0.40 and 50% becomes 0.50. A spreadsheet or small business calculator can reduce errors, but the inputs still need to be defined consistently.

For project work, you may also need to convert an hourly rate into a project price. The hourly rate to project price guide can be used alongside this calculation when labor hours are a major cost.

Inputs and assumptions

A useful profit margin calculator begins with a complete cost figure, not just the purchase price or wage paid for visible production time. Decide what the calculation is intended to measure, then use matching inputs.

Product costs

  • Purchase or manufacturing cost
  • Packaging, labels, and fulfillment
  • Payment processing or marketplace fees
  • Expected discounts, returns, or damaged inventory
  • Allocated shipping or handling costs, if included in the offer

Service costs

  • Expected delivery hours multiplied by a realistic internal hourly cost
  • Research, administration, revisions, and project management time
  • Software, subcontractor, travel, or transaction costs
  • A reasonable allocation for overhead such as equipment, insurance, and office operations

For a service, “cost” is not necessarily the amount the client is charged per hour. It is the delivery cost used to determine whether the price supports the business. If you are a freelancer, avoid counting only billable production time while ignoring proposal work, meetings, revisions, and follow-up.

Tax assumptions

Calculate margin and markup on a consistent tax basis. If a sales tax or VAT is collected and remitted rather than retained as revenue, it is usually clearer to compare cost and selling price before that tax. If your accounting treatment differs, document the choice in the worksheet. Do not treat a VAT calculator result as profit.

Discount assumptions

Use the price actually received after discounts when calculating realized margin. A list price may look profitable while a recurring promotion, coupon, or negotiated reduction lowers the amount collected. Keep both list-price and net-price scenarios when discounts are common.

Worked examples

1. Product pricing

A product has a total unit cost of $60. The business wants a 40% profit margin.

  1. Target margin: 0.40
  2. Price: $60 ÷ (1 − 0.40) = $100
  3. Profit: $100 − $60 = $40
  4. Margin: $40 ÷ $100 = 40%
  5. Markup: $40 ÷ $60 = 66.67%

If the business instead applied a 40% markup, the price would be $84, not $100. The profit would be $24, and the margin would be 28.57%. The target label matters.

2. A discounted product offer

Suppose the same product has a list price of $100 but is sold with a 15% discount. The customer pays $85. With a $60 cost, profit is $25 and realized margin is $25 ÷ $85, or 29.41%. The realized markup is $25 ÷ $60, or 41.67%.

This example shows why discounts belong in the pricing worksheet. If the target is a 40% margin after discount, the list price must be set high enough that the discounted price still meets the target. First calculate the required net price, then reverse the discount:

Required list price = Required net price ÷ (1 − discount rate)

With a required net price of $100 and a 15% discount, the list price would be $100 ÷ 0.85, or approximately $117.65.

3. Service pricing

A consultant estimates 18 hours of delivery at an internal cost of $35 per hour, plus $90 for software and administration. Total cost is:

(18 × $35) + $90 = $720

For a 30% target margin, the project price is $720 ÷ 0.70, or approximately $1,028.57. If the quote is rounded to $1,030, the estimated profit is $310 and the margin is approximately 30.10%.

Before sending the quote, test a second scenario with additional revision time. If three extra hours increase cost by $105, the original price no longer produces the same margin. This is where an hourly-to-project worksheet and a pricing calculator work together.

4. Agency or retainer-style pricing

Assume a monthly client package includes 25 delivery hours at an internal cost of $40 per hour, $150 in direct tools, and $250 in allocated account management and overhead. Total monthly cost is $1,400.

For a 35% target margin:

Price = $1,400 ÷ 0.65 = approximately $2,153.85

If the package is quoted at $2,000, estimated profit is $600 and margin is 30%. That may be acceptable, but it should be a deliberate decision rather than the result of applying a 30% markup by mistake. Also check capacity: a package that requires more meetings, revisions, or urgent work than estimated may have a lower actual margin.

Reusable pricing worksheet

  1. Offer or product name: __________
  2. Cost of goods or internal labor: __________
  3. Delivery, payment, software, and overhead allocation: __________
  4. Expected returns, revisions, or contingency cost: __________
  5. Total cost: add the lines above
  6. Target markup or target margin: __________
  7. Required net selling price: use the correct formula
  8. Discount rate, if applicable: __________
  9. List price before discount: required net price ÷ (1 − discount rate)
  10. Estimated profit: net selling price − total cost
  11. Estimated margin: profit ÷ net selling price
  12. Estimated markup: profit ÷ total cost

When to recalculate

Revisit your pricing whenever the underlying inputs change, not only at the end of the financial year. Recalculate after supplier, software, payment processing, payroll, shipping, or subcontractor costs change. For services, update the estimate when delivery time, revision limits, meeting load, or project scope changes.

Review discount scenarios before launching a promotion, changing a price tier, or accepting a negotiated contract. A VAT or sales-tax assumption may also need review when selling into a different location or changing how prices are displayed. Because tax treatment can depend on jurisdiction and business structure, confirm the applicable treatment with a qualified adviser.

Keep a dated version of the worksheet with the cost assumptions used for each quote. At the next review, compare estimated hours and costs with actual results. If projects regularly take longer than planned, update the cost model rather than simply adding a larger markup without understanding the cause.

For a practical workflow, calculate three cases before approving a price: the expected case, a discounted case, and a higher-cost case. Confirm that the net price, margin, and markup match the decision you intend to make. Then record the assumptions beside the quote so the result can be checked when prices or delivery conditions change.

Related Topics

#pricing#small business#freelancers#calculators#profitability
m

mymail.page Editorial Team

Business Tools Editor

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.