Calculate net profit, profit margin, and markup for any product or service
Understanding your profit margins is one of the most critical aspects of running any business successfully. Whether you are a freelancer pricing a project, a retailer setting product prices, or a manufacturer evaluating production costs, knowing exactly how much you earn relative to what you spend makes the difference between a sustainable business and one that bleeds money. Our Profit Calculator gives you instant, accurate results across three powerful calculation modes so you can make confident pricing decisions every time. The most fundamental metric in business profitability is the net profit — the dollar amount left over after all costs have been subtracted from revenue. But net profit alone does not tell the full story. A business earning $10,000 in profit on $1,000,000 in revenue is in very different financial health than one earning $10,000 on $50,000 in revenue. That is why profit margin percentage is so important: it tells you what fraction of every dollar of revenue becomes profit. A 20% profit margin means you keep $0.20 from every $1.00 in sales, which is generally considered a healthy benchmark across most industries. Profit margin and markup are two closely related but distinct metrics that business owners often confuse. Profit margin is calculated relative to revenue: it divides net profit by selling price. Markup, on the other hand, is calculated relative to cost: it divides net profit by the cost of goods. A 25% markup on a $100 product yields a selling price of $125 and a profit of $25 — but the profit margin is 20% (25/125), not 25%. Understanding this distinction prevents costly pricing errors and helps you communicate accurately with partners, investors, and accountants. Our calculator offers three modes to cover every business scenario. The Simple mode is the fastest path to results: just enter your cost and selling price, and you instantly see net profit, profit margin, and markup. The Markup mode works in reverse — you know your cost and your desired markup percentage, and the calculator determines the selling price you need to charge. This is ideal for retailers and manufacturers who build pricing from a cost-plus model. The Advanced mode breaks total cost into three components — Labor, Materials, and Overhead — matching how service businesses, freelancers, and project-based companies actually track their expenses. For businesses selling in volume, the optional Quantity field unlocks a per-unit to total volume analysis. Enter how many units you plan to sell, and the calculator instantly scales your per-unit profit to show total revenue, total cost, and total profit across your full volume. This is invaluable for production planning, sales target setting, and investor presentations. The calculator also includes a Margin Health indicator that benchmarks your profit margin against industry standards. Margins below 5% are considered poor and unsustainable for most businesses. Margins between 5% and 10% are fair but leave little buffer for unexpected expenses. Margins between 10% and 20% are good, while margins above 20% are excellent and indicate strong pricing power or tight cost control. These benchmarks give you instant context so you know not just what your margin is, but whether it is acceptable for your business model.
Understanding Profit, Margin, and Markup
What Is Profit Margin?
Profit margin is the percentage of revenue that remains as profit after all costs are deducted. It is calculated as: Profit Margin % = (Revenue − Cost) / Revenue × 100. For example, if you sell a product for $100 and it costs you $70 to produce, your profit is $30 and your profit margin is 30%. Profit margin measures efficiency from the revenue side — it tells you how many cents of each sales dollar become profit. Gross profit margin uses only the direct cost of goods sold, while net profit margin includes all operating expenses, taxes, and interest. Most business benchmarking uses gross margin for product businesses and net margin for overall company health.
How Are Profit and Markup Calculated?
Net Profit = Revenue − Total Cost. Profit Margin % = (Net Profit / Revenue) × 100. Markup % = (Net Profit / Cost) × 100. To find selling price from a desired markup: Selling Price = Cost × (1 + Markup% / 100). To find selling price from a desired margin: Selling Price = Cost / (1 − Margin% / 100). The key difference between margin and markup is the denominator: margin divides by revenue, markup divides by cost. This means the same dollar profit will always show a higher markup percentage than margin percentage. A 50% markup, for example, produces only a 33.3% profit margin — a distinction that matters greatly when comparing pricing strategies or communicating with financial partners.
Why Do Profit Margins Matter?
Profit margins directly determine business viability, growth capacity, and investment attractiveness. A business with thin margins has very little room to absorb rising costs, competitive price pressure, or unexpected expenses. Higher margins provide financial resilience and the ability to reinvest in growth, marketing, and hiring. Industry benchmarks vary widely: software businesses often achieve 70–80% gross margins, while grocery retailers might operate on 2–3% net margins. Knowing your margin helps you compare performance against industry peers, set realistic pricing, evaluate product line profitability, and make informed decisions about where to cut costs or where to invest for higher returns.
Limitations and Considerations
This calculator computes gross profit margin based on the costs you input. It does not automatically account for taxes, depreciation, interest payments, or non-operating expenses unless you include them in the cost figure. For a true net profit margin, be sure to include all expenses — including overhead, salaries, rent, and marketing — in your total cost. Currency is not fixed to any specific denomination; all inputs and outputs use the same currency unit. Industry-specific considerations such as returns, discounts, and seasonal cost fluctuations are not modeled. For complex multi-product businesses, calculate margin per product line separately rather than blending all costs together, which can mask unprofitable segments.
Profit & Margin Formulas
Net Profit
Profit = Revenue − Total Cost
The most fundamental profitability metric — the dollar amount remaining after all costs are subtracted from the selling price or total revenue.
Profit Margin %
Margin % = (Profit ÷ Revenue) × 100
Expresses profit as a percentage of revenue. A 20% margin means you keep $0.20 from every dollar of sales. Used for benchmarking against industry peers.
Markup %
Markup % = (Profit ÷ Cost) × 100
Expresses profit as a percentage of cost. The same dollar profit always yields a higher markup than margin. A 25% markup produces a 20% margin.
Break-Even Point (Units)
Break-Even Units = Fixed Costs ÷ (Selling Price − Variable Cost per Unit)
The number of units you must sell to cover all fixed costs. Below this point you lose money; above it, every additional unit contributes to profit.
Profit Margin Reference Tables
Average Profit Margins by Industry
Typical gross and net profit margins across major industry sectors. Use these benchmarks to evaluate whether your margin is competitive.
| Industry | Gross Margin | Net Margin | Notes |
|---|---|---|---|
| Software / SaaS | 70–85% | 20–35% | High margins due to low marginal cost per unit |
| Financial Services | 60–70% | 15–25% | Varies widely by sub-sector |
| Healthcare / Pharma | 60–80% | 10–20% | R&D costs reduce net margin significantly |
| Professional Services | 50–70% | 10–20% | Labor-intensive; margins depend on utilization |
| Manufacturing | 25–40% | 5–10% | Capital-intensive with high overhead |
| Retail (General) | 25–35% | 3–5% | High volume, thin margins |
| Restaurants / Food Service | 55–65% | 3–9% | High food cost; labor is the largest expense |
| Construction | 15–25% | 2–7% | Project-based with variable material costs |
| Grocery / Supermarket | 25–30% | 1–3% | Extremely thin net margins, high volume |
Margin vs. Markup Comparison Chart
Shows the equivalent markup for any given profit margin, and vice versa. These are often confused — use this table to convert between them.
| Profit Margin | Equivalent Markup | Example (on $100 cost) |
|---|---|---|
| 10% | 11.1% | Sell for $111.11 → $11.11 profit |
| 15% | 17.6% | Sell for $117.65 → $17.65 profit |
| 20% | 25.0% | Sell for $125.00 → $25.00 profit |
| 25% | 33.3% | Sell for $133.33 → $33.33 profit |
| 30% | 42.9% | Sell for $142.86 → $42.86 profit |
| 33.3% | 50.0% | Sell for $150.00 → $50.00 profit |
| 40% | 66.7% | Sell for $166.67 → $66.67 profit |
| 50% | 100.0% | Sell for $200.00 → $100.00 profit |
Worked Examples
Calculate Margin and Markup on a Product Costing $45 Sold for $75
A retailer purchases a product for $45 and sells it for $75. Calculate the net profit, profit margin, and markup percentage.
Net Profit = $75 − $45 = $30
Profit Margin = ($30 ÷ $75) × 100 = 40.0%
Markup = ($30 ÷ $45) × 100 = 66.7%
The product earns $30 profit per unit with a 40% profit margin and a 66.7% markup. This is an excellent margin by most industry standards.
Break-Even Analysis for a Small Business
A bakery has fixed monthly costs of $8,000 (rent, utilities, salaries). Each cake sells for $35 with a variable cost of $12 per cake.
Contribution margin per unit = $35 − $12 = $23
Break-even units = $8,000 ÷ $23 = 347.8 → round up to 348 cakes
Break-even revenue = 348 × $35 = $12,180
The bakery must sell at least 348 cakes per month ($12,180 in revenue) to cover all fixed costs. Every cake sold beyond 348 contributes $23 directly to profit.
How to Use the Profit Calculator
Choose a Calculation Mode
Select Simple mode if you know both cost and selling price. Choose Markup mode to calculate the selling price from a desired markup percentage. Use Advanced mode to break your total cost into labor, materials, and overhead — ideal for service businesses and freelancers.
Enter Your Cost and Pricing Inputs
In Simple or Advanced mode, enter your total cost and the selling price or revenue. In Markup mode, enter your cost and the markup percentage you want to apply. The calculator will instantly compute net profit, profit margin, and markup percentage as you type.
Review Profit Margin and Margin Health
Check your Profit Margin % and the color-coded Margin Health indicator. Margins below 5% are Poor, 5–10% are Fair, 10–20% are Good, and above 20% are Excellent. Use the industry benchmark panel at the bottom of results to see where your margin stands relative to typical business performance.
Add Quantity for Volume Analysis
Optionally enter the number of units you plan to sell to see total revenue, total cost, and total profit across your full production or sales volume. Then use the Export CSV button to save your results for reporting, or Print Results for a clean summary.
Frequently Asked Questions
What is the difference between profit margin and markup?
Profit margin and markup both measure profitability but use different denominators. Profit margin divides net profit by revenue (selling price), while markup divides net profit by cost. If a product costs $80 and sells for $100, the profit is $20. The profit margin is 20% ($20/$100), but the markup is 25% ($20/$80). This distinction matters because the same dollar profit always results in a higher markup percentage than profit margin percentage. Confusing them can lead to underpricing — many businesses set a 50% markup thinking they have a 50% margin, when their actual margin is only 33.3%.
What is considered a good profit margin?
A good profit margin depends heavily on your industry. As a general benchmark, margins below 5% are considered poor and leave little room for unexpected costs or downturns. Margins between 5% and 10% are fair but thin. Margins between 10% and 20% are good for most product and service businesses. Margins above 20% are excellent and indicate strong pricing power or low cost structure. Software and digital products often achieve 60–80% gross margins, while retail and food service businesses typically operate on 3–15%. Always compare your margin to industry peers rather than a universal number for the most accurate assessment.
How do I calculate selling price from a desired margin?
To calculate the required selling price from a desired profit margin percentage, use the formula: Selling Price = Cost / (1 − Margin% / 100). For example, if your product costs $60 and you want a 25% profit margin, the required selling price is $60 / (1 − 0.25) = $60 / 0.75 = $80. This is the reverse margin calculation, and it ensures your pricing hits your margin target exactly. In our calculator, use Markup mode and enter cost plus the equivalent markup percentage, or simply try different selling prices in Simple mode until the margin reaches your goal.
What is the difference between gross profit and net profit?
Gross profit is the revenue minus the direct cost of goods sold (COGS) — the raw cost to produce or acquire what you are selling. Net profit is the revenue minus all expenses, including COGS, operating expenses, salaries, rent, marketing, taxes, and interest. Our calculator computes gross profit unless you manually include all expenses in the cost field. For a true net profit margin, include all your operating costs in the total cost input. Gross margin is useful for evaluating individual products or services, while net margin reflects the overall financial health of the entire business.
How does the Advanced mode cost breakdown work?
The Advanced mode lets you split your total cost into three components: Labor (wages and contractor fees directly tied to production or delivery), Materials (raw materials, supplies, or goods purchased for resale), and Overhead (indirect costs like rent, utilities, insurance, and administrative expenses). The calculator sums all three components to compute total cost, then calculates net profit, profit margin, and markup against the selling price you enter. The results show a bar chart breakdown of how each component contributes to your total cost, helping you identify where your largest cost drivers are so you can target cost reduction efforts effectively.
How does the volume analysis feature work?
The optional Quantity field lets you scale your per-unit calculation to a full production or sales volume. Enter the number of units you plan to sell, and the calculator multiplies your per-unit revenue, cost, and profit to show total figures. This is useful for budgeting, production planning, sales target setting, and investor presentations. For example, if each unit earns $30 profit and you sell 500 units, total profit is $15,000. The volume analysis section appears automatically below the main results when you enter a quantity greater than zero. You can export these results to CSV for use in spreadsheets or business plans.
Related Tools
Sales Tax Calculator
Calculate sales tax for any purchase to factor into your pricing and margin analysis.
Discount Calculator
See how discounts affect your sale price and remaining profit margin.
Percentage Calculator
Compute any percentage, percentage change, or percentage of a total.
Sales Commission Calculator
Calculate sales commissions to include in your total cost of sale.
Budget Calculator
Plan your business budget and allocate revenue across expense categories.