Tools Finance & Business Profit Margin Calculator

Profit Margin Calculator: Margin and Markup

Finance & Business Active

Check how much profit you keep on each sale. Enter cost and price to see gross margin, profit amount, and the equal markup.

Profit Margin Calculator

📈 Profit Margin Calculator

Rate This Tool

Your feedback helps others discover great tools

–
out of 5
No ratings yet

Tap a star to rate:

About This Tool

If you sell a $32 item that cost you $18.40, what is your margin? Many sellers mix up margin and markup, then price too low. The Profit Margin Calculator takes a cost and a selling price and gives you both numbers.

It shows gross profit margin, the profit in dollars, and the equivalent markup percentage. It is built for one product at a time, which suits shop owners, sellers, and freelancers.

Table of Contents

  • What the Calculator Does
  • How to Use It, Step by Step
  • The Margin and Markup Formulas
  • Worked Example
  • How to Read the Results
  • Margin Versus Markup
  • Limitations and Assumptions
  • FAQs About the Profit Margin Calculator

What the Calculator Does

Enter a cost and a price, then press the button. Three results appear.

  • Gross Profit Margin (%): profit as a share of the selling price.
  • Gross Profit Amount: price minus cost, in dollars.
  • Equivalent Markup Percentage: profit as a share of cost.

The sample figures are calculated when the page loads. The tool does not update as you type.

How to Use It, Step by Step

  1. Enter what the item costs you in Cost of Goods Sold (COGS) ($).
  2. Enter the price you charge in Selling Price / Revenue ($).
  3. Press Calculate Margin. Enter 0 for cost if there is none.
  4. Read the three cards under Profit Analysis.

Use cost per unit and price per unit. You can also use totals for a whole batch, as long as both match.

The Margin and Markup Formulas

Both percentages start from the same profit. They only differ in what they divide by.

Price-Cost=Profit÷Price=Margin %
  • Profit = selling price - cost.
  • Margin % = profit ÷ selling price × 100.
  • Markup % = profit ÷ cost × 100. If cost is 0, the tool shows N/A.

Margin and markup show two decimal places. The profit amount also shows two, with thousands separators.

Worked Example

Keisha sells handmade candles at craft fairs. One candle costs her $18.40 in wax, jar, and wick. She sells it for $32.00.

ResultCalculationOutput
Gross Profit Amount$32.00 - $18.40$13.60
Gross Profit Margin$13.60 ÷ $32.00 × 10042.50%
Equivalent Markup$13.60 ÷ $18.40 × 10073.91%

Keisha earns $13.60 on each candle. That is 42.5% of her price but 73.91% on top of her cost.

How to Read the Results

Gross Profit Margin tells you how much of each sales dollar is left after the product cost. At 42.50%, Keisha keeps $42.50 of every $100 in sales.

Gross Profit Amount is the cash gain on one sale. Multiply it by units sold to estimate gross profit for a month.

Equivalent Markup Percentage is what you added to cost to reach the price. It is always larger than margin when profit is positive.

If the price is below cost, profit, margin, and markup turn negative and red. A $40 cost sold at $30 reads -$10.00, -33.33%, and -25.00%.

Margin Versus Markup

A 50% markup does not give a 50% margin. A $50 item marked up 50% sells for $75, which is a 33.33% margin. To earn a true 50% margin on that item, you would charge $100.

This is why the order of the division matters. The markup calculator starts from the cost side if you think in markup terms.

Margin here covers only the product cost. Overhead, wages, and taxes come later, and the net profit calculator adds them. For totals over a whole period, the gross profit calculator is a close match.

Once you know your margin, test discounts before a sale. The discount calculator shows the new price, and the contribution margin calculator helps with fixed costs. For more tools, see the finance and business calculator hub.

Limitations and Assumptions

  • The selling price must be above 0. A blank, 0, or negative price shows a red message and N/A in all three cards.
  • A blank cost shows a message that asks you to enter 0 if none applies. A cost of 0 typed on purpose is allowed.
  • With a cost of 0, markup shows N/A, because dividing by zero has no answer. Margin is 100.00% in that case.
  • A negative cost or price is rejected with a message. Each field has a limit of 1,000,000,000,000.
  • The label says gross margin, so the cost should be the direct product cost only.
  • The tool handles one item at a time and ignores fees, shipping, and sales tax.

FAQs About the Profit Margin Calculator

What is profit margin?

Profit margin is profit divided by revenue, shown as a percentage. It tells you how many cents you keep from each dollar of sales.

What is the difference between margin and markup?

Margin divides profit by the selling price. Markup divides profit by cost. When profit is positive, markup is always the larger number.

How do I find the price for a target margin?

This tool does not solve for price. You can try prices until the margin card matches your goal. A rough rule is cost ÷ (1 - target margin).

Is this net profit margin or gross profit margin?

It is gross profit margin. Only the cost you enter is subtracted, so overhead and taxes are left out.

Why does the result show a negative margin?

You entered a price lower than your cost. Each sale then loses money, so raise the price or lower the cost.

Why does markup show N/A when my cost is 0?

Markup divides by cost, and dividing by zero has no answer. The tool shows N/A instead. Enter a real cost to get a useful markup.

This calculator gives planning estimates only and is not financial advice. Reviewed for general accuracy by Prof. Dr. Khalil Mudassar, PhD.

Category: Finance & Business

You May Also Like

View All