This free profit margin calculator from Nemin.io shows how much of your revenue you keep as profit. Enter your revenue and total cost to see your profit, profit margin and markup on cost, side by side.
It’s useful for pricing products and services, checking whether a project was worth it, or understanding the difference between margin and markup, which are often confused. Free, with no sign-up.
Profit Margin Calculator: Margin and Markup
Fill in the fields and click Calculate.
How the Nemin.io Profit Margin Calculator Works
- Profit = revenue − total cost
- Profit margin = profit ÷ revenue × 100
- Markup on cost = profit ÷ total cost × 100
Worked Example
A project brings in $15,000 and costs $5,000. Profit is $10,000, the profit margin is 66.67% and the markup is 200%. The same deal produces two very different-looking percentages, which is why it matters which one you use.
How to Use the Nemin.io Profit Margin Calculator
- Enter Revenue ($).
- Enter Total cost ($).
- Click Calculate margin to see your results instantly.
- Change one input at a time to compare scenarios, then click Reset to start again.
The Profit Margin Calculator runs entirely in your browser, so you can test as many scenarios as you like.
Margin vs Markup: What's the Difference?
| Profit margin | Markup | |
|---|---|---|
| Formula | Profit ÷ revenue | Profit ÷ cost |
| Answers | How much of each sale is profit? | How much is added on top of cost? |
| Can exceed 100%? | No | Yes |
A common pricing mistake is adding a 30% markup and expecting a 30% margin. A 30% markup gives only about a 23% margin.
Gross Margin vs Net Margin
Gross margin uses only the direct costs of delivering a product or service, such as materials or contractor fees. Net margin includes all business costs, including rent, software, salaries and taxes. Enter direct costs to see gross margin, or all costs to see net margin, and label your results so you compare like with like.
Example: Pricing for a Target Margin
To reach a target margin, divide your cost by (1 − target margin). Here is the price needed for an item that costs $70:
| Target margin | Price needed | Profit per sale | Equivalent markup |
|---|---|---|---|
| 20% | $87.50 | $17.50 | 25.00% |
| 30% | $100.00 | $30.00 | 42.86% |
| 40% | $116.67 | $46.67 | 66.67% |
| 50% | $140.00 | $70.00 | 100.00% |
Working backwards from a target margin is the most reliable way to avoid underpricing, especially when costs change.
Margin and Markup at Different Prices
With a total cost of $5,000, here’s how margin and markup compare at different revenue levels:
| Revenue | Profit | Profit margin | Markup |
|---|---|---|---|
| $6,000.00 | $1,000.00 | 16.67% | 20.00% |
| $7,500.00 | $2,500.00 | 33.33% | 50.00% |
| $10,000.00 | $5,000.00 | 50.00% | 100.00% |
| $15,000.00 | $10,000.00 | 66.67% | 200.00% |
Margin can never reach 100%, while markup can go far above it, which is why the two numbers should never be mixed up.
Who the Profit Margin Calculator Is For
- Business owners pricing products and services
- Freelancers checking whether projects are profitable
- Ecommerce sellers comparing product margins
- Agencies reviewing client profitability
- Anyone confused by margin vs markup
How to Improve Your Profit Margin
- Raise prices where your value supports it.
- Reduce direct costs by negotiating with suppliers or improving processes.
- Cut low-margin work that takes time without paying enough.
- Bundle services to increase order value.
- Track margins per product or client to find what’s really profitable.
Using Margin to Set Prices
To price for a target margin, divide your cost by (1 − target margin). For example, a $70 cost with a 30% target margin needs a price of $100. The Nemin.io Agency Retainer Calculator uses the same approach for monthly retainers.
Key Terms Explained
- Revenue: Total income from sales before costs.
- Gross margin: Profit after direct costs, as a share of revenue.
- Net margin: Profit after all costs, as a share of revenue.
- Markup: Profit as a share of cost.
- Cost of goods sold: The direct costs of producing what you sell.
Tips for Accurate Profit Margin Calculator Results
- Decide whether you want gross or net margin before entering costs.
- Use real costs from invoices and receipts.
- Check margins per product or client, not just overall.
- Never confuse a target margin with a markup.
Related Free Calculators
Margin tells you how profitable each sale is; break-even tells you how many sales you need. Try the Nemin.io Break-Even Calculator, the Nemin.io ROI Calculator and the Nemin.io Agency Retainer Calculator. All of them are free and work the same way as the Profit Margin Calculator, so you can move from one question to the next in seconds.
More Free Nemin.io Calculators
Try the other free calculators:
- Freelancer Hourly Rate Calculator
- Website Cost Calculator
- SEO Cost Calculator
- Google Ads Budget Calculator
- ROI Calculator
- Email Campaign ROI Calculator
- Break-Even Calculator
- Agency Retainer Calculator
- Social Media Pricing Calculator
- Word Counter
Read our guides:
- Nemin.io business calculators: complete guide to all 11 tools
- Nemin.io pricing calculators explained
- Nemin.io marketing budget calculators explained
- How to use Nemin.io: step-by-step guide
- Nemin.io vs spreadsheets
Browse all free Nemin.io tools or visit the Nemin.io homepage.
Profit Margin Calculator FAQs
Is the Nemin.io profit margin calculator free?
Yes. It’s free and runs in your browser.
How do I calculate profit margin?
Divide profit (revenue minus cost) by revenue and multiply by 100.
What's the difference between margin and markup?
Margin compares profit to revenue; markup compares profit to cost.
Can profit margin be negative?
Yes, if costs are higher than revenue.
What is a good profit margin?
It varies widely by industry and business model. Compare your margin over time and against similar businesses.
Should I use gross or net costs?
Use direct costs for gross margin or all costs for net margin, and be consistent.
Is a 50% markup the same as a 50% margin?
No. A 50% markup on a $100 cost gives a $150 price and $50 profit, which is a 33.33% margin, because margin is profit divided by price, while markup is profit divided by cost.
How do I convert markup to margin?
Margin = markup ÷ (1 + markup). For example, a 25% markup is 0.25 ÷ 1.25 = 20% margin. To go the other way, markup = margin ÷ (1 − margin).
How do I price a product for a target margin?
Divide your cost by (1 − target margin). For a $60 cost and a 40% target margin, the price is $60 ÷ 0.60 = $100.
Can profit margin be more than 100%?
No, as long as costs aren’t negative. Margin is profit as a share of revenue, and profit can’t be larger than revenue. Markup, on the other hand, can be well over 100%.





