Margin Calculator Classic
Calculate profit margin, markup, and selling price with a simple classic margin calculator.
How is this calculated?
What This Calculator Does
This margin calculator determines the relationship between cost, selling price, profit margin, and markup. Enter any two values — typically cost and selling price, or cost and desired margin — and the calculator returns the missing figures. It is designed for straightforward profit analysis without unnecessary complexity.
How Margin and Markup Are Calculated
The calculator uses two distinct but related formulas. Understanding the difference between them prevents common pricing errors.
Profit Margin
Profit margin expresses profit as a percentage of the selling price. The formula is:
Margin (%) = ((Selling Price − Cost) ÷ Selling Price) × 100
For example, if an item costs $50 and sells for $100, the margin is 50%. This is the figure most commonly used in financial reporting and profitability analysis.
Markup
Markup expresses profit as a percentage of the cost. The formula is:
Markup (%) = ((Selling Price − Cost) ÷ Cost) × 100
Using the same numbers, the markup is 100%. A 50% margin is not the same as a 50% markup — a common point of confusion.
How to Use the Calculator
- Enter your cost price — the amount you paid to acquire or produce the item.
- Enter your selling price — the amount you charge the customer.
- The calculator instantly displays your profit margin, markup, and gross profit in dollars.
Alternatively, enter your cost and a desired margin or markup percentage to calculate the required selling price.
Example Calculation
A retailer purchases a product for $25 and wants a 40% profit margin. The calculator determines the selling price as follows:
Selling Price = Cost ÷ (1 − Margin)
Selling Price = $25 ÷ (1 − 0.40) = $25 ÷ 0.60 = $41.67
The gross profit is $16.67, and the markup is 66.7%.
Understanding the Results
The calculator returns three key figures:
- Gross Profit — the dollar amount remaining after subtracting cost from selling price. This is your absolute profit per unit.
- Profit Margin — the percentage of revenue that becomes profit. A higher margin indicates greater profitability relative to price.
- Markup — the percentage added to cost to arrive at the selling price. Useful for cost-plus pricing strategies.
Note that margin will always be lower than markup for the same transaction, except at 0% where they are equal.
Common Mistakes
- Confusing margin with markup. A 50% markup does not equal a 50% margin. Using the wrong figure can lead to underpricing or overpricing.
- Ignoring additional costs. This calculator uses only the direct cost you enter. It does not account for overhead, shipping, taxes, or transaction fees. Your true margin may be lower.
- Applying margin to cost incorrectly. To achieve a specific margin, divide cost by (1 − desired margin), not by the margin percentage itself.
Practical Use Cases
- Retail pricing — determine selling prices that meet target profit margins across product lines.
- Wholesale distribution — calculate markup percentages for B2B pricing agreements.
- Service businesses — set hourly rates or project fees based on desired profitability.
- E-commerce — evaluate whether current pricing covers costs and generates acceptable returns.
FAQ
What is the difference between margin and markup?
Margin is profit expressed as a percentage of the selling price. Markup is profit expressed as a percentage of the cost. For the same sale, markup will always be higher than margin. For example, a 25% margin equals a 33.3% markup.
Can I calculate selling price from cost and margin?
Yes. Enter the cost and the desired margin percentage. The calculator will return the selling price needed to achieve that margin.
Does this calculator include taxes or fees?
No. The calculator works with the cost and selling price you enter. It does not automatically account for sales tax, VAT, payment processing fees, or other variable costs. You should factor those into your cost or selling price manually.
Why does my margin seem lower than expected?
If your actual margin is lower than calculated, you may have omitted costs such as shipping, packaging, labor, or platform fees. Review your total cost per unit rather than just the purchase price.
What is a good profit margin?
Target margins vary by industry. Retail margins often range from 30% to 50%, while service businesses may target 50% to 80%. Compare your margins to industry benchmarks for a realistic assessment.