Free browser tool

Profit Margin Calculator

Work out gross profit, margin, markup, and a target selling price without any signup or backend processing.

!

This calculator provides estimates only. Double-check with your own accounting before pricing or margin decisions.

Calculator

Results update as you type

Free
Gross profit
$10.00
Margin
50%
Markup
100%
Target price
$15.38

Example

Cost $10.00 and sell for $20.00 gives a gross profit of $10.00 and a 50% margin.

Formula

The math behind the result

Gross profit = selling price - cost price. Margin = gross profit / selling price × 100. Markup = gross profit / cost price × 100.

How it works

A clean flow from input to answer

  1. 1Enter your cost and selling price.
  2. 2Add a target margin if you want an inverse price check.
  3. 3Read margin, markup, and gross profit immediately.

FAQ

Common questions

What is profit margin?

Profit margin is the percentage of sales left after the cost of goods sold is removed from revenue.

How is markup different from margin?

Markup measures profit against cost, while margin measures profit against selling price.

Can this handle a loss?

Yes. If selling price is below cost, gross profit becomes negative and the margin reflects the loss.

Can I use this for Etsy or Shopify pricing?

Yes. The calculator is a clean baseline before platform fees are layered on top.

Does the calculator store my numbers?

No. The calculations run in the browser and the page does not send your inputs to a backend.