Profit Margin vs. Markup: Formulas, Examples, and a Pricing Worksheet
business calculatorspricingprofit marginmarkupsmall businessfinancial planning

Profit Margin vs. Markup: Formulas, Examples, and a Pricing Worksheet

CChatJot Editorial Team
2026-11-28
6 min read

Learn the difference between profit margin and markup, use the right pricing formulas, and apply a practical worksheet to products and services.

Profit margin and markup both describe the difference between what something costs and what you charge, but they use different reference points. This guide explains the formulas, shows how to calculate a selling price, and provides a repeatable worksheet for products, services, and future pricing reviews.

Overview

The simplest way to distinguish them is this: markup is measured against cost, while profit margin is measured against selling price. Because their denominators differ, the same percentage does not produce the same price.

Suppose an item costs $60 and sells for $90. The profit is $30.

  • Markup: $30 ÷ $60 = 50%
  • Profit margin: $30 ÷ $90 = 33.33%

Neither calculation is wrong. They answer different questions. Markup helps you add a planned increase to a known cost. Margin helps you check how much of the final selling price remains after the relevant cost is removed.

MeasureFormulaUseful for
ProfitSelling price − costFinding the dollar amount left before other expenses
MarkupProfit ÷ costBuilding a price from a cost base
Profit marginProfit ÷ selling priceEvaluating profitability as a share of revenue

A discount calculator can help you test how a promotion affects the resulting margin. For invoices and tax-inclusive prices, keep tax separate from your profit calculation unless your business treats the tax amount as revenue, which is generally not the assumption used in this worksheet.

How to estimate

Calculate margin from a known selling price

Use this profit margin formula:

Profit margin (%) = (Selling price − cost) ÷ selling price × 100

For example, if the selling price is $240 and the relevant cost is $150:

  • Profit = $240 − $150 = $90
  • Margin = $90 ÷ $240 × 100 = 37.5%

This is the calculation to use when reviewing an existing price list, quote, or completed sale.

Calculate markup from a known cost and price

Use this markup formula:

Markup (%) = (Selling price − cost) ÷ cost × 100

With a cost of $150 and a selling price of $240:

  • Profit = $90
  • Markup = $90 ÷ $150 × 100 = 60%

A 60% markup produces a 37.5% margin in this example. This is why entering a desired margin into a markup calculator, or entering a desired markup into a profit margin calculator, without checking the formula can lead to an unintended price.

Calculate a selling price from a target markup

If you want to apply a markup to cost, use:

Selling price = cost × (1 + markup rate)

For a $150 cost and a 40% markup:

$150 × 1.40 = $210

The resulting profit is $60, and the resulting margin is $60 ÷ $210, or approximately 28.57%.

Calculate a selling price from a target margin

If your goal is a specific margin, use:

Selling price = cost ÷ (1 − target margin rate)

For a $150 cost and a 40% target margin:

$150 ÷ 0.60 = $250

The profit is $100, which is 40% of the $250 selling price. This formula is usually the safer starting point when a business has a margin requirement to maintain across products or service packages.

Inputs and assumptions

A calculator is only as useful as the inputs behind it. Before calculating, define exactly what “cost” includes and whether the result is intended for a single transaction, a product line, or the whole business.

Cost inputs

For a physical product, cost may include the supplier price, inbound shipping, packaging, payment fees, and other costs that vary with each sale. If you include only the supplier invoice, label the result as a product-level estimate rather than a complete profitability calculation.

For a service, direct cost may include delivery time, contractor payments, software used specifically for the engagement, and transaction fees. If you pay yourself by the hour, decide whether your own labor is treated as a cost or as the profit recipient. For a more useful quote, include labor as a delivery cost and then set a price that leaves room for overhead and profit.

Overhead and scope

Rent, administration, general software, sales time, support, and unpaid project management may not belong in the direct cost of one item, but they still affect the price your business needs. You can either allocate a reasonable share of overhead to each offer or use the margin calculation as an initial estimate and validate it against total monthly expenses.

Also record the unit of measure: per item, per hour, per project, per user, or per billing period. A freelancer operations toolkit can be useful when converting an hourly rate into a project quote while accounting for scope and non-billable work.

Tax, discounts, and rounding

Calculate margin using the price before sales tax or VAT when the tax is collected on behalf of a tax authority. If you quote a tax-inclusive price, first separate the tax component; the method depends on the applicable rate and whether the displayed price includes tax. See the VAT calculator guide for the distinction between adding and removing VAT.

Test discounts after setting the list price. A discount reduces the selling price but may leave most costs unchanged, so the margin can fall faster than expected. Round only at the final pricing step, not during intermediate calculations.

Worked examples

Product pricing

A retailer buys an item for $32 and incurs $3 in packaging and transaction-related costs. The working cost is therefore $35. The retailer wants a 35% profit margin.

Selling price = $35 ÷ (1 − 0.35) = $53.85

At $53.85, the estimated profit is $18.85 and the margin is approximately 35%. The markup is approximately 53.86% because the profit is being compared with the $35 cost base.

If the retailer instead applied a 35% markup, the price would be $35 × 1.35, or $47.25. That price produces a margin of approximately 25.93%, not 35%.

Service pricing

A developer estimates that a fixed-scope implementation will require 18 delivery hours at an internal labor cost of $45 per hour. The direct labor cost is $810. Add $90 for project-specific tools and the working cost becomes $900.

To target a 30% margin:

Selling price = $900 ÷ (1 − 0.30) = $1,285.71

The quote should also reflect scope risk. If meetings, revisions, testing, or support are not included in the 18-hour estimate, the cost base is understated. Document assumptions in the quote and define what happens when the client requests work outside the agreed scope. For repeatable delivery, an SOP template can help identify overlooked steps before they become recurring cost.

Using the result with a break-even check

Margin on one sale does not prove that the business is profitable overall. Fixed costs still need to be covered. Use a break-even calculator or worksheet to compare fixed expenses with the contribution generated by each sale. If the offer has variable costs that change with volume, distinguish those costs from fixed overhead before interpreting the result.

When to recalculate

Revisit your pricing whenever a material input changes, rather than treating the original calculation as permanent. Recalculate when supplier costs, labor assumptions, payment fees, delivery time, software costs, or tax treatment change. Also review prices when you introduce a new package, alter the scope, change a billing unit, or offer a discount.

A practical review process is:

  1. Copy the current cost and price into a worksheet.
  2. Separate direct costs, allocated overhead, taxes, and optional discounts.
  3. Calculate both the resulting margin and markup.
  4. Run a low, expected, and high-cost scenario.
  5. Record the assumptions, date, and person responsible for the decision.
  6. Update the price, scope, or internal cost target based on the result.

For team decisions, connect pricing reviews to planning and operating routines. A weekly team planning template can help surface capacity constraints, while a meeting cost guide can reveal whether recurring internal work is consuming time that your pricing model does not account for.

The key habit is to name the denominator every time: markup uses cost, and margin uses selling price. Keep that distinction visible in your pricing worksheet, recalculate when inputs move, and validate the result against cash needs, overhead, scope, and the actual work required to deliver the offer.

Related Topics

#business calculators#pricing#profit margin#markup#small business#financial planning
C

ChatJot Editorial Team

Editorial Team

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.