piko

Margin Calculator

Calculate gross profit, profit margin percentage, and equivalent markup from cost and selling price.

Runs on your device. Nothing you add is uploaded.

$
$
Gross margin
38.46%
Profit ÷ Revenue
Gross profit
$25.00
Equivalent markup
62.5%
Profit ÷ Cost
Formula: Margin = (($65.00 − $40.00) ÷ $65.00) × 100. This is an estimate, not financial or tax advice.
Price targets at common margins for your cost
Target marginSelling priceProfitMarkup %
20%$50.00$10.0025%
30%$57.14$17.1442.9%
40%$66.67$26.6766.7%
50%$80.00$40.00100%
60%$100.00$60.00150%

How to use Margin Calculator

  1. Enter your unit cost (what you pay).
  2. Enter your selling price (what the customer pays).
  3. Review your gross margin, profit dollars, and equivalent markup.

Questions

What is the difference between margin and markup?
Margin divides profit by the selling price (revenue), while markup divides profit by the cost. A 50% markup on $40 gives a $60 price, which is a 33.3% margin.
Can profit margin exceed 100%?
No, as long as cost is zero or positive, gross margin cannot exceed 100%.

How this works

Computes gross profit margin and cost-to-margin reference targets locally.

Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy

Related tools

More in Calculators