Margin Calculator 2025

Calculate your gross profit margin, markup percentage, and overall profitability for any product. Enter your cost price and selling price to instantly see your gross profit, margin percentage, and markup percentage.

Profit Margin Calculator

Calculate gross profit, margin & markup

$

The amount you paid to acquire or produce the product

$

The price at which you sell the product to customers

Margin Health
Healthy Margin
Gross Profit

$50.00

Gross Margin

50.00%

Markup

100.00%

Calculation Breakdown

Selling Price$100.00
Cost Price$50.00
Gross Profit$50.00
Gross Margin (profit / selling price)50.00%
Markup (profit / cost price)100.00%

Gross Margin vs Markup: What's the Difference?

Gross margin and markup are two sides of the same coin, but they measure profitability differently. Understanding the distinction is essential for accurate pricing and financial analysis.

M

Gross Margin

Gross margin is the percentage of revenue that remains after deducting the cost of goods sold (COGS). It is calculated as (Profit ÷ Selling Price) × 100. A 40% gross margin means you keep $0.40 of every dollar earned. Margin is always expressed as a percentage of the selling price.

Example: Item costing $60 sold for $100 → ($40 ÷ $100) × 100 = 40% gross margin

U

Markup

Markup is the amount added to the cost price to determine the selling price. It is calculated as (Profit ÷ Cost Price) × 100. A 66.67% markup means you added 66.67% to your cost to arrive at the selling price. Markup is always expressed as a percentage of the cost price.

Example: Item costing $60 sold for $100 → ($40 ÷ $60) × 100 = 66.67% markup

Key Takeaway

Margin and markup are not interchangeable. A 50% markup does NOT equal a 50% margin. Because margin is a percentage of the selling price and markup is a percentage of the cost price, markup percentages will always be higher than margin percentages for the same transaction. Use the calculator above to convert between the two instantly.

Why Margin Matters for Your Business

Your profit margin is one of the most important indicators of business health. Here's why tracking gross margin should be a priority for every business owner.

1

Pricing Strategy

Understanding your gross margin helps you set prices that cover costs and generate sustainable profit. A well-calculated margin ensures you're not accidentally selling products at a loss or pricing yourself out of the market.

2

Business Profitability

Gross margin directly impacts your bottom line. Higher margins give you more room to cover operating expenses, invest in growth, and weather economic downturns. Low-margin businesses need higher sales volumes to remain viable.

Financial Health

Investors, lenders, and buyers evaluate gross margin to assess business efficiency and competitive advantage. Consistently healthy margins signal strong pricing power, cost control, and a defensible business model.

Margin Calculator FAQ

What is gross profit margin?

Gross profit margin is the percentage of revenue that remains after subtracting the cost of goods sold (COGS). It measures how efficiently a business uses its resources to produce goods. The formula is: (Revenue - COGS) ÷ Revenue × 100.

What is the difference between margin and markup?

Margin is profit expressed as a percentage of the selling price, while markup is profit expressed as a percentage of the cost price. For the same transaction, the markup percentage will always be higher than the margin percentage. For example, a product costing $80 sold for $100 has a 20% margin but a 25% markup.

How do I calculate profit margin?

Subtract the cost price from the selling price to get the gross profit. Then divide the gross profit by the selling price and multiply by 100. For example, if you buy a product for $50 and sell it for $100: profit = $50, margin = ($50 ÷ $100) × 100 = 50%.

What is a good profit margin for a small business?

Healthy profit margins vary by industry. Retail businesses typically aim for 20-50% gross margins, while service-based businesses can achieve 50-80% margins. In general, a gross margin above 30% is considered good, above 50% is excellent, and below 10% may indicate pricing or cost issues.

How do I convert markup to margin?

To convert markup percentage to margin percentage: Margin = Markup ÷ (1 + Markup). For example, a 50% markup converts to 50% ÷ (1 + 0.50) = 33.33% margin. Alternatively, just use this calculator — enter your cost and selling price and both values are displayed.

What is the formula for calculating markup?

Markup percentage = (Selling Price - Cost Price) ÷ Cost Price × 100. For example, if a product costs $40 and you sell it for $100: markup = ($60 ÷ $40) × 100 = 150%. This means you added 150% to your cost to arrive at the selling price.

How do I set a retail price based on desired margin?

To set a selling price for a target margin percentage, use: Selling Price = Cost ÷ (1 - Desired Margin). For example, to achieve a 40% margin on a product costing $30: Selling Price = $30 ÷ (1 - 0.40) = $30 ÷ 0.60 = $50.00.

Is this profit margin calculator free?

Yes, completely free. No signup, no email required, and no limits. Enter your cost price and selling price to instantly see your gross profit, gross margin percentage, and markup percentage. Use it as often as you need for all your products.

Disclaimer: This margin calculator is provided for informational and educational purposes only. The results are estimates based on the values you enter and should not be considered financial or professional advice. Gross margin calculations shown here do not account for additional costs such as shipping, storage, labor, overhead, taxes, or other expenses. Consult with a qualified accountant or financial advisor for accurate business pricing and profitability analysis. For more information on business profit and loss, visit the IRS website.

© 2026 SupaTax.ai — Free Margin Calculator 2025