Calculate Margin, Markup, Profit, Cost, and Selling Price
Use this margin vs markup calculator to compare cost, selling price, profit, profit margin, and markup percentage in one place.
You can analyze a known cost and selling price, find a selling price from a target margin, find a price from markup, or convert margin to markup and markup to margin for clearer pricing decisions.
What is the Margin vs Markup Calculator?
A margin vs markup calculator helps explain two pricing terms that are often confused. Margin measures profit as a share of selling price, while markup measures profit as a share of cost.
This matters because the same percentage does not mean the same thing. A 50 percent markup is about a 33.33 percent margin, while a 50 percent margin requires a 100 percent markup.
Margin vs markup meaning
Profit margin shows how much of the selling price remains as profit after cost. If an item sells for 100 and costs 70, the profit is 30 and the margin is 30 percent.
Markup shows how much profit is added on top of cost. If an item costs 70 and sells for 100, the profit is 30 and the markup is about 42.86 percent.
Business owners, sellers, service providers, and students often compare both numbers because margin is useful for profitability and markup is useful for setting a selling price from cost.
How to use the Margin vs Markup Calculator
Choose the mode that matches your pricing question. Use cost and selling price mode when both numbers are known, or use target margin, target markup, or conversion modes when planning a new price.
- Choose analyze cost and selling price when you already know both values.
- Choose price from target margin when you want the selling price needed to reach a chosen profit margin.
- Choose price from markup when you want to add a markup percentage to cost.
- Choose fixed profit mode when you know the amount of profit you want per item or service.
- Use the margin-to-markup or markup-to-margin modes when you need to convert one pricing percentage into the other.
How each input affects the result
Use this guide before filling the calculator. It explains what the main input areas mean, how to enter them, and how each one can change the estimate.
| Input area | What it means | Impact on result |
| Calculation mode | Choose whether you want to analyze cost and price, price from target margin, price from markup, price from fixed profit, or convert margin and markup. | The mode controls which input drives the suggested selling price or conversion result. |
| Cost | Your product cost, service delivery cost, wholesale cost, labor cost, or unit cost. | Higher cost raises the selling price needed for the same margin, markup, or profit target. |
| Selling price | The price charged to the customer when you already know the selling price. | Used to calculate profit, margin, and markup in analyze mode. |
| Target margin | Profit as a percentage of selling price. | A higher target margin requires a higher selling price because profit is measured against revenue. |
| Markup percentage | Profit as a percentage added to cost. | A higher markup increases price by adding more profit on top of cost. |
| Target profit | Fixed money profit per unit, project, or service. | This adds a selected profit amount to cost and then shows the resulting margin and markup. |
What your results mean
After calculating, start with the main result card, then use the detail rows to understand why the number changed. This makes it easier to compare scenarios without guessing.
| Result line | What it means |
| Profit | Selling price minus cost. This is the amount earned before overhead, taxes, shipping, fees, or other costs not included in the cost field. |
| Profit margin | Profit divided by selling price. It shows the share of revenue that remains as profit. |
| Markup | Profit divided by cost. It shows how much profit is added on top of cost. |
| Suggested selling price | The price created by the selected pricing mode, such as target margin, markup, or fixed profit. |
| Margin to markup conversion | Shows the markup needed to produce a selected margin. |
| Markup to margin conversion | Shows the margin produced by a selected markup. |
Example
For example, if a product costs 60 and sells for 100, profit is 40. The profit margin is 40 percent because profit is measured against selling price. The markup is 66.67 percent because profit is measured against cost.
Why use this calculator?
Margin and markup mistakes can lead to underpricing, weak profit, or confusing pricing reports. This calculator keeps both views visible so you can check the difference before setting a price.
- Calculates profit from cost and selling price.
- Shows profit margin percentage and markup percentage side by side.
- Finds selling price from a target margin or markup.
- Converts margin to markup and markup to margin.
- Includes a simple conversion chart for common percentages.
- Useful for product pricing, service pricing, retail pricing, wholesale pricing, invoices, and classroom examples.
Best for
- Small business owners checking selling prices.
- Online sellers comparing cost, profit, margin, and markup.
- Service providers setting price from cost and target profit.
- Students learning the difference between markup and margin.
- Managers reviewing pricing or gross profit assumptions.
Pros and things to check
Potential benefits
- Shows margin and markup separately so the two percentages are not confused.
- Supports price planning from cost, target margin, target markup, or fixed profit.
- Useful for products, services, ecommerce, retail, wholesale, and simple business pricing.
- Includes conversion context for common searches such as 25 margin to markup and 30 margin to markup.
Important checks
- The calculator does not know your full overhead, labor, shipping, tax, marketplace fees, or discount strategy unless you include those costs in the cost input.
- Real pricing should also consider demand, competition, customer value, returns, fees, and cash flow.
- Accounting reports may define gross margin, net margin, and contribution margin differently, so confirm the metric you need.
Margin vs markup conversion guide
Use this table to understand common margin and markup relationships before pricing a product or service.
| Margin | Equivalent markup | Quick meaning |
| 10% | 11.11% | Small profit share of selling price |
| 20% | 25% | Common low margin pricing example |
| 25% | 33.33% | Often used in simple pricing examples |
| 30% | 42.86% | A 30% margin is not a 30% markup |
| 33.33% | 50% | A 50% markup gives about 33.33% margin |
| 50% | 100% | A 50% margin needs a 100% markup |
Pricing and accounting note
Margin and markup calculations are general pricing estimates. Real business decisions can change because of overhead, taxes, shipping, payment fees, platform fees, labor, discounts, inventory costs, accounting rules, and local requirements. Confirm important pricing, accounting, or tax decisions with a qualified professional.
FAQs
What is a margin vs markup calculator?
It calculates profit, margin percentage, markup percentage, selling price, or cost so you can compare the two pricing methods.
What is the difference between margin and markup?
Margin measures profit as a percentage of selling price. Markup measures profit as a percentage of cost. This is why the two percentages are not equal.
Is 20 percent margin the same as 20 percent markup?
No. A 20 percent margin needs a 25 percent markup. A 20 percent markup gives about a 16.67 percent margin.
What is 30 percent margin as markup?
A 30 percent margin is about a 42.86 percent markup because markup is calculated against cost instead of selling price.
What is 50 percent markup as margin?
A 50 percent markup is about a 33.33 percent margin. For example, 100 cost with 50 markup sells for 150 and earns 50 profit.
How do I calculate selling price from margin?
Use selling price = cost divided by one minus target margin as a decimal. For a 40 percent margin, divide cost by 0.60.
How do I calculate selling price from markup?
Use selling price = cost multiplied by one plus markup as a decimal. For a 50 percent markup, multiply cost by 1.50.
Which is better for pricing, margin or markup?
Both are useful. Markup is often easier when setting price from cost, while margin is often better for measuring profitability from sales.
Can this calculator be used for services?
Yes. Treat your service delivery cost, labor cost, or project cost as the cost input, then compare the selling price, margin, and markup.
Why is my real profit different?
Real profit can change because of overhead, taxes, shipping, platform fees, returns, labor, discounts, payment processing, and accounting treatment.
How do I use the Margin vs Markup Calculator?
Enter the values requested by the calculator, review the result summary, then adjust one input at a time to compare different scenarios.
What result should I check first?
Start with the main result at the top of the calculator, then use the detail table or explanation to understand how the number was produced.
Can I enter zero in optional fields?
Yes. If a field is optional, entering 0 should keep it at 0 rather than replacing it with a hidden default value.
Why can the final result be different?
Real results can vary because of local rules, provider settings, tax treatment, timing, personal details, and data accuracy.
Is this calculator exact?
No. It is a planning estimate based on the values you enter. Confirm important decisions with qualified sources where needed.
What information should I use?
Use the most recent records, statements, bills, documents, or estimates available so the result is as realistic as possible.
Can I compare more than one scenario?
Yes. Change one input at a time and compare how the result changes. This helps you understand which assumption matters most.