How to Calculate Profit Margin
Profit margin shows how much of each sales dollar you keep as profit. If you want to improve pricing, control costs, and make better business decisions, learning this calculation is essential.
In this guide, you will learn the exact formula, a simple step-by-step process, real examples, common mistakes, and quick answers to frequently asked questions.
- Clear explanation of profit margin
- Step-by-step calculation process
- Profit margin formula
- Worked examples
- Common mistakes to avoid
- FAQ section
What Is Profit Margin?
Profit margin is the percentage of revenue left after subtracting costs. It tells you how efficiently your business turns sales into profit.
For example, if your profit margin is 25%, you keep $0.25 as profit for every $1.00 in revenue.
Profit Margin Formula
Use this formula to calculate profit margin percentage:
Profit Margin % = (Profit ÷ Revenue) × 100
Equivalent form: Profit Margin % = ((Revenue - Cost) ÷ Revenue) × 100
If you want to save time, use our Profit Margin Calculator to calculate profit, margin, and markup instantly.
How to Calculate Profit Margin Step by Step
Step 1: Identify your revenue
Use the selling price (for one unit) or total sales revenue (for a period).
Step 2: Identify your cost
Use the direct cost linked to that sale (or total cost for the same period and scope).
Step 3: Calculate profit
Subtract cost from revenue: Profit = Revenue - Cost.
Step 4: Divide profit by revenue
This gives the margin as a decimal.
Step 5: Convert to a percentage
Multiply by 100 to get your profit margin %.
Profit Margin Examples
Example 1: Product sale
You sell a product for $80 and it costs $52.
- Profit = 80 - 52 = $28
- Profit Margin % = (28 ÷ 80) × 100 = 35%
Example 2: Service business
You invoice $5,000 for a project and your direct cost is $3,750.
- Profit = 5,000 - 3,750 = $1,250
- Profit Margin % = (1,250 ÷ 5,000) × 100 = 25%
| Scenario | Revenue | Cost | Profit | Profit Margin |
|---|---|---|---|---|
| Product sale | $80 | $52 | $28 | 35% |
| Service project | $5,000 | $3,750 | $1,250 | 25% |
Common Profit Margin Mistakes
1) Confusing margin with markup
Margin is based on revenue. Markup is based on cost. They are not interchangeable.
2) Mixing time periods
Use revenue and costs from the same time period (for example, both monthly or both quarterly).
3) Ignoring relevant costs
Understating costs can make margin look better than it really is.
4) Using total business expenses for a single-product margin
Keep your scope consistent. Product-level margin and whole-business margin are different calculations.
FAQ: How to Calculate Profit Margin
Is profit margin the same as profit percentage?
Usually yes, in everyday business language. Most people use "profit percentage" to mean profit margin percentage.
Can I calculate margin for one product and my whole business?
Yes. The same formula works, as long as revenue and cost match the same scope and period.
Why is my margin lower than expected?
Common reasons include rising costs, discounting, pricing too low, and missing hidden costs such as fees and shipping.
What should I do after calculating my margin?
Review pricing, supplier costs, and sales mix. Then track margin over time to spot trends and improve profitability.
Calculate Your Margin Faster
Once you understand the formula, the next step is speed and consistency. Try our Profit Margin Calculator to run quick what-if scenarios and test pricing changes before you decide.