Profit Margin Calculator
Compute Profit Margin by entering original price, cost, and discount rate. Instantly see final price, savings amount, margin percentage, and profit
Formula
Margin = (Revenue - Cost) / Revenue × 100
Margin divides profit by revenue (selling price). Markup divides profit by cost. Same profit amount yields different percentages because the base differs. Margin is always lower than equivalent markup.
Worked Examples
Example 1: Understanding Margin vs Markup
Problem: Product costs $50. Calculate the difference between 40% markup and 40% margin.
Solution: Starting Cost: $50\n\n40% MARKUP Calculation:\nPrice = Cost × (1 + Markup%)\nPrice = $50 × 1.40 = $70\nProfit = $70 - $50 = $20\nMargin = $20 ÷ $70 = 28.6%\n\n40% MARGIN Calculation:\nPrice = Cost ÷ (1 - Margin%)\nPrice = $50 ÷ 0.60 = $83.33\nProfit = $83.33 - $50 = $33.33\nMarkup = $33.33 ÷ $50 = 66.7%\n\nDifference:\n40% markup gives $70 price (28.6% margin)\n40% margin requires $83.33 price (66.7% markup)\nPrice difference: $13.33 (19% higher!)
Result: 40% markup = 28.6% margin | 40% margin = 66.7% markup
Example 2: Pricing for Target Net Margin
Problem: Business has $10,000 fixed monthly costs. Want 20% net margin on $50,000 revenue. What's the max allowable product cost?
Solution: Target Revenue: $50,000\nTarget Net Margin: 20%\n\nRequired Net Profit = $50,000 × 20% = $10,000\nFixed Costs: $10,000\n\nTotal Gross Profit Needed:\nGross Profit = Net Profit + Fixed Costs\nGross Profit = $10,000 + $10,000 = $20,000\n\nMax Cost of Goods Sold:\nCOGS = Revenue - Gross Profit\nCOGS = $50,000 - $20,000 = $30,000\n\nImplied Gross Margin: 40%\nMax product cost: 60% of revenue\n\nFor $100 selling price: Max cost = $60\nFor $50 selling price: Max cost = $30
Result: Max COGS: $30,000 (60% of revenue) to achieve 20% net margin
Example 3: Multi-Product Margin Analysis
Problem: Store sells 3 products. Find which to focus on for profitability.
Solution: Product Analysis:\n\nProduct A:\nPrice: $20, Cost: $12, Volume: 1,000/mo\nMargin: ($20-$12)÷$20 = 40%\nTotal Profit: $8 × 1,000 = $8,000\n\nProduct B:\nPrice: $50, Cost: $35, Volume: 400/mo\nMargin: ($50-$35)÷$50 = 30%\nTotal Profit: $15 × 400 = $6,000\n\nProduct C:\nPrice: $100, Cost: $60, Volume: 100/mo\nMargin: ($100-$60)÷$100 = 40%\nTotal Profit: $40 × 100 = $4,000\n\nTotal Monthly Profit: $18,000\n\nInsight: Product A has highest total profit\ndespite lower unit profit. Product C has\nhighest unit margin but lowest contribution.\n\nStrategy: Grow Product A volume,\nimprove Product B margin, evaluate Product C.
Result: A: $8K profit | B: $6K | C: $4K | Focus on A volume
Frequently Asked Questions
What is the difference between profit margin and markup?
Both measure profitability but use different bases. Margin = Profit ÷ Revenue × 100 (profit as % of selling price). Markup = Profit ÷ Cost × 100 (profit as % of cost). Example: Buy for $60, sell for $100. Profit = $40. Margin = 40/100 = 40%. Markup = 40/60 = 66.7%. Key difference: margin never exceeds 100%, markup can be any value. A 100% markup = 50% margin.
What is a good profit margin for my industry?
Margins vary widely by industry. Grocery/Supermarkets: 1-3%, Retail (general): 5-10%, Restaurants: 3-9%, Manufacturing: 5-10%, Software/SaaS: 70-90%, Consulting/Services: 15-30%, Real Estate: 10-20%, Finance/Insurance: 5-15%, Technology Hardware: 20-40%, Pharmaceuticals: 15-25%. Compare to industry benchmarks, not other industries. Low margin industries succeed with high volume.
How do I calculate selling price to achieve a target margin?
Formula: Selling Price = Cost ÷ (1 - Target Margin). For 30% margin on $100 cost: Price = $100 ÷ (1 - 0.30) = $100 ÷ 0.70 = $142.86. Verification: Profit = $42.86, Margin = 42.86/142.86 = 30% ✓. For markup-based pricing: Price = Cost × (1 + Markup%). $100 with 50% markup = $150. Different approaches for different pricing strategies.
What is gross margin vs net margin vs operating margin?
Gross Margin: (Revenue - COGS) ÷ Revenue. Measures production/purchasing efficiency. Operating Margin: (Revenue - COGS - Operating Expenses) ÷ Revenue. Measures operational efficiency. Net Margin: (Revenue - All Costs including taxes) ÷ Revenue. Measures overall profitability. Example: $1M revenue, $600K COGS, $200K operating expenses, $50K taxes. Gross: 40%, Operating: 20%, Net: 15%.
How do I convert between margin and markup?
Margin to Markup: Markup = Margin ÷ (1 - Margin). Markup to Margin: Margin = Markup ÷ (1 + Markup). Quick reference: 20% margin = 25% markup, 25% margin = 33% markup, 33% margin = 50% markup, 50% margin = 100% markup, 40% margin = 66.7% markup. Memory trick: Margin is always lower than equivalent markup because it's based on the larger number (revenue).
Why is my actual profit margin lower than expected?
Common margin-eroding factors: 1) Discounts and promotions (reduce effective price), 2) Returns and refunds (reduce net revenue), 3) Hidden costs (shipping, payment processing, breakage), 4) Volume-based customer discounts, 5) Cost increases not passed to customers, 6) Shrinkage and waste, 7) Overhead allocation. Calculate effective margin after all deductions, not just list price margin.