Business & Finance

How to Calculate Profit Margin

Published on September 16, 2025

Profit margin is profit expressed as a percentage of revenue. Margin % = ((Revenue - Cost) / Revenue) x 100. Selling for $125 an item that cost $75 leaves $50 of gross profit, which is a 40% margin. The same sale is a 66.67% markup, because markup divides by cost instead.

Published by PraxisCalc, a Zeta Digilux Labs project

In the world of business, the terms "profit margin" and "markup" are often used interchangeably, but they represent two fundamentally different views of your profitability. Understanding the distinction is crucial for effective pricing, financial analysis, and strategic decision-making.

What is Markup?

Markup is the amount by which the cost of a product is increased to determine the selling price. It's focused on the cost of the goods sold (COGS) and represents the gross profit per unit.

Markup % = (Gross Profit / Cost) × 100%

For example, if a product costs you $50 to make and you sell it for $75, your gross profit is $25. Your markup is ($25 / $50) × 100% = 50%.

What is Profit Margin?

Profit margin, on the other hand, is the percentage of revenue that you keep as profit. It's a measure of how profitable your business or a product line is. It always relates profit back to the revenue, not the cost.

Profit Margin % = (Gross Profit / Revenue) × 100%

Using the same example, your profit margin is ($25 / $75) × 100% = 33.3%.

Analyze Your Own Numbers

Instantly calculate your own markup and profit margin. Our simple tools take the guesswork out of your financial analysis.

The Key Difference

The core difference lies in the denominator of the equation:

  • Markup is profit as a percentage of cost.
  • Profit Margin is profit as a percentage of revenue.

This is why the markup percentage will always be higher than the profit margin percentage for the same product (assuming it's sold at a profit).

Which Should You Use?

Both metrics are vital:

  • Markup is most useful for pricing individual products. It's an internal-facing number that helps you ensure each item you sell is priced to cover its costs and contribute to profit.
  • Profit Margin is better for evaluating the overall financial health of your business. Investors, lenders, and executives look at net profit margin (which also accounts for operating expenses) to gauge the overall efficiency and profitability of a company.

Margin, Markup, and Discount Strategy

Profit margin tells you what share of revenue remains as profit, while markup tells you how much you add above cost. The two numbers are related but not interchangeable. A business can lose money quickly by applying discounts without knowing its margin floor, especially when variable costs, platform fees, payment fees, and returns are ignored.

Use the Profit Margin Calculator to set a minimum margin, the Markup Calculator to price from cost, and the Discount Calculator to test promotions before you launch them.

Gross Margin vs. Net Margin

Gross margin subtracts only the direct cost of producing or acquiring the goods sold (cost of goods sold, or COGS) from revenue, leaving a figure that reflects production efficiency and pricing power before any other costs are considered. Net margin goes further, subtracting every other business expense too, including rent, salaries, marketing, interest, and taxes, which is why net margin is always lower than gross margin for the same business and period. Tracking both matters because a healthy gross margin with a weak net margin points to a cost-structure or overhead problem rather than a pricing problem, while a weak gross margin means the core pricing or production cost itself needs attention before overhead is even worth examining.

What Counts as a "Good" Profit Margin

A healthy profit margin varies enormously by industry: software and professional services businesses often run net margins above 20% because they carry little cost of goods sold, while grocery retailers and restaurants frequently operate on net margins in the low single digits because of high inventory, labor, and spoilage costs. Comparing your margin only makes sense against businesses in the same industry and at a similar scale, since a 5% net margin might be strong for a grocery chain but alarming for a SaaS company. Rather than chasing a generic benchmark, track your own margin trend over time and against your direct competitors, and treat a sudden drop as a signal to investigate cost or pricing changes immediately rather than waiting for a quarterly review.

Improving Margin Without Just Raising Prices

Raising prices is the most direct lever for improving margin, but it isn't the only one, and it carries the risk of reducing sales volume if customers are price-sensitive. Reducing cost of goods sold through better supplier terms, less waste, or a more efficient production process improves gross margin without touching the customer-facing price at all. On the operating expense side, renegotiating recurring costs like software subscriptions, payment processing fees, and shipping rates can meaningfully improve net margin over time, and these savings compound every period going forward rather than being a one-time gain.

For official guidance on this topic, see the U.S. Small Business Administration's business management guidance.

Profit Margin Questions People Ask

How do you calculate profit margin?

Subtract cost from revenue to get profit, divide by revenue, then multiply by 100. Revenue of $125 against a $75 cost gives ($125 - $75) / $125 x 100 = 40%. The denominator is always revenue.

What is the gross profit margin formula?

Gross Margin % = ((Revenue - Cost of Goods Sold) / Revenue) x 100. Cost of goods sold covers only the direct cost of producing what you sold. Overheads such as rent and salaries belong in net margin, not here.

What is the difference between gross and net profit margin?

Gross margin subtracts only direct product costs. Net margin subtracts everything, including overheads, marketing, interest and tax. A business can run a healthy 40% gross margin and still post a negative net margin if overheads are too high.

What is the difference between margin and markup?

They describe the same profit against different bases. Margin divides profit by the selling price, markup divides it by cost. The $75 to $125 sale is a 40% margin and a 66.67% markup. Confusing the two is the most expensive arithmetic error in small business pricing.

How do I price for a target margin?

Divide cost by (1 minus the target margin as a decimal). For a 40% margin on a $60 cost item: $60 / 0.60 = $100. Multiplying the cost by 1.40 instead gives $84, which is only a 28.6% margin.

How do you calculate profit margin percentage from a list of sales?

Total the revenue, total the cost of goods sold, then apply the formula to the totals. Averaging the individual percentages instead gives a different and misleading answer, because it weights a $10 sale the same as a $10,000 one.

What is a good profit margin?

It is entirely sector dependent. Grocery retail operates on low single-digit net margins at high volume, software often exceeds 70% gross margin, and restaurants sit somewhere in between. Compare against your own sector and your own trend rather than a general benchmark.

For faster estimates, open the profit margin calculator and test the numbers with your own assumptions.

Keep Reading & Explore More

Investment Strategy

Lump Sum vs. SIP: Which Investment Strategy is Right for You?

Compare Systematic Investment Plans (SIP) against one-time lump sum investments.

Retirement Planning

A Beginner's Guide to Annuities

Learn how annuities work and their role in a long-term financial plan.