Profit Margin Calculator

Calculate your gross profit, profit margin percentage, and markup percentage based on cost and revenue. Never confuse markup with margin again.

What is Profit Margin? (Intuition & Commercial Profitability)

Profit margin is the primary financial ratio used by entrepreneurs, corporate CFOs, and Wall Street investors to gauge the operational profitability and pricing power of a business. It measures what percentage of gross sales revenue is retained as net earnings after accounting for expenses.

Financial accounting recognizes three distinct tiers of profit margins:
• Gross Profit Margin: Measures revenue remaining after deducting direct Cost of Goods Sold (COGS: raw materials and direct factory assembly labor).
• Operating Profit Margin (EBIT Margin): Measures profitability after deducting ongoing operating overhead (SG&A: marketing, office rent, research, and executive salaries).
• Net Profit Margin: The bottom line: percentage of revenue remaining after ALL expenses, including interest payments, corporate taxes, and one-time write-offs, are deducted.

CalcSolver's Profit Margin & Markup Calculator converts between gross margins, markup multipliers, wholesale costs, and retail selling prices in real time.

Governing Formulas: Margin vs. Markup

A notorious confusion in commerce is mixing up Margin and Markup:

Gross Profit ($): Gross Profit = Revenue - Cost of Goods Sold (COGS)
Gross Profit Margin (%): Margin = (Gross Profit / Revenue) × 100% = [(P - C) / P] × 100%
Markup (%): Markup = (Gross Profit / Cost) × 100% = [(P - C) / C] × 100%
Price from Desired Margin: Selling Price = Cost / (1 - Margin / 100)
Price from Desired Markup: Selling Price = Cost × (1 + Markup / 100)
Margin-to-Markup Conversion: Markup = Margin / (1 - Margin)  |  Margin = Markup / (1 + Markup)

How to Calculate Profit Margin & Markup by Hand (Step-by-Step)

  1. Determine Cost of Goods (C) and Selling Price (P): Identify wholesale unit production cost and final retail sticker price.
  2. Calculate Gross Dollar Profit: Subtract cost from price: Gross Profit = P - C.
  3. To Find Profit Margin (%): Divide gross profit by SELLING PRICE and multiply by 100: (Gross Profit / P) × 100%.
  4. To Find Markup (%): Divide gross profit by WHOLESALE COST and multiply by 100: (Gross Profit / C) × 100%.
  5. Notice the Asymmetry: Margin is always lower than markup for the same dollar profit! A 50% markup equals a 33.3% margin. A 100% markup (keystone pricing) equals a 50% margin.

3 In-Depth Worked Examples with Complete Solutions

Example 1: Setting Price from a Target Gross Margin

Problem: A boutique clothing retailer buys designer jeans at wholesale for $40.00 each. The store manager requires a 60% gross profit margin. What retail price must be tagged on the jeans?

Step-by-Step Solution:

  • Cost C = $40.00; Target Margin = 60% = 0.60.
  • Formula: Price = Cost / (1 - Margin).
  • Denominator: 1 - 0.60 = 0.40.
  • Calculate Price: $40.00 / 0.40 = $100.00.
  • Check Gross Profit: $100.00 - $40.00 = $60.00. Margin = 60 / 100 = 60%. (Correct!).

Retail Price: $100.00 (Dollar Profit: $60.00)

Example 2: Demonstrating the Fatal Margin vs. Markup Error

Problem: An inexperienced store owner wants a 40% margin on a $50 wholesale item. He mistakenly calculates Price = $50 × 1.40 = $70. What is his actual realized margin?

Step-by-Step Solution:

  • Wholesale cost = $50; Selling price = $70.
  • Dollar profit: $70 - $50 = $20.
  • Calculated Margin = Dollar Profit / Price = $20 / $70 = 0.2857 = 28.57%.
  • He ended up with a 28.57% margin instead of the targeted 40%, losing 11.43% of potential profit due to confusing markup with margin!
  • Correct price for 40% margin: $50 / (1 - 0.40) = $50 / 0.60 = $83.33.

True Realized Margin: 28.57% (Shortfall of 11.43%).

Example 3: Real-World Corporate P&L Analysis

Scenario: An e-commerce electronics brand reports quarterly revenue of $2,000,000. COGS is $1,100,000; SG&A operating expenses are $500,000; and corporate taxes and interest total $80,000. Calculate Gross, Operating, and Net Profit Margins.

Step-by-Step Solution:

  • Gross Profit = $2,000,000 - $1,100,000 = $900,000 ⇒ Gross Margin = $900k / $2.0M = 45.0%.
  • Operating Profit (EBIT) = $900,000 - $500,000 = $400,000 ⇒ Operating Margin = $400k / $2.0M = 20.0%.
  • Net Profit = $400,000 - $80,000 = $320,000 ⇒ Net Margin = $320k / $2.0M = 16.0%.

P&L Margins: Gross: 45.0%, Operating: 20.0%, Net: 16.0%.

Common Profit Margin Mistakes to Avoid

  • Confusing Margin with Markup: Adding 30% to wholesale cost does NOT give a 30% margin! Margin is percentage of revenue; Markup is percentage of cost. Always use Cost / (1 - Margin) when setting target prices!
  • Neglecting Hidden COGS: Omitting packaging boxes, merchant processing fees (2.9% + 30¢), or inbound freight tariffs when calculating COGS results in phantom profit margins.
  • Margin Cannot Exceed 100%: Because cost cannot be less than zero in physical goods, gross profit margin can NEVER exceed 100%. Markup, however, can be 200%, 500%, or 1,000%+.
  • Comparing Margins Across Different Industries: Software companies frequently enjoy 80%+ gross margins, while grocery supermarkets operate successfully on razor-thin 2% net margins due to rapid inventory turnover.

Real-World & Industry Applications

Profit margins dictate corporate strategic decisions: quarterly SEC 10-K investor reports, Amazon FBA third-party seller pricing algorithms, wholesale distribution contracts, and retail Keystone pricing strategies.

Frequently Asked Questions About Profit Margin & CalcSolver

What is the difference between Margin and Markup?
Margin is gross profit divided by Selling Price (percentage of sales dollars retained). Markup is gross profit divided by Wholesale Cost (percentage added on top of cost). Markup is always mathematically higher than margin for the same dollar profit.
What is Keystone pricing?
Keystone pricing is a retail pricing rule of thumb where merchandise is priced at exactly double the wholesale cost (a 100% markup), resulting in an exact 50% gross profit margin.
How does CalcSolver convert between Margin and Markup?
CalcSolver automatically recalculates both Margin and Markup simultaneously as you adjust price or cost, preventing pricing shortfalls.
Is CalcSolver's Profit Margin Calculator free?
Yes, CalcSolver is completely free forever with no registration, no advertisements, and instant browser processing.