Profit Margin Calculator
Calculate gross profit and margin percentage.
Calculate gross profit and margin percentage.
How to use Profit Margin Calculator
- 1
Enter the cost of the item (what you paid or what it costs to produce).
- 2
Enter the selling price or revenue.
- 3
Read the gross profit (revenue minus cost).
- 4
Read the margin percentage and the markup percentage side by side.
Real examples of Profit Margin Calculator in action
Cost 80, sells for 100
Profit 20, margin 20%, markup 25%
Cost 60, target 40% margin
Sell at 100
Who is Profit Margin Calculator for?
Small business owners and ecommerce sellers pricing products
Freelancers and agencies setting rates that hit a target margin
Buyers and resellers checking whether a deal is worth it
Anyone who needs to explain margin versus markup clearly
Why use Profit Margin Calculator?
- Shows gross profit, margin, and markup together so you do not confuse the two percentages.
- Helps you set a selling price that hits a target margin instead of guessing.
- Updates instantly, so you can test several price points quickly.
- Works for products, services, or any cost-to-revenue calculation.
- Runs in your browser — your cost and pricing data never leave your device.
Common use cases
- Price a new product so it meets a target gross margin.
- Check whether a discount still leaves an acceptable margin.
- Compare the margin on several products to see which are most profitable.
- Explain to a client or partner the difference between margin and markup on a quote.
How Profit Margin Calculator compares to alternatives
Honest comparison to other popular options — pick the right tool for the job.
| Tool | Main limitation |
|---|---|
| Spreadsheet formula | Flexible but you must build and verify the margin-vs-markup formulas yourself |
| Platform margin calculators | Tied to a specific store platform and often upsell |
| Profit Margin Calculator | Free, runs in your browser, no sign-up, no watermarks, no file-size limits beyond your device memory. |
Limitations & things to know
- Calculates gross margin only; it does not deduct overhead, taxes, or operating costs
- Works on a single product or sale at a time, not a blended portfolio
About Profit Margin Calculator
Margin is the single number that decides whether a sale actually makes money, and getting it right starts with not confusing the two percentages people use. This free profit margin calculator takes a cost and a selling price and returns three things: the gross profit in currency, the profit margin as a percentage of revenue, and the markup as a percentage of cost. Gross profit margin is calculated as (revenue minus cost) divided by revenue, times 100. Markup is calculated as (revenue minus cost) divided by cost, times 100. They measure the same profit from different starting points, which is exactly why they are so easy to mix up: an item that costs 80 and sells for 100 has a 20% margin but a 25% markup. Quoting a 25% markup when a client expects a 25% margin can quietly erode your profit. Seeing both at once removes that ambiguity. The calculator is most useful when you work backward from a target. If you need a 40% margin and your cost is 60, the correct selling price is cost divided by (1 minus the margin), or 60 / 0.60 = 100, not simply cost plus 40%. Use the tool to test price points, check whether a planned discount still leaves an acceptable margin, and compare products to find the most profitable lines. Note that this is a gross margin figure: it does not subtract overhead, taxes, shipping, or operating expenses, so it shows the margin on the sale itself rather than net profit. All calculation runs locally in your browser, so your cost and pricing figures stay on your device.
Frequently asked questions
Your files never leave your device
Every tool on Xevon Tools runs 100% in your browser. No uploads, no servers, no tracking. Free forever.
Embed Profit Margin Calculator on your site
Add this tool to your own website, blog, or internal tool page with one line of code. Free to use, no attribution required (but appreciated).
<iframe src="https://www.xevontools.com/embed/profit-margin" width="100%" height="640" style="border:1px solid #e2e8f0;border-radius:12px;" title="Profit Margin Calculator — Xevon Tools"></iframe>
