Free · No sign-up · Runs in your browser

Profit Margin and Markup Calculator

Calculate gross profit, profit margin and markup from cost and selling price, or find a selling price for a target margin.

STEP 1

Set your values

Adjust the values, then calculate your result.

How to use Profit Margin and Markup Calculator

  1. Enter the measurements or amounts in the fields above.
  2. Check that dimensions, rates and units match the labels.
  3. Select “Calculate margin and markup” to see a clear estimate and the formula used.

How the profit margin and markup calculator works

Gross profit = selling price − cost. Margin = profit ÷ selling price. Markup = profit ÷ cost.

Check your measurements and assumptions

This simple calculation excludes taxes, shipping, payment fees, overhead, returns and discounts. A margin percentage uses selling price as its denominator; markup uses cost.

Review the estimate before you act

Compare this result with an independent measurement, supplier quote or institution guidance when the decision matters. Confirm that the units and assumptions match the labels above, and update the inputs when the conditions change. Keep a note of the values used so you can reproduce the estimate later. This calculator is a planning aid and does not replace professional, product-specific or local guidance.

What is the difference between profit margin and markup?

Margin divides profit by selling price, while markup divides profit by cost.

Is input uploaded?

Processing takes place in your browser. This tool does not send your input or selected files to a conversion API.

Related tools and guides

Browse all developer tools