Margin Calculator
Determine gross, operating, and net profit margins from revenue and cost figures to evaluate business profitability
Formula
Margin = (Revenue - Cost) / Revenue
Margin expresses profit as percentage of selling price. Markup expresses profit as percentage of cost. Same transaction, different reference points.
Worked Examples
Example 1: Calculate Margin and Markup
Problem:Product costs $60, sells for $100. Find margin and markup.
Solution:Profit = $100 - $60 = $40 Margin = Profit ÷ Revenue Margin = $40 ÷ $100 = 40% Markup = Profit ÷ Cost Markup = $40 ÷ $60 = 66.7% Note: Same transaction, different percentages. Margin (40%) < Markup (66.7%) always.
Result:40% margin, 66.7% markup
Example 2: Price from Target Margin
Problem:Cost is $75. Need 35% profit margin. What's the selling price?
Solution:Formula: Price = Cost ÷ (1 - Margin) Price = $75 ÷ (1 - 0.35) Price = $75 ÷ 0.65 Price = $115.38 Verify: Profit = $115.38 - $75 = $40.38 Margin = $40.38 ÷ $115.38 = 35% ✓ Common mistake: $75 × 1.35 = $101.25 (this is 35% markup, not margin!)
Result:$115.38 selling price
Example 3: Discount Impact on Margin
Problem:Product sells for $200 with 40% margin. What's the margin after 15% discount?
Solution:Original: Cost = $200 × (1 - 0.40) = $120 Profit = $80, Margin = 40% After 15% discount: New price = $200 × 0.85 = $170 Cost still = $120 New profit = $170 - $120 = $50 New margin = $50 ÷ $170 = 29.4% The 15% discount cut margin from 40% to 29.4% - a 27% reduction in margin percentage!
Result:Margin drops from 40% to 29.4%
Frequently Asked Questions
What's the difference between margin and markup?
Margin = Profit ÷ Revenue (selling price). Markup = Profit ÷ Cost. If you buy for $50 and sell for $100: Margin = 50%, Markup = 100%. Margin is always lower than markup for the same transaction. Don't confuse them when pricing!
How do I calculate selling price from desired margin?
Selling Price = Cost ÷ (1 - Margin%). For 40% margin on $60 cost: $60 ÷ (1 - 0.40) = $60 ÷ 0.60 = $100. This ensures your profit divided by selling price equals desired margin.
What is a good profit margin?
Varies dramatically by industry. Grocery retail: 1-3%. Clothing retail: 4-13%. Restaurants: 3-9%. Software/SaaS: 70-90%. Manufacturing: 5-10%. Professional services: 15-40%. Compare to industry benchmarks, not across industries.
What's the difference between gross and net margin?
Gross margin = (Revenue - Cost of Goods Sold) ÷ Revenue. Net margin = (Revenue - ALL expenses) ÷ Revenue. A business with 60% gross margin might have 10% net margin after salaries, rent, marketing, etc.
Why is margin used instead of markup?
Margin relates profit to selling price (what customers pay). Easier to compare across products and calculate discounts. Markup relates to cost (internal). Both valid - just be consistent and clear which you're using.
How does volume affect margin decisions?
Higher volume can justify lower margins. A 5% margin on $1M revenue = $50K profit. Same 5% on $10M = $500K. Walmart succeeds with tiny margins and massive volume. Luxury brands use high margins, low volume.
What is contribution margin?
Revenue minus variable costs only (not fixed costs). Used for break-even analysis. If contribution margin is $30 per unit and fixed costs are $30,000, you need 1,000 units to break even.
How do discounts affect margin?
Discounts devastate margins. A 20% discount on a 40% margin product doesn't leave 20% margin - it leaves 25%! Calculate: Original margin 40% means cost is 60% of price. After 20% discount, cost becomes 75% of new price = 25% margin.
How do I improve profit margins?
Increase revenue: raise prices, upsell, bundle products. Decrease costs: negotiate with suppliers, reduce waste, automate processes. Shift mix: sell more high-margin products. Small margin improvements multiply across all sales.
What is the difference between markup and margin?
Markup is the percentage added to cost to get the selling price: Markup = (Price - Cost) / Cost. Margin is the percentage of the selling price that is profit: Margin = (Price - Cost) / Price. A 50% markup on a 10 dollar item sets the price at 15 dollars, but the margin is 33.3%. Margin is always lower than markup for the same product.