Rankite
ServicesResultsToolsTeamAboutBlogCareersContactFree SEO Audit
Free tool

Profit Margin Calculator: Profit, Margin and Markup

Enter your cost and selling price to get your profit, profit margin and markup at once, so you can price with confidence, instantly and free with no signup.

Home / Tools / Profit Margin Calculator
Profit per unit
$60.00
Profit margin
60%
Markup on cost
150%

Built by Rankite, the SEO team behind Swordfish AI's +400% revenue and Zluri's +45% organic growth. See the case studies

Profit margin is the share of each sale you actually keep after the cost of the product. It is the number that decides whether a price is healthy or quietly bleeding you dry. This calculator takes your cost and your selling price and returns three figures at once: the profit per unit in dollars, the profit margin as a percentage of the price, and the markup as a percentage of the cost, so you can price a product and understand the result in one pass.

How to calculate profit margin

Start with profit: selling price minus cost. If a product costs you 40 dollars and sells for 100, your profit is 60 dollars. Profit margin expresses that profit as a share of the selling price, so it is 60 divided by 100, which is 60 percent. In other words, 60 cents of every dollar you charge is profit and 40 cents covers the cost. Margin is always calculated against the price, never the cost, which keeps it capped at 100 percent and makes it easy to compare across products.

The calculator updates all three numbers as you type, so you can nudge the price up or down and watch the margin move. That live feedback is the fastest way to find a price that hits a target margin.

Margin versus markup, and why they differ

Margin and markup describe the same profit from two different angles, and mixing them up is one of the most common pricing mistakes. Margin divides profit by the selling price. Markup divides the same profit by the cost. The 40 dollar product sold at 100 has a 60 percent margin but a 150 percent markup, because 60 dollars of profit is 60 percent of the 100 dollar price yet 150 percent of the 40 dollar cost.

The practical takeaway: a 50 percent markup does not give you a 50 percent margin. A 50 percent markup on a 40 dollar cost sells at 60 dollars, which is only a 33 percent margin. When a supplier or a spreadsheet quotes a percentage, always check which of the two they mean before you price.

What counts as a good profit margin

There is no universal answer, because margins vary wildly by industry. Grocery and general retail often run on single digit to low double digit margins and make it up on volume, while software, consulting and premium brands can hold margins of 70 percent or more. The honest test is whether your margin covers your overheads, marketing and tax with enough left to reinvest and still grow. Compare yourself to your own category, not to a headline number.

One reliable way to widen margins without touching price is to lower the cost of winning each customer. Organic search and AI citations bring in buyers you are not paying for click by click. If that sounds useful, request a free SEO audit and we will show you where cheaper, compounding demand is available to you.

Related articles

FAQ

Profit Margin Calculator: questions, answered

How do you calculate profit margin?
Subtract cost from selling price to get profit, then divide that profit by the selling price and multiply by 100. A product costing 40 dollars and selling for 100 has 60 dollars of profit, which is a 60 percent profit margin. Margin is always measured against the price, not the cost.
What is the difference between margin and markup?
Both measure the same profit, but from different bases. Margin divides profit by the selling price, while markup divides profit by the cost. The same 40 dollar product sold at 100 shows a 60 percent margin and a 150 percent markup. A 50 percent markup does not equal a 50 percent margin.
What is a good profit margin?
It depends entirely on the industry. Retail and grocery often run thin margins in the single digits and rely on volume, while software and premium brands can hold 70 percent or more. A good margin is one that covers your overheads, marketing and tax with room left to reinvest, judged against your own category.
Can profit margin be more than 100 percent?
No. Because margin is profit divided by the selling price, it can approach but never reach 100 percent, since profit can never exceed the full price. Markup, which divides by cost, has no such ceiling and can run well above 100 percent.
How do I set a price to hit a target margin?
Divide your cost by one minus the target margin as a decimal. To hit a 60 percent margin on a 40 dollar cost, divide 40 by 0.40, which gives a 100 dollar price. Type that price into the calculator and it will confirm the 60 percent margin.

More free tools

Let's grow

Ready to own page one?

Get a free, no-obligation SEO audit and a 30-minute strategy session. We'll show you exactly where the growth is hiding.

Book your free audit Explore services
Get in touch

Tell us about your project

Fill out the form and we'll get back to you within one business day. Prefer email? Write to us directly at contact@rankite.com.

Or copy our email and write to us directly: contact@rankite.com