Popular: Paycheck · Mortgage · Income tax · Retirement · Auto loan

Profit Margin and Markup Calculator

Set a price that meets your target, or check how much gross profit each sale leaves after product cost.

Your numbers

Nothing you enter is sent or stored.

Result

…

Verify before you act: review these results with a CPA or other qualified financial professional before making any decision based on them.

What are profit margin and markup?

Profit margin and markup both describe the gap between what a product costs you and what you sell it for. The difference is the base used for the percentage. This profit margin and markup calculator helps you price from a target or check a price you already charge.

Gross profit per unit is selling price minus cost per unit. Gross margin is that profit divided by selling price. Markup is that profit divided by cost. Because they use different bases, the percentages are not interchangeable. A 50% markup equals a 33.3% margin, as the calculator’s existing example shows. A higher markup percentage than margin percentage can describe the same sale.

Why profit margin and markup matter

A price can cover the product’s direct cost and still leave too little to support your business. Gross profit also has to help pay expenses such as rent, payroll, shipping, payment processing, and marketing. Gross margin gives you a way to see what share of the selling price remains after the cost you entered. It does not show what remains after all business expenses or taxes.

Use the result when you set a quote, review a supplier’s price change, or decide whether a product is worth stocking. It can also help you assess whether sales are contributing enough toward hiring, borrowing, and other business costs. Compare the same products over time and with published data for your industry. Check that each comparison uses the same cost and sales definitions.

How to use this profit margin and markup calculator

  1. Enter the cost per unit. Use a cost that matches the product and the pricing decision you are making. If you include production or packaging costs, apply that approach consistently when comparing products.
  2. Choose what you know or want to find. You can work from a target margin or markup, or enter a selling price or other known value to check the result.
  3. Enter the target percentage or known amount requested by the calculator. For a target margin, the calculator uses price = cost ÷ (1 − margin). For a target markup, it uses price = cost × (1 + markup).
  4. Review selling price, gross profit per unit, margin, and markup together. If the result looks surprising, check the cost and confirm whether you selected margin or markup.

Profit margin and markup calculator example

Worked example

With a cost per unit of $40 and a target margin of 40%, the calculator returns a selling price of $66.67. The result is: Markup 66.7%; margin 40.0%. Cost: $40.00. Selling price: $66.67. Gross profit per unit: $26.67. Gross margin (profit ÷ price): 40.0%. Markup (profit ÷ cost): 66.7%. The price follows cost ÷ (1 − margin), and the profit is the difference between selling price and cost.

How to read your results

Selling price is the amount charged per unit based on the values entered. Gross profit per unit is the amount left after subtracting the entered cost from that price. It is not net profit: other business expenses may still need to be paid.

Gross margin tells you what portion of the selling price is gross profit. Markup tells you how much the profit adds compared with cost. Use margin when you want to understand profit as a share of revenue. Use markup when you want to set a price by adding a percentage to cost. A margin target and a markup target will produce different prices, so make sure you are using the measure your plan or customer requires.

How to improve your margin or markup

  1. 01

    Review supplier and production costs

    Ask suppliers about different order terms, shipping arrangements, or product specifications that could lower your per-unit cost without reducing value for customers. Check labor, packaging, and delivery costs too. Update your cost input when those expenses change.

  2. 02

    Adjust prices with a clear reason

    If costs rise or the current price leaves too little gross profit, consider a price change. Explain the value customers receive, and check how the new price affects sales and customer retention. Avoid treating a target margin as a guarantee of net profit.

  3. 03

    Review the product mix

    Compare the margin and markup for products using consistent cost assumptions. Consider promoting products that contribute more gross profit, or revising a product that repeatedly consumes time and costs without enough return.

  4. 04

    Reduce avoidable selling costs

    Look at returns, rush shipping, discounts, and payment fees. Consider clearer product details, a deposit requirement for custom work, or revised order terms if those changes reduce costs you absorb.

Common profit margin and markup mistakes

  • Confusing margin with markup

    A percentage added to cost is markup, not margin. If a plan calls for a margin target, entering that same percentage as markup will not give you the intended price.

  • Leaving out relevant costs

    A result is only as useful as the cost you enter. If you omit costs that belong in your product cost, gross profit may look higher than it is. Decide which direct costs to include and use the same method when comparing items.

  • Calling gross profit net profit

    Gross profit per unit does not subtract every expense of running the business. Do not use it alone to decide whether you can afford a hire, loan payment, or owner draw.

  • Treating the target as a final price

    The calculator gives you a price based on the inputs, not a judgment about customer demand or your full cost structure. Check competitor offerings, customer response, and business expenses before changing a live price.

The margin and markup formula

Margin is profit divided by price. Markup is profit divided by cost. Price for a target margin = cost ÷ (1 − margin); price for a target markup = cost × (1 + markup).

Key terms

Cost per unit
The cost assigned to making or acquiring one unit of the product, based on the expenses you choose to include.
Gross profit per unit
Selling price minus cost per unit. It does not subtract all business expenses.
Gross margin
Gross profit divided by selling price.
Markup
Gross profit divided by cost per unit.

Margin and markup questions

What's the difference between margin and markup?

Margin compares profit with the selling price; markup compares it with cost. A 50% markup equals a 33.3% margin.

What does gross profit per unit mean?

It is the selling price minus the cost per unit entered in the calculator. It shows the amount remaining before other business expenses, such as rent or payroll.

Does gross margin include overhead or taxes?

No. In this calculator, gross margin is gross profit divided by selling price. It does not subtract overhead, income taxes, or other expenses that are not included in the unit cost.

Should I price using margin or markup?

Use the measure that matches your pricing plan or the request you need to meet. Margin expresses profit as a share of selling price; markup expresses profit as a share of cost. Confirm your cost assumptions before acting on either result.

What should I do if my cost changes?

Enter the updated cost and calculate the price needed for your chosen target. Then consider whether customers will accept the revised price and whether other costs have changed too.

Before you act on this result. Cordwell calculators and guides are educational estimates, not legal, tax, investment, lending or other professional advice. They rely on the numbers you enter and on simplified rules, and they can't see your full situation. Before you file, sign, borrow, invest, hire, change your withholding or form a business based on anything here, meet with a CPA or other qualified financial professional who can review your specific facts and confirm the numbers. Rules change, and official agency guidance always controls.

How we write and check these pages.

Related calculators