A free calculator to find your profit margin, gross margin, and more. Enter your cost and selling price — we will do the math.
Margin tells you how much profit you make from selling something. If you buy a product for $50 and sell it for $80, your profit is $30. The margin shows how big that profit is, compared to the selling price.
In this case:
It is a quick way to check if your business is making enough money from each sale.
Use this formula:
Margin (%) = (Selling Price - Cost Price) ÷ Selling Price × 100
Below is the breakdown with an example:
So you are keeping 60 cents for every dollar of revenue.
They are often used interchangeably, but here is the difference:
This calculator focuses on gross margin. If you are running a small shop or ecommerce business, this is the one you will likely need.
This is one of the most common confusions in pricing.
Below is an example:
After calculate both result is:
So, In the above scenario Margin is 50%, and Markup is 100%
They give you different numbers even though the cost and selling price are the same.
When to use each:
Most businesses stick to one method for consistency usually margin, because it directly shows how much profit you keep from each sale.
Whether you sell t-shirts, digital products, or coffee mugs — knowing your margin helps you price right and avoid undercharging.
Let's say you want a 30% margin, and your cost is $70. Use this formula:
Selling Price = Cost Price ÷ (1 – Desired Margin)
So you’ll need to sell at $100 to hit a 30% margin.
Example:
Assume you are a Shopify seller and you import custom mugs at $5 each and want 40% margin.
Now you know the minimum you should charge to stay profitable.
It depends on your industry. Most small businesses aim for at least 20%. In tech and software, margins can be much higher.
No. Margin is based on the selling price. Markup is based on the cost price. Example: If your cost is $50 and margin is 50%, selling price is $100. But with a 50% markup, your selling price would be $75.
Absolutely. As long as you know your cost and what you want to charge, it works the same way.
Yes, just switch to the reverse mode and input your cost and desired margin.