Finance tool
Profit Margin CalculatorMargin · Markup · Gross Profit
Free
No signup
Instant results
Step-by-step breakdown

Enter your revenue and cost to instantly calculate margin, gross profit, and markup percentage. This free profit margin calculator is built for product pricing, retail margin analysis, and business profitability planning.

All calculations use standard published formulas. Results are for informational use only.
Calculation details
On $5,000.00 in revenue with a $3,500.00 cost, your gross profit is $1,500.00 - a 30% margin (strong margin), equivalent to a 42.86% markup on cost.
Profit Margin
30%
Strong margin · 42.86% markup
$1,500.00
Gross Profit
$0.300
Profit / $1 Revenue
$5,000.00
Revenue
$3,500.00
Cost (COGS)
Cost 70%Profit 30%
Getting started
How to use this profit margin calculator

This tool quickly helps you evaluate profitability.

1
Enter your revenue
The selling price per unit, or total sales for a period.
2
Enter your cost of goods sold (COGS)
The direct cost to produce or acquire the item.
3
Read your results
Instantly see your gross profit, margin %, and markup %.
The calculation
Step-by-step: how your margin was calculated

Here is exactly how your 30% margin was derived from the numbers above.

1
Calculate gross profit
Gross Profit = Revenue - Cost = $5,000.00 - $3,500.00
Gross Profit = $1,500.00
2
Calculate profit margin %
Margin % = (Gross Profit / Revenue) x 100 = ($1,500.00 / $5,000.00) x 100
Margin = 30%
3
Calculate markup % on cost
Markup % = (Gross Profit / Cost) x 100 = ($1,500.00 / $3,500.00) x 100
Markup = 42.86%
Examples
Profit margin calculation examples
Single product
Retail Margin
Rev $80 · Cost $50
37.5%
Margin (60% markup)
Business
Monthly Revenue
Rev $45,000 · COGS $27,000
40%
Profit margin
Loss scenario
Below Cost
Rev $90 · Cost $100
-11.1%
Priced below cost
Reference
Profit margin vs. markup

Margin and markup describe the same dollar profit using different reference points. Confusing them leads to systematic under-pricing:

MetricFormulaBaseExample ($60 cost, $100 price)
Profit Margin %(Revenue - Cost) / Revenue * 100Revenue40%
Markup %(Revenue - Cost) / Cost * 100Cost66.7%
Margin to markup quick reference
Target margin %Required markup %Price multiplier
10%11.1%1.11
20%25.0%1.25
30%42.9%1.43
40%66.7%1.67
50%100.0%2.00
Strategy
Tips for improving profit margin & common mistakes

Keep these points in mind when analyzing margins.

Price from target margin, not from markup
Use the reverse formula: Selling Price = Cost / (1 - Target Margin%). Working backward from a revenue-based margin is more useful for finance and investors than cost-based markup.
Track margin at the product level
Aggregate margins hide individual products that drag down overall performance. Higher-margin products should receive more marketing investment.
Mistake: Targeting a 40% markup when you need a 40% margin
A 40% markup on a $60 cost gives a $84 selling price and only a 28.6% margin. If your financial target is 40% margin, you need a 66.7% markup.
Mistake: Forgetting that gross margin isn't net profit
Gross margin only subtracts COGS. Rent, payroll, marketing, and finance costs are deducted from gross profit to arrive at net profit margin.
Overview
1. What Is a Profit Margin Calculator?

A Profit Margin Calculator is a financial tool designed to help business owners, entrepreneurs, and finance professionals quickly determine the profitability of a product or service. By simply inputting the total revenue (or selling price) and the cost of goods sold (COGS), the calculator computes the gross profit, profit margin percentage, and markup percentage. Understanding these metrics is crucial for setting optimal prices, forecasting revenue, and ensuring your business remains financially healthy. Contextual understanding of your margins also helps when using a Markup Calculator to adjust your pricing strategy.

Mechanics
2. How Profit Margin Works

Profit margin represents the percentage of sales that has turned into profits. Essentially, it indicates how many cents of profit a business has generated for each dollar of sale. When a company has a 30% profit margin, it means it retains $0.30 from every dollar of revenue generated. The higher the margin, the more efficient the company is at converting sales into actual profit. This metric is closely watched by investors and management to evaluate the overall health of a business. It is often analyzed alongside return on investment, which you can calculate using our ROI Calculator.

Formulas
3. Profit Margin Formula Explained

The fundamental formula for calculating profit margin is straightforward but powerful. It is expressed as:

Profit Margin = ((Revenue - Cost) / Revenue) * 100

In this formula, Revenue is the total amount of money brought in by sales, and Cost refers to the direct costs associated with producing the goods or services sold (COGS). By subtracting the cost from the revenue, you find your gross profit. Dividing the gross profit by the total revenue and multiplying by 100 gives you the profit margin as a percentage. For more general percentage calculations, you can use a Percentage Calculator.

Comparison
4. Gross Profit vs Net Profit Margin

It is essential to distinguish between gross profit margin and net profit margin. Gross Profit Margin only accounts for the direct costs of producing goods or services (COGS). It shows the profitability of your core business activities. On the other hand, Net Profit Margin takes into account all business expenses, including operating expenses, marketing, taxes, and interest. Net profit margin is the true bottom line of the company. While a high gross margin is a positive sign, a business can still operate at a loss if its overhead costs exceed its gross profit.

Practice
5. Step-by-Step Examples

Let's look at a practical scenario. Imagine you run an electronics store. You purchase a high-end speaker from a supplier for $150. You decide to sell this speaker to your customers for $250.

Step 1: Calculate Gross Profit: $250 (Revenue) - $150 (Cost) = $100 Gross Profit.
Step 2: Calculate Profit Margin: ($100 / $250) * 100 = 40% Profit Margin.
Step 3: Calculate Markup: ($100 / $150) * 100 = 66.67% Markup.

If you decide to run a promotional event, using a Discount Calculator can help you determine the new selling price without destroying your margin.

Applications
6. Real Business Use Cases

Different industries utilize profit margin calculations in unique ways. In the retail sector, buyers constantly use margin calculations to determine whether a new product line will meet the store's profitability threshold. In manufacturing, production managers analyze margins to decide if it's more cost-effective to produce a component in-house or outsource it. E-commerce businesses monitor their margins closely to ensure that digital advertising costs don't erode their profits. For instance, determining the final price of an item during a clearance event can be done using a Sale Price Calculator to ensure the items are not sold at an unintended loss.

Pitfalls
7. Common Profit Margin Mistakes

One of the most frequent errors business owners make is confusing margin with markup. As highlighted earlier, a 50% markup does not equal a 50% margin. Pricing products based on markup when financial goals are set using margin can lead to significant revenue shortfalls. Another common mistake is failing to include all direct costs in the COGS calculation, such as packaging or direct shipping costs, resulting in an artificially inflated profit margin. Regularly reviewing pricing strategies is vital to avoid these pitfalls.

Improvement
8. Tips for Improving Profit Margins

Improving your profit margin generally involves a two-pronged approach: increasing revenue or decreasing costs. To increase revenue without losing volume, consider value-based pricing, upselling, or cross-selling complementary products. To decrease costs, you can negotiate better rates with suppliers, optimize your inventory to reduce holding costs, and streamline your operational processes to eliminate waste. Focusing on customer retention is also a proven strategy, as retaining an existing customer is usually cheaper than acquiring a new one.

FAQ
Frequently asked questions
Q
What is profit margin?
Profit margin is profit expressed as a percentage of revenue. It tells you how much of every dollar of revenue remains after costs are deducted. A 30% profit margin means that for every $1 in revenue, $0.30 is profit after direct costs.
Q
What is the profit margin formula?
Profit Margin% = ((Revenue - Cost) / Revenue) * 100. For example, selling price $100 and cost $60: Profit Margin = ((100 - 60) / 100) * 100 = 40%.
Q
What is the difference between profit margin and markup?
Margin uses revenue as the base: (Profit / Revenue) * 100. Markup uses cost as the base: (Profit / Cost) * 100. The same dollar profit results in a higher markup percentage than margin. A 33.3% margin equals a 50% markup.
Q
What is a good profit margin?
Benchmarks vary widely: grocery retail 2-5%, restaurants 3-9%, manufacturing 10-25%, professional services 20-40%, software 60-80%. Compare your margin to industry-specific benchmarks rather than a universal standard.
Q
How do I calculate selling price from cost and target margin?
Selling Price = Cost / (1 - Target Margin% / 100). For a $60 cost and 40% target margin: $60 / (1 - 0.40) = $60 / 0.60 = $100 selling price.
Q
Can a profit margin be over 100%?
No, profit margin cannot exceed 100% because profit cannot be greater than revenue. However, markup can exceed 100%. If you buy an item for $10 and sell it for $30, the markup is 200%, but the profit margin is 66.7%.
Q
What is operating profit margin?
Operating profit margin measures the profit a company makes from its core operations. It is calculated by dividing operating income (revenue minus COGS and operating expenses) by total revenue.
Q
How does discount affect profit margin?
Offering a discount directly reduces your selling price and your gross profit, which significantly lowers your profit margin. Even a small discount can wipe out a large portion of your profit margin if your initial margin is thin.
Q
Why is my profit margin so low?
A low profit margin can be caused by high production costs, low selling prices, high overhead expenses, poor inventory management, or increased competition forcing you to lower prices.
Q
Is a 20% profit margin good?
A 20% profit margin is generally considered good to excellent across many industries. However, it depends on your specific business model. Software companies might aim for much higher margins, while retail stores operate comfortably on lower margins.
Q
What is net profit margin?
Net profit margin is the ratio of net profit (all revenues minus all expenses, including taxes and interest) to total revenue. It shows the percentage of revenue that remains as profit after all costs are paid.
Q
How to increase profit margin?
To increase profit margin, you can raise your prices, reduce your cost of goods sold (COGS) by negotiating with suppliers, optimize your operational efficiency, cut unnecessary expenses, or focus on selling higher-margin products.
Sources
11. References

The formulas and financial principles used in this calculator are standard accounting practices recognized globally. For further reading on financial metrics, generally accepted accounting principles (GAAP), and business strategy, you can consult authoritative financial resources such as Investopedia, the Corporate Finance Institute (CFI), and guidelines provided by the Financial Accounting Standards Board (FASB).

Wrap up
12. Conclusion

Mastering the concepts of profit margin, gross profit, and markup is indispensable for any business aiming for long-term success. By regularly utilizing a profit margin calculator, you can make informed pricing decisions, set realistic financial goals, and steer your business toward greater profitability. Remember that healthy margins provide the financial cushion necessary to weather economic downturns, invest in growth opportunities, and ultimately build a resilient enterprise.