ToolNestr

Profit Margin Calculator

Enter your cost and selling price to see your profit, profit margin and markup — essential numbers for any business.

Reviewed by the ToolNestr Editorial Team — July 2026

Disclaimer: For general information only — this is not financial, tax, investment or legal advice. Results are estimates; confirm figures with a qualified professional before making any financial decision.
Profit
Profit margin
Markup

How profit margin and markup are calculated

Profit margin and markup are related but distinct metrics. Profit margin expresses profit as a percentage of the selling price: Margin = ((Price - Cost) / Price) × 100. Markup expresses profit as a percentage of the cost: Markup = ((Price - Cost) / Cost) × 100. The same profit produces a higher markup percentage than margin percentage because the denominators are different — cost is always lower than price.

Understanding the distinction is critical for pricing strategy. A 50% markup only yields a 33.3% margin, meaning many business owners who think they are earning 50% on each sale are actually earning far less. The calculator shows both numbers side by side so you never confuse them.

Worked example

A product costs $30 to produce and sells for $80.

Cost: $30.00
Selling price: $80.00
Profit: $50.00
Profit margin: 62.5%
Markup: 166.7%
Cost ratio: 37.5% of price
Cost vs Revenue vs Profit Breakdown A horizontal stacked bar showing the relationship between cost, revenue, and profit within the selling price. Cost Profit Selling Price Cost (COGS) Margin Margin = (Price - Cost) / Price Markup = (Price - Cost) / Cost
How cost, profit, and selling price relate in a product transaction

About profit margin

Knowing your profit margin and markup is essential for pricing products, comparing suppliers and running a healthy business. This calculator instantly turns a cost and selling price into your profit, margin and markup — handy for shops, freelancers, dropshippers and online sellers. Once you know your margin, use the Break-even Calculator to determine how many units you need to sell to turn a profit.

How to use it

  1. Enter how much it costs you to produce or buy the product (cost).
  2. Enter the price you are selling it for (selling price).
  3. See your profit in currency, the profit margin percentage, and the markup percentage.
  4. Adjust either number to experiment with different pricing strategies.

When to use this tool

This calculator is essential when you're setting prices for a new product line, evaluating whether a supplier's quote leaves enough room for profit, or running a promotion to see how much discount you can offer without eroding your margin. Online sellers use it daily to compare margins across different products and identify their most profitable items.

Tips for best results

  • Include all costs in your cost figure — materials, labor, shipping, payment processing fees and any overhead allocated per unit.
  • Check your margins regularly; if your supplier raises prices, you'll need to decide between raising your price or accepting a lower margin.
  • Compare profit margins across your entire product range to identify which items deserve more marketing spend.

What different profit margins mean

Profit margins vary dramatically by industry and business model. Here is how different margin ranges stack up across common sectors.

1–5%Low margin (grocery, commodity retail)
10–20%Moderate margin (general retail)
25–40%Good margin (specialty products)
45–60%High margin (software, services)
65–80%Very high margin (digital products)
80%+Ultra-high margin (SaaS, info products)
🏪

Small Business Owner

Set profitable prices for your products and services by understanding exactly how cost and price translate into margin and markup.

🛒

E-commerce Seller

Factor in product cost, shipping, fees, and advertising to calculate your true margin per item and identify your best-performing products.

🏭

Manufacturer

Evaluate production costs against wholesale or retail pricing to ensure your manufacturing operation is running at a sustainable margin.

📊

Financial Analyst

Quickly compute margin and markup for financial reports, supplier negotiations, or pricing strategy presentations to stakeholders.

MarkupEquivalent marginCost $50 → sell at
10%9.1%$55.00
25%20.0%$62.50
50%33.3%$75.00
75%42.9%$87.50
100%50.0%$100.00
150%60.0%$125.00
200%66.7%$150.00
300%75.0%$200.00

How to use the profit margin calculator

1

Enter your cost

Type the total cost to produce or acquire one unit of your product, including materials, labor, shipping, and fees.

2

Enter the selling price

Enter the price you charge your customer. The calculator instantly shows your profit, margin percentage, and markup percentage.

3

Optimize your pricing

Adjust cost or price to experiment with different scenarios and find the pricing strategy that balances competitiveness with profitability.

Tips for healthy profit margins

Know your true costs

Many businesses underestimate their costs by forgetting overhead allocation, payment processing fees, packaging, or the value of their own labor. Include every expense to get a real margin picture.

Monitor margins regularly

Supplier price changes, shipping cost fluctuations, and currency shifts all affect your margin. Review your key products monthly and adjust pricing before margins shrink too far.

Focus on high-margin items

Not all products are equal. Identify your highest-margin items and invest more marketing budget in them. A product with 60% margin needs far fewer sales to generate the same profit as one with 20% margin.

Frequently asked questions

What's the difference between margin and markup?

Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. A 50% markup is only a 33% margin, which is why the distinction matters.

How is profit margin calculated?

Profit margin = (selling price − cost) ÷ selling price × 100.

Can I use it for any product?

Yes — it works for any product or service in any currency.

What is a healthy profit margin?

It varies by industry. Grocery stores often operate on razor-thin margins of 1–3%, while software companies can have margins above 80%. A "good" margin is one that covers your costs, supports growth and is competitive in your market.

How do I price a product to achieve a target margin?

If you want a 40% margin and your cost is $30, divide the cost by (1 − 0.40) = 0.60, giving a selling price of $50. Use this calculator in reverse by adjusting the selling price until you hit your target margin.

Should I use margin or markup for my pricing strategy?

Margin is more commonly used for financial reporting and profitability analysis, while markup is often used for initial pricing. Understanding both helps you avoid common pricing mistakes — many businesses that think they're earning a 50% margin via a 50% markup are actually earning only a 33% margin.

What is a good markup percentage?

Markup varies by industry. Retail clothing often uses 50–100% markup (keystone pricing), grocery stores operate on 10–30% markup, while luxury goods can have 200–500% markup. A "good" markup covers all your costs and leaves room for profit at a competitive price.

Can I calculate margin for services too?

Absolutely. For services, your cost includes the time and materials required to deliver the service. Calculate your effective hourly cost (wages, overhead, tools) and compare it to the service fee you charge clients.

What is the difference between gross and net profit margin?

Gross profit margin accounts only for the direct cost of goods sold (COGS). Net profit margin subtracts all operating expenses including rent, salaries, marketing, and taxes. This calculator shows gross margin; your net margin will always be lower.

How do discounts affect my margin?

Discounts come straight off your profit. A 10% discount on a product with a 30% margin reduces your margin by about one-third. Use this calculator to enter the discounted selling price and see exactly how much margin you give up with any promotion.

All tool categories

Finance (34 tools)
🌐 Networking & IP Tools (36 tools)
🧮 Everyday (26 tools)
💪 Health & Fitness (30 tools)
🔢 Math (23 tools)
📄 PDF Tools (10 tools)
🎨 Creators (12 tools)
💻 Developers (24 tools)
⚡ Engineering & Science (24 tools)
⚛️ Physics (48 tools)
🧪 Chemistry (50 tools)
🧬 Biology (50 tools)
🏠 Construction & Home Improvement (105 tools)
👗 Clothing & Garment Tools (68 tools)
🍳 Cooking & Baking (9 tools)
🚗 Automotive (26 tools)
🖼️ Image Tools (13 tools)
🔐 Security & Hash (15 tools)
📝 Text Tools (15 tools)
🔍 SEO Tools (11 tools)
🔄 Converters (69 tools)
🕐 Time & Date (15 tools)
📊 Chart Generators (11 tools)
🕌 Islamic Tools (16 tools)