Financial Input
Enter cost and selling price (revenue) to see both margin and markup.
Results
Converting between margin and markup
Markup = Margin / (1 − Margin) · Margin = Markup / (1 + Markup)
Example: a 25% margin is a 33.33% markup; a 50% markup is a 33.33% margin.
Revenue Breakdown
Margin Comparison
The Low, Average and Good bars are illustrative reference points, not industry data. Margins vary widely by industry; compare with businesses like yours.
Understanding Profit Metrics
Profit Margin: Shows what percentage of revenue is profit. Formula: (Revenue - Cost) / Revenue × 100
Markup: Shows the percentage increase from cost to selling price. Formula: (Revenue - Cost) / Cost × 100
Pricing from a target: For a target margin, Price = Cost / (1 − Margin); for a markup, Price = Cost × (1 + Markup). Margin can never reach 100%, but markup has no upper limit. Convert with Markup = Margin / (1 − Margin) and Margin = Markup / (1 + Markup).
Comparing Margins:
There is no single "good" margin. High-volume, low-price businesses often run thin margins, while businesses with low variable costs can run much higher ones. For real benchmarks, compare with published financial statements of businesses like yours.
Overview
A profit margin calculator shows how much of each sale is profit. This page has three modes. Cost + Price takes your cost and selling price and returns gross profit, profit margin and markup. Target Margin takes your cost and the margin you want and works out the selling price. Markup takes your cost and a markup percentage and returns the price, along with the resulting margin.
The formulas are: Gross Profit = Price − Cost; Profit Margin = Profit ÷ Price × 100; Markup = Profit ÷ Cost × 100. To price from a target, Price = Cost ÷ (1 − Margin) or Price = Cost × (1 + Markup). Margin and markup describe the same profit from different bases, so they are easy to confuse: a 50% markup is only a 33.33% margin.
The margin calculated here is gross margin on a single product or sale, based on the cost you enter (typically cost of goods sold). It does not include overhead, taxes or other operating expenses, which reduce net profit margin.
How to Use
- Choose a Calculation Type: Cost + Price, Target Margin or Markup.
- Enter your Cost / COGS ($) — what the product or service costs you.
- Enter the Revenue / Selling Price ($) in Cost + Price mode, the Target Profit Margin (%) in Target Margin mode (from 0 to just under 100), or the Markup on Cost (%) in Markup mode.
- Read the results: Selling Price (in the target modes), Gross Profit, Profit Margin and Markup.
- Use the Revenue Breakdown and Margin Comparison charts for a visual check. Click Clear All to start over.
Frequently Asked Questions
How do you calculate profit margin?
Subtract cost from the selling price to get gross profit, then divide by the selling price and multiply by 100. For example, with $10,000 of revenue and $6,500 of cost, profit is $3,500 and the margin is $3,500 ÷ $10,000 = 35%. The markup on the same sale is $3,500 ÷ $6,500 = 53.85%.
What is the difference between margin and markup?
Both measure the same profit, but margin divides it by the selling price and markup divides it by the cost. Because price is larger than cost, margin is always the smaller number. Convert with Markup = Margin ÷ (1 − Margin) and Margin = Markup ÷ (1 + Markup). A 25% margin equals a 33.33% markup, and a 50% markup equals a 33.33% margin.
How do I set a price to get a specific margin?
Divide the cost by one minus the target margin. To earn a 35% margin on a product that costs $6,500, the price must be $6,500 ÷ (1 − 0.35) = $10,000. A common mistake is to add 35% to the cost instead — that gives $8,775, which is only a 25.9% margin. Use Target Margin mode to do this automatically.
Why can profit margin never reach 100%?
Margin is profit divided by price, and profit is price minus cost. As long as the cost is above zero, profit is always less than the price, so the margin stays below 100%. Reaching 100% would require an infinite price, which is why Target Margin mode accepts values from 0% to just under 100%. Markup has no such limit: a 300% markup simply means the price is four times the cost.
What is a good profit margin?
It varies widely by industry and business model. High-volume businesses such as grocery stores typically run thin margins, while software and many professional services earn much higher gross margins. The best comparison is with businesses like yours. The benchmark bars on this page are general illustrations, not industry data, so for real benchmarks look at published financial statements from comparable companies.
What is the difference between gross margin and net margin?
Gross margin uses only the direct cost of the product or service (cost of goods sold). Net margin subtracts all expenses — rent, salaries, marketing, interest and taxes — from revenue before dividing. A product can have a healthy gross margin while the business as a whole has a thin or negative net margin. This calculator computes gross margin from the cost you enter.