Skip to main content

Profit Margin Calculator

Compute Profit Margin by entering original price, cost, and discount rate. Instantly see final price, savings amount, margin percentage, and profit

Share this calculator

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.

Background & Theory

The Profit Margin Calculator applies the following established principles and formulas. Break-even analysis identifies the sales volume at which total revenue equals total costs, producing neither profit nor loss. The formula divides total fixed costs by the contribution margin per unit, where contribution margin equals selling price minus variable cost per unit. If a software product has $50,000 in monthly fixed costs and each licence generates $20 above its variable cost, break-even requires 2,500 unit sales per month. Above that threshold, each additional unit contributes directly to profit. Gross margin expresses the percentage of revenue remaining after direct cost of goods sold: gross margin equals revenue minus COGS, divided by revenue. A SaaS company with 80 percent gross margins retains $0.80 of every revenue dollar to cover operating expenses, while a manufacturer with 30 percent gross margins faces much tighter operating leverage. Customer acquisition cost (CAC) divides total sales and marketing expenditure in a period by the number of new customers acquired in that same period. Customer lifetime value (LTV) estimates the total profit attributable to a customer relationship. The standard formula multiplies average revenue per user (ARPU) by gross margin and divides by the monthly churn rate. A business with $50 ARPU, 75 percent gross margin, and 2 percent monthly churn has an LTV of $1,875. The LTV:CAC ratio benchmarks unit economics health; a ratio above 3:1 is generally considered sustainable, while ratios below 1:1 indicate the business is acquiring customers at a loss. Burn rate measures monthly cash expenditure net of revenue. Cash runway equals current cash reserves divided by net monthly burn. A company with $1.2 million in the bank burning $100,000 per month has twelve months of runway. The Rule of 40 is a benchmark for SaaS health: the sum of annual revenue growth rate (as a percentage) and profit margin (as a percentage) should equal or exceed 40. High-growth companies burning cash can still pass this rule if their growth rate compensates.

History

The history behind the Profit Margin Calculator traces back through the following developments. Early economic thought centred on mercantilism, the 16th and 17th century doctrine that national wealth derived from accumulating precious metals through export surpluses and colonial extraction. Adam Smith's "Wealth of Nations" in 1776 dismantled this framework, arguing that genuine prosperity arose from specialisation, division of labour, and freely operating markets. David Ricardo extended Smith's work with the theory of comparative advantage in 1817, demonstrating mathematically that mutually beneficial trade was possible even when one country was less productive in every industry. Alfred Marshall's "Principles of Economics" published in 1890 provided the modern framework of supply and demand curves, consumer surplus, price elasticity, and marginal analysis, establishing neoclassical economics as the dominant academic paradigm for decades. The Great Depression exposed the limits of laissez-faire assumptions, and John Maynard Keynes's "General Theory of Employment, Interest and Money" in 1936 argued that private-sector aggregate demand failures required countercyclical government fiscal intervention to restore full employment, shifting the policy consensus toward active macroeconomic management. The post-World War II decades constructed mixed-economy models combining market allocation with expanded welfare states and Keynesian demand management. Milton Friedman and the Chicago School challenged this consensus from the 1960s onward, championing monetarism and arguing that stable money supply growth was superior to discretionary fiscal policy. Their influence shaped the deregulatory and privatisation policies of the Reagan and Thatcher eras in the 1980s. Behavioural economics emerged through the work of Daniel Kahneman and Amos Tversky in the 1970s and Richard Thaler in the 1980s, using psychology to demonstrate that real human decision-making deviates systematically from rational-actor models through heuristics and biases. The rise of the internet and mobile platforms in the 2000s and 2010s created a new category of platform economics, where network effects, near-zero marginal cost of digital goods, and two-sided market dynamics generated winner-take-most competitive outcomes requiring new analytical frameworks for business valuation.

References