Profit Margin vs Markup: Formulas, Examples, and a Pricing Worksheet
business calculatorspricing strategyprofit marginmarkupsmall business financefreelancersprofitability

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

CChatJot Editorial Team
2026-11-12
6 min read

Learn the difference between profit margin and markup, compare worked examples, and use a practical worksheet to price offers more reliably.

Profit margin and markup both describe the difference between cost and selling price, but they answer different pricing questions. This guide explains the formulas, shows worked retail, freelance, and SaaS examples, and provides a reusable worksheet for checking discounts, overhead, taxes, and target profitability.

Overview

The simplest way to distinguish profit margin vs markup is to identify the denominator:

  • Profit margin measures gross profit as a percentage of the selling price.
  • Markup measures gross profit as a percentage of cost.

Both use gross profit as their starting point:

Gross profit = selling price − direct cost

Then apply the relevant formula:

  • Gross margin (%) = gross profit ÷ selling price × 100
  • Markup (%) = gross profit ÷ direct cost × 100

For example, if an item costs $40 and sells for $60, the gross profit is $20. The markup is 50% because $20 is half of the $40 cost. The profit margin is 33.33% because $20 is one-third of the $60 selling price. The percentages are different because they use different bases.

This distinction matters when using a profit margin calculator or markup calculator. A supplier may quote a required markup, while a business owner may set a target margin. Entering one as the other can produce a price that is materially too low or too high.

How to estimate

Start with a consistent cost figure. For a physical product, this may include the purchase price, packaging, inbound shipping, and other costs that vary directly with each unit. For a service, direct cost may include delivery labor, contractor time, transaction charges, or project-specific software. For SaaS, it can include hosting, payment processing, support labor assigned to delivery, and other costs that scale with customers or usage.

Use the following workflow:

  1. List direct costs. Separate costs that increase with each sale from fixed operating expenses such as rent, general administration, or broad marketing.
  2. Calculate gross profit. Subtract total direct cost from the selling price or expected revenue.
  3. Calculate both percentages. Showing margin and markup together prevents denominator confusion.
  4. Apply discounts. Recalculate using the actual net selling price, not the list price.
  5. Review overhead separately. Gross margin does not automatically show whether the whole business is profitable.
  6. Check taxes and fees. Decide whether the price is tax-inclusive or tax-exclusive, and remove amounts collected on behalf of a tax authority from revenue where appropriate for your accounting treatment.

If you know the desired margin and want to calculate a price, use:

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

Express the target margin as a decimal. With a direct cost of $40 and a target margin of 40%, the calculation is $40 ÷ 0.60, producing a selling price of $66.67 before any applicable tax.

If you know the desired markup instead, use:

Selling price = direct cost × (1 + target markup)

A 40% markup on a $40 cost produces a $56 selling price. That price has a 28.57% margin, not a 40% margin.

For service businesses, a dedicated pricing calculator for services can help convert an hourly target into project or retainer pricing. The important step is to include non-billable time and delivery costs before setting the rate.

Inputs and assumptions

A calculator is only as useful as its inputs. Use this reusable pricing worksheet for each product, service, or plan:

Worksheet fieldWhat to enter
Offer or productA clear name and unit of sale
Direct material or delivery costCosts tied directly to one sale or customer
Direct labor timeHours required and the internal cost per hour
Variable feesPayment, platform, fulfillment, or usage-based fees
Total direct costThe sum of the costs above
List priceThe price before discounts and taxes
DiscountPercentage or fixed amount offered to the buyer
Net selling priceList price minus the discount
Gross profitNet selling price minus total direct cost
Markup and marginCalculate both percentages
Allocated overheadA reasonable share of fixed operating costs
Target profitThe margin or contribution level required by the business

Keep taxes separate from the commercial price calculation unless your pricing decision specifically requires a tax-inclusive customer price. For quotes and invoices, the VAT, discount, and net price calculator guide provides a useful companion workflow.

Also distinguish gross margin from net profit. Gross margin subtracts direct costs. Net profit additionally accounts for overhead, financing, taxes, owner compensation, and other expenses. A high gross margin can still produce a weak overall result if fixed costs are substantial.

Worked examples

The following examples use deliberately simple assumptions. They are illustrations, not market benchmarks. Replace the figures with your own costs, rates, and accounting definitions.

ExampleDirect costSelling priceMarkupGross profitProfit margin
Retail item$40$6050%$2033.33%
Freelance project$800$1,600100%$80050%
SaaS period$3,000$9,000200%$6,00066.67%

Retail

The retail example assumes $40 of direct unit cost and a $60 net selling price. If a 10% discount is applied to the $60 list price, the customer pays $54. Gross profit becomes $14, markup becomes 35%, and margin falls to about 25.93%. This is why discount decisions should be tested against the net price.

Freelance work

The freelance example treats $800 as the total direct delivery cost and $1,600 as project revenue. Before accepting the result, check whether the cost includes planning, revisions, project management, unpaid sales time, and payment fees. If not, the apparent 50% margin may overstate the project’s contribution.

SaaS

The SaaS example calculates a simplified period-level gross margin from $9,000 of revenue and $3,000 of direct service delivery cost. It does not represent net profitability because product development, administration, sales, and other operating expenses are excluded. Use consistent periods and customer cohorts when comparing plans.

For software purchases and workflow decisions, a margin calculation can be paired with a SaaS ROI calculator to compare tool cost, time saved, and payback rather than looking at price alone.

When to recalculate

Revisit the worksheet whenever a pricing input changes. That includes supplier costs, contractor rates, hosting or payment fees, delivery time, exchange rates, discounts, packaging, or the amount of overhead assigned to an offer. Recalculate before launching a new product, renewing a retainer, changing a SaaS plan, or approving a promotion.

Review assumptions on a regular operating cadence as well. A quarterly check is a practical starting point for many businesses, while fast-changing products or usage-based services may need more frequent reviews. Refresh tax assumptions and internal cost rates whenever the relevant rules, registrations, or business processes change; do not rely on an old worksheet simply because the selling price has stayed the same.

Use this five-minute review before publishing a price:

  1. Confirm the direct cost is current and includes all variable delivery costs.
  2. Calculate the expected net price after discount.
  3. Record gross profit, markup, and margin separately.
  4. Check whether allocated overhead and taxes have been treated consistently.
  5. Compare the result with the target and document the assumptions for the next review.

Save a dated copy of the worksheet whenever assumptions change. That creates a simple pricing history and makes it easier to explain why a margin moved. For broader operating decisions, combine these calculations with the small business operations toolkit and review related recurring costs, including meetings and software, rather than treating price as an isolated decision.

Related Topics

#business calculators#pricing strategy#profit margin#markup#small business finance#freelancers#profitability
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.