Profit Margin Calculator
Calculate gross profit, profit margin percentage, and markup from revenue and cost — or reverse-engineer pricing from a target margin. Free profit margin tool.
Reviewed for accuracy by Marcus Webb and the Blueprint Dynamics editorial team (last updated July 2026). Our calculators use primary-source formulas and are cross-checked against IRS publications, Fannie Mae guidelines, and Federal Reserve data. Learn more about our methodology.
Enter values above to calculate profit margin.
Gross margin, operating margin, net margin
Profit margin is not a single number — there are three distinct levels: Gross margin = (revenue − cost of goods sold) / revenue. It measures how efficiently you produce and sell your product before overhead. Operating margin = (revenue − COGS − operating expenses) / revenue. It includes labor, rent, utilities, and administrative costs. Net margin = net income / revenue. It's the "bottom line" after taxes and interest. A business with 60% gross margin but 5% net margin is spending heavily on operations — common in retail. A business with 30% gross and 25% net runs a very tight ship. Each layer tells a different story about where value is created or lost.
Margin vs. markup — the critical distinction
Gross margin and markup measure the same profit dollars from two different perspectives. Margin = profit / revenue. Markup = profit / cost. A product costing $60 and selling for $100: margin = $40/$100 = 40%. Markup = $40/$60 = 66.7%. The same $40 profit, two very different percentages. Confusing them causes pricing errors: if you want a 40% margin and mistakenly apply a 40% markup instead, you'll charge $84 instead of $100, leaving $16 on every sale. Formula to convert: Margin = Markup / (1 + Markup). Markup = Margin / (1 − Margin).
Industry margin benchmarks
Gross margins vary widely by industry. Software and SaaS: 70–90% (low COGS). Professional services: 50–75%. Retail (general): 25–50%. Restaurants: 60–70% gross, but 3–9% net after labor and rent. Manufacturing: 20–40%. Grocery/supermarket: 25–30% gross, 1–3% net — very thin. Construction: 15–25% gross. These benchmarks are starting points — your specific product, pricing, and market position determine what's achievable. Use competitor analysis and COGS audits to understand where your margins fall relative to your industry.
Improving margins without raising prices
Four levers: (1) Reduce COGS through supplier negotiation, volume discounts, or process efficiency. (2) Reduce operating costs through automation, outsourcing, or operational streamlining. (3) Shift product mix toward higher-margin items — even without raising any individual price, selling proportionally more of your highest-margin products raises blended margin. (4) Reduce returns and waste, which directly reduce effective revenue without reducing costs. A 2% reduction in return rate on $500,000 in revenue is $10,000 of margin improvement — often more impactful than a 5% COGS negotiation.