JotTools .

Profit Margin Calculator

Free profit margin calculator. Enter your cost and selling price to instantly see profit, profit margin percent, and markup percent right in your browser.

Profit
60
Profit margin60 %
Markup150 %

What the Profit Margin Calculator does

This tool turns two simple numbers into the figures you actually price and report with. Enter what an item costs you and what you sell it for, and it works out the profit in money, the profit margin as a percentage, and the markup as a percentage. It helps shop owners, freelancers, resellers, and online sellers set prices with confidence and check that each sale clears the profit they expect.

Margin and markup are easy to confuse, so seeing both side by side keeps you from quoting the wrong one. The profit line shows the raw cash you keep, while the two percentages let you compare products of very different prices on a fair footing.

How to use it

  1. Type what the item costs you into the Cost field.
  2. Type what you charge for it into the Selling price field.
  3. Click Calculate to see the profit, the profit margin (%), and the markup (%).
  4. Change either the Cost or the Selling price to test new prices and compare results right away.

A worked example

Say an item costs you 40 and you sell it for 100. Your profit is 60 (100 minus 40). The profit margin is 60%, because 60 is 60% of the 100 selling price. The markup is 150%, because 60 is 150% of the 40 cost. Notice how the same sale gives a much larger markup number than margin, which is exactly why mixing them up can lead to underpricing.

Everything runs in your browser, so your numbers stay private on your own device. It is free, needs no sign-up, and has no limits.

Frequently asked questions

What is the difference between margin and markup?
Margin is profit as a percentage of the selling price, while markup is profit as a percentage of the cost. A 60% margin is the same as a 150% markup, so the two numbers describe the same profit from different angles.
How do you calculate profit margin?
Subtract the cost from the selling price to get the profit, then divide the profit by the selling price and multiply by 100. For a cost of 40 and a price of 100, the profit is 60 and the margin is 60%.
Are my numbers sent anywhere?
No. The calculation runs entirely in your browser using JavaScript. Nothing you type is uploaded or stored, and you do not need an account.

Related calculators

Last updated: June 17, 2026