Margin Calculator
Use this margin calculator to find profit margin, markup, profit, selling price, or maximum cost from revenue, cost, and target margin.
Revenue Breakdown
How revenue splits between cost and profit
Calculation Breakdown
How the result is derived from your inputs
Formula
Margin (%) = ((Revenue − Cost) / Revenue) × 100
With Your Values
(($50,000 − $30,000) / $50,000) × 100 = 40.00%
Margin vs Markup Reference
Quick conversion between margin and markup percentages
| Margin % | Markup % | Multiplier |
|---|---|---|
| 10% | 11.11% | 1.11× |
| 15% | 17.65% | 1.18× |
| 20% | 25.00% | 1.25× |
| 25% | 33.33% | 1.33× |
| 30% | 42.86% | 1.43× |
| 33.33% | 50.00% | 1.50× |
| 40% | 66.67% | 1.67× |
| 50% | 100.00% | 2.00× |
| 60% | 150.00% | 2.50× |
| 70% | 233.33% | 3.33× |
| 75% | 300.00% | 4.00× |
| 80% | 400.00% | 5.00× |
How to Use This Margin Calculator
Three calculation modes to solve any margin problem
Choose your calculation mode
Select Find Margin to calculate margin from revenue and cost, Find Selling Price to determine the price you need for a target margin, or Find Max Cost to see the most you can spend at a given margin.
Enter your values
In margin mode, enter your revenue (selling price) and cost. In selling-price mode, enter your cost and target margin percentage. In max-cost mode, enter your revenue and target margin percentage.
Review your results
The calculator instantly shows your margin percentage, markup percentage, profit amount, cost ratio, and revenue multiplier. A revenue breakdown donut chart visualizes how revenue splits between cost and profit.
Check the formula breakdown
The Calculation Breakdown card shows the exact formula with your numbers substituted in, so you can verify the math step by step.
Compare with related concepts
Use the Margin vs Markup Reference table to see how margin and markup convert, and check industry benchmarks to see how your margin stacks up.
What is Profit Margin?
Understanding margin calculation and why it matters for your business
Profit margin is a profitability metric that measures the percentage of revenue retained as profit after deducting costs. It tells you how many cents of profit a business earns for every dollar of revenue.
Key Insight
A 40% margin means you keep $0.40 of every $1.00 earned — the other $0.60 covers your costs.
Unlike markup (which is calculated relative to cost), margin is calculated relative to the selling price (revenue). This distinction is critical for pricing decisions, financial reporting, and comparing profitability across businesses of different sizes.
How to Calculate Margin
Step-by-step formulas for margin, markup, and reverse calculations
Profit Margin Formula
Markup Formula
Selling Price from Target Margin
Maximum Cost from Target Margin
Example Calculation
A product costs $60 to make and sells for $100. Profit = $100 - $60 = $40. Margin = ($40 / $100) × 100 = 40%. Markup = ($40 / $60) × 100 = 66.67%. To find the selling price for a 40% margin: $60 / (1 - 0.40) = $100.
Margin vs Markup: Key Differences
Two metrics that measure the same profit but from different perspectives
| Aspect | Margin | Markup |
|---|---|---|
| Base | Revenue (selling price) | Cost |
| Formula | Profit / Revenue | Profit / Cost |
| Range | <0% (loss) to 100% | <0% (loss) to ∞ |
| 50% means | Cost = half of revenue | Profit = half of cost |
| Used by | Financial analysts, investors | Retailers, wholesalers |
A common mistake is confusing margin and markup. A 50% markup does not equal a 50% margin. A 50% markup on a $60 cost gives a $90 selling price and a 33.33% margin. Always clarify which metric is being discussed when setting prices.
Industry Margin Benchmarks
Typical gross profit margin ranges by industry (approximate, for general reference)
These ranges are general references compiled from public financial data (SEC filings, industry reports, and NYU Stern/Damodaran margin datasets). Your actual margin may differ depending on your specific industry sub-category, business model, geography, and scale. Always compare against benchmarks for your exact sector rather than broad industry categories.
How to Improve Profit Margin
Actionable strategies to increase your profit margin percentage
Raise prices strategically
Test price increases on high-value products. Even a 1% price increase can boost margin significantly with stable demand.
Reduce cost of goods
Negotiate bulk discounts, find alternative suppliers, or switch to more cost-effective materials without sacrificing quality.
Optimize product mix
Promote and upsell higher-margin products. Analyze margin by SKU to identify which products deserve more focus.
Minimize waste and returns
Reduce defect rates, improve packaging, and tighten quality control to cut hidden costs that erode margin.
Leverage economies of scale
Higher volume lowers per-unit cost. Consolidate orders and streamline production to reduce average cost.
Automate and streamline
Invest in automation for repetitive tasks. Lower labor costs per unit directly improve margin without raising prices.
Frequently Asked Questions
Common questions about margin calculation and analysis
Embed Margin Calculator
Add this calculator to your website or blog for free.
You Might Also Like
Explore more calculators
Last updated Jun 16, 2026