Free money tool

Profit Margin Calculator

Calculate gross profit margin, markup, selling price, or cost price. Works for products, services, and entire businesses — everything in your browser.

Runs locally in your browser. No data is sent to any server.

What is profit margin?

Gross profit margin is the percentage of revenue left after subtracting the cost of goods sold (COGS). For example, if you sell a product for $100 and it costs $50, your gross profit is $50 and your gross margin is 50%.

Markup is the percentage you add to your cost to arrive at the selling price. A 50% margin is a 100% markup — they're related but not the same. This calculator shows both.

Why use this?

How to use

  1. Margin calculator mode: Enter your cost price and selling price to see gross profit, margin %, markup %, and your break-even point.
  2. Price setter mode: Enter your cost and desired margin % to find the ideal selling price.
  3. Cost finder mode: Enter your target selling price and desired margin to determine the maximum you can spend.

Pricing tips

Related Money tools

Showing all 10 related money tools. Browse all tools →