All calculators

Calculator · business

Profit Margin Calculator

Gross profit, margin and markup from revenue and cost of goods.

Your numbers

The result

Gross profit

$4,000

Gross margin

40%

Markup on cost

67%

Runs in your browser · Nothing you type is stored

Embed this on your site

Free to embed. The attribution link stays with the widget, and the calculator keeps working exactly as it does here.

<iframe src="https://thedigitalstash.net/embed/profit-margin-calculator" title="The Digital Stash calculator" width="100%" height="720" style="border:0;max-width:100%" loading="lazy"></iframe>

What this calculator works out

Gross profit, margin and markup from revenue and cost of goods.

How the maths works

Margin is profit over revenue; markup is profit over cost. They are not the same number.

Worked example

With the default figures, the calculator returns:

  • Gross profit: $4,000
  • Gross margin: 40%
  • Markup on cost: 66.7% Change one input at a time to see which lever actually moves the result. That is usually more useful than changing everything at once.

When it is worth using

Margin and markup are different numbers and confusing them is expensive. This calculator shows both side by side.

Assumptions you should check

Every figure here follows the assumptions above. Rates, fees and prices are yours to enter rather than hard-coded, because regional and personal differences are larger than any average. If your situation differs from the defaults, enter your own numbers instead of trusting the example.

Free, private and no sign-up

This calculator runs entirely in your browser. Nothing you type is sent to a server, stored or shared, and there is no account to create. Bookmark the page and it will still be here when you need it.

More tools like this