Free · No sign-up · Private

Profit Margin Calculator

Calculate gross profit margin from revenue and cost as a percentage.

Quick answer

To calculate profit margin, subtract cost from revenue, divide by revenue and multiply by 100: Margin = (Revenue − Cost) ÷ Revenue × 100. Selling for $200 something that cost $150 gives a $50 gross profit and a 25% margin.

Profit Margin CalculatorRuns in your browser
Gross profit margin
25%

Step by step

How to use the Profit Margin Calculator

01

Enter revenue and cost.

02

See the profit margin percentage.

Formula

Margin % = (Revenue − Cost) / Revenue × 100

Worked examples

Gross profit and margin examples

RevenueCostGross profitMargin
$200.00$150.00$50.0025%
$100.00$60.00$40.0040%
$49.99$22.00$27.9956%
$1,200.00$900.00$300.0025%
$25,000.00$16,500.00$8,500.0034%

Margin and the matching markup

MarginMarkup on cost
10%11.1%
20%25%
25%33.3%
30%42.9%
40%66.7%
50%100%

Good to know

How do you calculate profit margin step by step?

First find gross profit by subtracting the cost of goods from revenue. Then divide gross profit by revenue. Finally multiply by 100 to turn it into a percentage. With $1,200 of sales and $900 of costs, gross profit is $300 and the margin is 300 ÷ 1,200 × 100 = 25%.

How to calculate gross profit from a margin

If you know the margin you want, multiply revenue by the margin to get gross profit, or find the price you need with Price = Cost ÷ (1 − Margin ÷ 100). To earn a 40% margin on an item that costs $30, charge $30 ÷ 0.6 = $50.

FAQ

Frequently asked questions

What is a good profit margin?

It depends on the industry. Grocery retail often runs gross margins of 20% to 30%, while software and services can exceed 70%. Compare yourself with businesses that sell the same thing.

Can a margin be higher than 100%?

No. Margin is a share of the selling price, so it can approach 100% but never exceed it. Markup on cost has no upper limit.