Quanticed

Profit Margin Calculator

Enter your revenue (selling price) and yourcost to see your gross profit margin and the dollar profit per unit — the percentage of every sale you actually keep before overhead. This is the gross margin: operating and net profit margin go further by subtracting expenses, payroll, and taxes, so they land lower.

What profit margin tells you

Profit margin turns a raw dollar profit into a percentage you can compare across products, periods, and competitors. Selling for $100 on a $60 cost and selling for $1,000 on a $600 cost both earn a 40% margin — the percentage strips out scale and shows how efficiently each sale converts into profit. The version on this page is the gross margin, built from the price you charge and the cost of the item itself. It is the starting point: from there, the cost of running the business comes off the top.

The profit margin formula

Profit margin % = (Revenue − Cost) ÷ Revenue × 100

Subtract cost from revenue to get the profit, then divide by revenue — not by cost. Dividing by revenue is what makes this a margin; dividing by cost instead would give you a markup, a different and always larger number for the same sale.

The three margin levels

“Profit margin” is really three figures stacked on top of each other, each subtracting more cost than the last:

  • Gross profit margin. Revenue minus the direct cost of goods sold (materials and the labor to make the product), divided by revenue. This is what this calculator computes.
  • Operating profit margin. Gross profit minus operating expenses — rent, salaries, marketing, and other day-to-day overhead. It shows whether the core business is profitable to run.
  • Net profit margin. The bottom line: everything left after interest and taxes are also removed. It is the true share of each dollar of sales that the business keeps.

What makes this calculator different

  • Margin and dollar profit together. You see both the percentage and the actual dollars earned per unit, so the number means something for pricing decisions.
  • Margin, not markup. We divide profit by revenue, the way accountants define margin — no quietly inflated markup figure dressed up as a margin.
  • Works either direction. Solve for the margin from a price and cost, or price backward to hit a target margin.
  • Honest about scope. It clearly computes gross margin, so you know overhead and taxes still come off the top before net profit.

Frequently asked questions

What is profit margin and how do I calculate it?+

Profit margin is the percentage of each sale you keep as profit after the cost of producing or buying the item. The gross profit margin formula is (revenue − cost of goods sold) ÷ revenue × 100. For example, if you sell something for $100 and it cost you $60, your gross profit is $40 and your margin is $40 ÷ $100 = 40%. It tells you, for every dollar of sales, how many cents are left over before overhead and other expenses.

What is the difference between gross, operating, and net profit margin?+

They are three layers of the same idea, each subtracting more costs. Gross profit margin subtracts only the direct cost of goods sold (materials and the labor to make the product). Operating profit margin goes further and subtracts operating expenses such as rent, salaries, and marketing. Net profit margin is the bottom line — it subtracts everything left, including interest and taxes. Because each step removes more cost, operating and net margins are always lower than gross margin.

What is a good profit margin?+

There is no single “good” number, because margins vary enormously by industry. Grocery and retail businesses often run on very thin margins and rely on high volume, while software and luxury goods can carry much higher ones. The most useful benchmark is your own history and direct competitors in the same sector rather than a universal target. A margin that is steady or rising over time, and high enough to cover overhead with profit left over, is generally a healthy sign.

How do I improve my profit margin?+

There are two basic levers: increase revenue per sale or decrease the cost of each sale. On the revenue side you can raise prices, reduce discounting, or shift the mix toward higher-margin products. On the cost side you can negotiate cheaper supplies, buy in larger volumes, reduce waste, or make production more efficient. Even small changes compound — shaving a few percent off cost while nudging price up can move your margin meaningfully without scaring away customers.

Is profit margin the same as markup?+

No — they describe the same dollar of profit from different angles, and they are easy to confuse. Markup is the profit expressed as a percentage of cost, while margin is the profit expressed as a percentage of revenue (the selling price). Because revenue is larger than cost, the margin percentage is always smaller than the markup percentage for the same item. A 50% markup on a $60 cost gives a $90 price and a $30 profit, which is only a 33% margin.

Disclaimer: This calculator computes grossprofit margin from your unit cost and selling price. Operating and net profit margins subtract overhead, payroll, and taxes and will be lower. It is for educational purposes only and is not financial advice.