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.
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 × 100Worked examples
Gross profit and margin examples
| Revenue | Cost | Gross profit | Margin |
|---|---|---|---|
| $200.00 | $150.00 | $50.00 | 25% |
| $100.00 | $60.00 | $40.00 | 40% |
| $49.99 | $22.00 | $27.99 | 56% |
| $1,200.00 | $900.00 | $300.00 | 25% |
| $25,000.00 | $16,500.00 | $8,500.00 | 34% |
Margin and the matching markup
| Margin | Markup 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.
More finance tools
Related tools
Markup Calculator
Calculate the selling price from a cost and a markup percentage.
Open toolVAT Calculator
Add or remove VAT from a price using any VAT rate.
Open toolTax Calculator
Calculate sales tax on an amount, or the pre-tax amount from a tax-inclusive total.
Open toolSplit Bill Calculator
Split a bill between any number of people, with optional tip and tax.
Open toolRelated guides
Guide
How Do You Calculate Gross Profit?
Gross profit is revenue minus the cost of goods sold. The formula, worked examples for a shop and a service business, gross margin and the mistakes to avoid.
Read the guideGuide
How Do You Calculate a Percentage of a Number?
The percentage formula, step-by-step examples for tips, discounts and scores, plus how to find what percent one number is of another.
Read the guideGuide
How Do You Calculate Profit Margin?
The profit margin formula with worked examples, gross vs net margin, and the classic mix-up between margin and markup.
Read the guide