Profit Margin vs. Markup Calculator: Formulas, Examples, and Pricing Checks
pricingprofit marginsmarkupbusiness calculatorssmall business finance

Profit Margin vs. Markup Calculator: Formulas, Examples, and Pricing Checks

BBookmark.page Editorial Team
2026-12-01
6 min read

Learn the difference between markup and profit margin, with formulas, examples, conversions, discount checks, and a repeatable pricing worksheet.

A markup calculator and a profit margin calculator answer related but different pricing questions. This guide explains the formulas, shows how to convert between markup and margin, and provides repeatable checks for products, services, discounts, taxes, payment fees, fulfillment, and overhead.

Overview

Markup and profit margin are both expressed as percentages, but they use different reference points.

  • Markup measures profit compared with cost.
  • Profit margin measures profit compared with selling price or revenue.

The distinction matters because the same price can produce a large markup percentage and a smaller margin percentage. If an item costs $40 and sells for $60, the profit is $20. The markup is $20 divided by $40, or 50%. The profit margin is $20 divided by $60, or 33.33%.

Use markup when you are building a price from a known cost. Use margin when you are evaluating how much of your revenue remains after direct costs. A small business pricing calculator should ideally show both, because each reveals a different part of the decision.

The core formulas

Profit = Selling price − Cost

Markup = Profit ÷ Cost × 100

Profit margin = Profit ÷ Selling price × 100

For a target margin, calculate the selling price this way:

Selling price = Cost ÷ (1 − Target margin)

Write the margin as a decimal in the formula. For example, a 40% target margin is 0.40, so a $60 cost requires a price of $100: $60 ÷ (1 − 0.40) = $100.

How to estimate

Start with a clearly defined unit. A unit could be one physical product, one digital download, one client project, one subscription period, or one billable package. Then estimate the cost attached to that unit before choosing a price.

  1. List direct costs. Include materials, supplier charges, contractor time directly required for delivery, packaging, shipping paid by you, transaction fees, and other costs that rise when you sell one more unit.
  2. Allocate relevant overhead. Consider software, workspace, insurance, equipment, bookkeeping, and other operating costs. You can divide a reasonable period total by expected units or projects, but record the method so you can repeat it.
  3. Choose the pricing basis. If you know your cost and want to build upward, use a markup. If you have a required share of revenue left after costs, use a target margin.
  4. Test the actual selling price. Recalculate profit, markup, and margin using the final price, not the draft price.
  5. Run a discount check. A discount reduces revenue while many costs remain unchanged. Test the discounted price separately rather than assuming the original margin still applies.

Converting markup to margin

To convert a markup percentage into its equivalent margin:

Margin = Markup ÷ (1 + Markup)

For a 50% markup, use 0.50 ÷ 1.50 = 0.3333, or 33.33% margin.

To convert margin to markup:

Markup = Margin ÷ (1 − Margin)

For a 40% margin, use 0.40 ÷ 0.60 = 0.6667, or approximately 66.67% markup. This is why adding 40% to cost does not create a 40% margin.

A quick conversion table

MarkupEquivalent margin
25%20%
50%33.33%
75%42.86%
100%50%

These conversions assume that the only cost being considered is the stated cost base. If payment fees, returns, taxes, discounts, or overhead are omitted, the resulting figure is only a partial view.

Inputs and assumptions

A reliable profit margin calculator depends more on consistent inputs than on complicated mathematics. Use the following worksheet for each offer:

  • Base cost: supplier, materials, or direct production cost.
  • Delivery cost: packaging, fulfillment, shipping, hosting, or project-specific tools.
  • Labor: delivery time multiplied by a chosen internal hourly rate.
  • Overhead allocation: the portion of recurring business costs assigned to this unit or project.
  • Payment processing: a fixed fee, percentage fee, or both, if applicable to the transaction.
  • Expected selling price: the amount the customer pays before or after any discount, depending on the check.
  • Tax treatment: whether displayed tax is collected separately or included in the advertised price.
  • Target margin: the minimum margin you want after the selected costs.

Keep customer-collected sales tax or VAT separate from revenue when it is passed through to a tax authority. If tax is included in the listed price, remove the tax portion before evaluating the business revenue. The exact treatment can depend on your location and accounting method, so use the approach that matches your records.

Payment fees deserve special care. If a fee is a percentage of the selling price, it is part of the price-based cost. For a simple estimate, subtract the fee from revenue before calculating margin. If there is also a fixed transaction fee, include it in the cost for each transaction. For a high-confidence decision, test the complete fee structure rather than using a rounded assumption.

Worked examples

Example 1: Physical product

Suppose a product has a $40 supplier cost, $5 packaging and fulfillment cost, and $5 allocated overhead. The total cost is $50. At a selling price of $80, profit is $30.

  • Markup = $30 ÷ $50 = 60%
  • Profit margin = $30 ÷ $80 = 37.5%

If the target is a 40% margin, the required price is $50 ÷ (1 − 0.40) = $83.33. A price of $80 therefore falls short of that target before any additional percentage-based payment fee.

Example 2: Freelance project

A creator estimates 8 delivery hours at an internal cost rate of $30 per hour, plus $60 for project-specific tools and administration. Total project cost is $300. At a fixed price of $500, profit is $200.

  • Markup = $200 ÷ $300 = 66.67%
  • Profit margin = $200 ÷ $500 = 40%

This calculation is useful even when the client sees only a fixed project price. For a broader approach to hourly, fixed-price, and profit targets, see the freelance project rate calculator guide.

Example 3: Discount protection

Using the product from Example 1, suppose the regular price is $80 and the planned discount is 15%. The discounted price is $68. With total cost still at $50, profit becomes $18 and margin becomes $18 ÷ $68, or approximately 26.47%.

The discount has not created a loss, but it has materially changed the margin. Check discounts against the lowest acceptable margin, and include any extra fulfillment or support cost caused by a promotion.

A printable pricing-check worksheet

Copy these lines into a spreadsheet or notes document:

  1. Base cost: ______
  2. Delivery and fulfillment: ______
  3. Direct labor: ______
  4. Allocated overhead: ______
  5. Fixed transaction costs: ______
  6. Total cost: ______
  7. Regular selling price: ______
  8. Discounted selling price, if applicable: ______
  9. Profit at each price: price − total cost
  10. Margin at each price: profit ÷ price
  11. Markup at each price: profit ÷ total cost
  12. Target margin: ______
  13. Lowest acceptable price: total cost ÷ (1 − target margin)

When to recalculate

Revisit your pricing margin formula whenever an input changes, not only when you are preparing an annual review. Recalculate when a supplier changes a cost, fulfillment becomes more expensive, a payment provider changes its fee structure, or a project consistently takes longer than estimated.

Also run the check before launching a new product, changing a service package, offering a promotion, accepting a wholesale arrangement, or adding a new sales channel. For creators and small teams, recurring software and operating costs can also affect the overhead allocation. A quarterly stack review, such as the software stack audit template, can help identify costs that should be included or removed from the model.

Keep a dated copy of your assumptions. When the result changes, identify whether the cause was cost, price, volume, discounting, or overhead. Then make one decision: raise the price, reduce a cost, change the offer, adjust the target, or accept the lower margin intentionally. The calculator is most useful when it turns that decision into a visible, repeatable check rather than a one-time percentage.

Related Topics

#pricing#profit margins#markup#business calculators#small business finance
B

Bookmark.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.