Free profit margin calculator 2026. Calculate net, gross, and operating margin with full formula, worked examples for retail, SaaS, and services, and industry benchmarks. No signup.
Choose your calculation mode: "Cost & Selling Price" if you know the individual item cost and its selling price, or "Cost & Revenue" if you know total costs and total revenue for a batch or period.
Enter the cost of your product or service. In cost/selling mode, this is the cost to produce or acquire one unit. In cost/revenue mode, this is your total cost of goods sold (COGS) or total expenses.
Enter either the selling price per unit or your total revenue amount, depending on the mode you selected.
Click "Calculate" to instantly see your profit in dollars, profit margin as a percentage, and markup percentage. The visual health indicator will show whether your margin is low (under 10%), moderate (10-20%), or healthy (above 20%).
Review the worked examples below to see how the same formula applies across retail, SaaS, and services businesses — the math is identical, only the inputs change.
Bookmark this page or use the Share button above to save your calculation as a shareable URL — your inputs are encoded in the link so you can revisit the exact scenario later.
Profit margin measures how much of each dollar of revenue translates into profit. The formula divides profit (selling price minus cost) by the selling price, then multiplies by 100 to express it as a percentage. Markup, by contrast, divides profit by cost: Markup (%) = ((Selling Price − Cost) / Cost) × 100. While a 50% markup on a $100 cost yields a $50 profit and $150 selling price, the margin on that sale is 33.33% ($50 / $150). The two metrics are mathematically related but not interchangeable — confusing them is one of the most common pricing mistakes small businesses make.
A retailer buys a product for $60 wholesale and sells it for $100. Profit = $100 − $60 = $40. Profit margin = $40 / $100 × 100 = 40%. Markup = $40 / $60 × 100 = 66.67%. This 40% margin is healthy for retail — specialty stores typically operate at 40-50% margins, while grocery stores run on 20-30%.
A SaaS company charges $100/month per customer. Direct costs (server hosting, payment processing, support time) average $25 per customer per month. Profit = $100 − $25 = $75. Profit margin = $75 / $100 × 100 = 75%. This is typical for SaaS — software companies routinely achieve 70-85% gross margins because the cost to serve each additional customer is very low.
A consultant bills a client $300 for a project that cost $200 in subcontractor labor and materials. Profit = $300 − $200 = $100. Profit margin = $100 / $300 × 100 = 33.33%. Markup = $100 / $200 × 100 = 50%. Service businesses typically target 30-50% margins.
A store sells three products: Product A (cost $10, price $20, margin 50%), Product B (cost $30, price $45, margin 33.3%), and Product C (cost $50, price $75, margin 33.3%). If equal units of each are sold, total revenue = $140, total cost = $90, total profit = $50, blended margin = $50 / $140 × 100 = 35.7%.
A product currently sells for $100 with a $60 cost (40% margin). If the retailer raises the price by 5% to $105 with no cost change, new profit = $105 − $60 = $45, new margin = $45 / $105 × 100 = 42.86%. A 5% price increase grew the margin by 2.86 percentage points. If volume stays constant, profit jumps 12.5% ($40 to $45).
Find answers to the most common questions about profit margin & markup calculator.
Margin and markup are both profitability metrics, but they are calculated differently. Margin is the percentage of the selling price that is profit, calculated as (Profit / Selling Price) × 100. Markup is the percentage added to the cost to get the selling price, calculated as (Profit / Cost) × 100. For example, if a product costs $60 and sells for $100, the margin is 40% but the markup is 66.67%.
A good profit margin varies significantly by industry. Generally, a net profit margin of 10% is considered average, 20% is good, and 5% or below is low. Software companies and SaaS businesses often achieve margins of 60-80%, while grocery stores typically operate on thin margins of 1-3%. Retail businesses generally aim for margins between 20-50%.
There are two primary ways to improve profit margins: increase revenue per unit or decrease costs. You can raise prices if your product offers unique value, negotiate better deals with suppliers, reduce waste in production, improve operational efficiency, or focus on higher-margin products in your lineup. The highest-leverage move is often a small price increase: a 5% price hike with constant costs and volume flows entirely to the bottom line.
Gross margin considers only the direct costs of producing goods or services (cost of goods sold), while net margin accounts for all business expenses including operating costs, taxes, interest, and depreciation. Gross margin shows the profitability of your core product or service before overhead, while net margin reveals the overall profitability of the entire business.
Profit margins vary widely across industries and sub-sectors. Software and SaaS businesses typically see 60-80% gross margins, retail stores range from 20-50%, restaurants operate on tight 3-15% margins, grocery chains survive on 1-3%, manufacturing falls between 10-20%, and consulting firms average 30-50%. The NYU Stern dataset (updated annually by Professor Aswath Damodaran) is a free public source of industry-average margins by sector.
You should calculate profit margins at least monthly for ongoing financial monitoring and early detection of trends. Calculate per-product or per-service margins when making pricing decisions or evaluating your product mix, and review overall business margins quarterly for a big-picture health check.
Declining profit margins can result from rising material or labor costs that outpace price increases, increased competition forcing price cuts, growing overhead expenses such as rent and utilities, offering too many discounts or promotions, or a shift in your product mix toward lower-margin items.
Both metrics have their place: use margin to understand and communicate profitability (what percentage of your selling price is actual profit) and use markup to set prices from cost (what percentage to add on top of your cost). Many businesses use markup for day-to-day pricing decisions but track margin for financial reporting and investor presentations.
Keystone pricing is a retail markup convention where the selling price is set at double the cost — i.e., 100% markup, which equals a 50% gross margin. It originated in 19th-century retail as a simple rule of thumb and is still widely used in jewelry, gifts, and specialty retail.
Break-even volume = Fixed Costs / (Selling Price − Variable Cost per unit). The denominator (Selling Price − Variable Cost) is called the contribution margin per unit. For example, if you sell a product for $100 with $60 variable cost and $10,000 in monthly fixed costs (rent, salaries, insurance), your break-even volume = $10,000 / ($100 − $60) = 250 units per month.
Calculations and computational models on QuickBizCalc are verified against published regulatory standards and statutory tax tables:
Publication 15-T (Federal Income Tax Withholding Methods) & Publication 15 (Employer's Tax Guide).
Fair Labor Standards Act (FLSA 29 U.S.C. § 207) regulations on overtime hours, recordkeeping, and minimum wage.
OASDI taxable maximum wage base limits and statutory FICA tax rates (6.2% Social Security + 1.45% Medicare).
Formulas and worked examples are checked against the sources above before publishing. For advice on your own situation, consult a licensed tax professional or accountant.