Profit Margin Calculator

Per-Unit Extras
Fees on Revenue (%)
Fixed / Batch Costs

Profit Margin Calculator – Calculate Profit, Gross & Net Margin Online

Use our Profit Margin Calculator to work out your profit, gross margin, net margin, and markup percentage in seconds. Simply enter your cost, selling price, and units sold to see your results instantly.

This free online tool is designed for business owners, e-commerce sellers, and finance students who need a quick and accurate way to calculate margins.

What is Profit Margin?

Profit margin shows how much profit your business makes compared to sales revenue. It is usually expressed as a percentage.

  • Gross Profit Margin → measures profit after deducting the cost of goods sold.
  • Net Profit Margin → measures profit after deducting all expenses, such as marketing, fees, labour, and taxes.
  • Markup → shows how much more you charge above your costs.

Profit Margin Formulas

Profit = Selling Price − Cost Price
Profit Margin % = (Profit ÷ Selling Price) × 100
Markup % = (Profit ÷ Cost Price) × 100
Gross Profit Margin % = (Revenue − COGS) ÷ Revenue × 100
Net Profit Margin % = Net Profit ÷ Revenue × 100

How to Use the Profit Margin Calculator

  • Enter your Cost Price per Unit.
  • Enter your Selling Price per Unit.
  • Add optional fields such as Units Sold, Shipping, Packaging, Ads, Fees, and Taxes.
  • Click Calculate.
  • Instantly see:
    • Profit per unit
    • Total profit and revenue
    • Profit margin %
    • Gross margin %
    • Net margin %
    • Markup %

Example (USD)

  • Cost Price: $80
  • Selling Price: $100
  • Units Sold: 500
  • Shipping & Fees: $5/unit
  • Ads & Labour Costs: $600

👉 Result:

  • Profit per Unit = $15
  • Gross Profit Margin = 20%
  • Net Profit Margin = 14.5%
  • Total Net Profit = $7,250

Frequently Asked Questions (FAQ)

Q: What is profit margin?
A: Profit margin is the percentage of sales revenue that turns into profit after costs.

Q: What is the difference between gross margin and net margin?
A: Gross margin only considers product costs (COGS), while net margin includes all expenses such as fees, ads, labour, and taxes.

Q: What is markup vs margin?
A: Markup is based on cost (profit ÷ cost), while margin is based on selling price (profit ÷ selling price).

Q: How do I calculate profit margin manually?
A: Profit Margin % = (Selling Price − Cost Price) ÷ Selling Price × 100.

Q: What is a good profit margin?
A: It depends on the industry, but most healthy businesses aim for 10–20% net profit margin.

Q: Can this calculator work for services as well as products?
A: Yes, as long as you know your costs and selling price, you can calculate service margins too.

Was this calculator helpful?

Rate your experience to help us improve.

Thanks for rating! See the average and total ratings above.

Not rated yet—be the first to rate this calculator.