Profit Margin Calculator

Margin and profit.

Updated
Loading toolโ€ฆ

Margin and profit.

How to use Profit Margin Calculator

  1. Enter your product cost and selling price
  2. Read your profit in dollars instantly
  3. Check your profit margin and markup percentages
Try next โ†’Mortgage CalculatorHome loan repayments.

About Profit Margin Calculator

The Profit Margin Calculator turns a single cost and a selling price into three numbers the moment you type them: your profit in dollars, your profit margin as a percentage of revenue, and your markup as a percentage of cost. It uses the standard profit margin formula โ€” profit divided by selling price โ€” so you get the same result you would build by hand in Excel, without setting up a spreadsheet or memorizing the equation.

Whether you see gross or net margin comes down to which cost you enter. Put in the cost of goods and the margin shown is gross; enter every all-in cost, and the same field gives you net margin. That makes it handy for pricing retail products, quoting sales deals, or checking the numbers on a Shopify listing before you set a price. Because it also shows markup side by side, you can finally see why a 50% markup is not the same as a 50% margin, and pick your price accordingly.

Results update live as you edit, dividing by zero is handled gracefully, and the percentages are currency-independent โ€” enter cost and price in dollars, euros, pounds, or anything else. It is completely free, needs no sign-up, and runs entirely in your browser, so nothing you enter is uploaded or stored on a server. Price products and test deal profitability as privately and as often as you like.

Frequently asked questions

Is the Profit Margin Calculator free?
Yes, it is completely free to use with no sign-up, account, or limits.
What is the profit margin formula?
Profit is your selling price minus your cost. Margin is that profit divided by the selling price and multiplied by 100, while markup is the same profit divided by the cost. The calculator applies both formulas for you as you type.
How do I calculate gross profit margin?
Enter your cost of goods sold as the cost and your selling price, and the margin shown is your gross profit margin. It is the profit left after the direct cost of the product, expressed as a percentage of revenue.
Can it calculate net profit margin?
Yes. Net margin uses the same formula but a fuller cost figure. Add up every expense tied to the sale, such as product cost, fees, and shipping, enter that total as the cost, and the resulting margin is your net profit margin.
Does it show profit margin as a percentage?
Yes. Alongside your profit in dollars, it shows both margin and markup as percentages, so you can compare products or price points on a like-for-like basis no matter their size.
What is the difference between margin and markup?
Margin is profit as a percentage of the selling price (revenue), while markup is profit as a percentage of the cost. The same profit always produces a lower margin than markup.
Can I use this instead of Excel?
You can. It runs the same margin and markup math a spreadsheet would, but instantly and with no formulas to type, so you only need Excel when you want to save or share a larger sheet.
Can I use it for my Shopify store or retail products?
Yes. Enter what a product costs you and the price you plan to charge, and you will see the margin and markup on that item. It works well for retail pricing, sales quotes, and checking a Shopify listing before you publish it.
Why does margin or markup show a dash?
To avoid dividing by zero, margin requires a selling price above zero and markup requires a cost above zero. If either is zero, that percentage shows a dash.
Can I use it for any currency?
Yes. The math works with any currency and the percentages are currency-independent, so just enter your cost and price in whatever currency you use.
Is my data uploaded anywhere?
No. All calculations run entirely in your browser, and the numbers you enter never leave your device.