Profit Margin & Markup Calculator
Calculate profit margin, markup percentage, and selling price from your cost and price. See the difference between margin and markup. No signup.
Pricing & Cost Inputs
What you paid for the item or material before markup.
What you charge the customer.
Pricing & Profit Breakdown
A 50.00% markup adds $20.00 on top of your $40.00 cost. Because margin divides profit by the final selling price ($60.00), your profit margin is 33.33%.
Stop Confusing Profit Margin and Markup
Enter your unit cost and either your actual selling price or your target margin/markup percentage to solve for all four pricing metrics simultaneously. Calculations execute purely in your web browser with zero server uploads, keeping your product costs and profit margins completely private.
Result Interpretation: Margin vs. Markup
- Profit Margin (%): Expresses your profit as a percentage of the final selling price. It answers: "Of every dollar a customer hands you at the register, what percentage do you keep as gross profit?"
- Markup Percentage (%): Expresses your profit as a percentage of your baseline unit cost. It answers: "What percentage did you add on top of what you paid wholesale?"
- Why They Are Always Different: Mixing up margin and markup is the single most common pricing error made by small businesses, contractors, and retail merchants. A 50% markup on a $40 cost yields a $60 price and a $20 profit — but that $20 profit represents only a 33.33% margin on the $60 sale, never 50%.
- Gross Profit per Unit: The net dollar difference between selling price and unit cost before deducting business overhead, warehouse rent, marketing, merchant payment fees, or employee wages.
How to Use This Calculator
- Enter your unit cost: Type what you paid for the product, raw material, or wholesale inventory item.
- Choose your second known variable: Select whether you know your current selling price, your target profit margin %, or your target markup %.
- Instant simultaneous solution: The engine automatically solves and displays the target selling price, unit profit, margin %, and markup % side by side.
- Evaluate pricing viability: Compare the difference between markup and margin to ensure your retail price covers all operational overhead.
Formulas & Calculation Logic
The mathematics behind product pricing and gross margins:
When Starting from Cost & Selling Price:
profit = selling_price − costmargin_percent = (profit ÷ selling_price) × 100markup_percent = (profit ÷ cost) × 100When Solving from Cost & Target Margin:
selling_price = cost ÷ (1 − (target_margin ÷ 100))profit = selling_price − costmarkup_percent = (profit ÷ cost) × 100When Solving from Cost & Target Markup:
selling_price = cost × (1 + (target_markup ÷ 100))profit = selling_price − costmargin_percent = (profit ÷ selling_price) × 100All monetary values round to the nearest cent ($0.01); percentage metrics round to two decimal places.
Real-World Worked Examples
Example 1: Starting from Cost and Selling Price
A boutique buys an item for $40.00 wholesale and lists it at $60.00 retail:
- Unit Cost: $40.00
- Selling Price: $60.00
- Profit:
$60.00 − $40.00 = $20.00 - Profit Margin:
($20.00 ÷ $60.00) × 100 = 33.33% - Markup Percentage:
($20.00 ÷ $40.00) × 100 = 50.00% - Key takeaway: A 50% markup produces a 33.33% margin.
Example 2: Target Margin Pricing
A manufacturer produces a product for $18.00 and requires a strict 40% gross profit margin:
- Unit Cost: $18.00
- Target Margin: 40.00%
- Selling Price:
$18.00 ÷ (1 − 0.40) = $18.00 ÷ 0.60 = $30.00 - Profit:
$30.00 − $18.00 = $12.00 - Equivalent Markup:
($12.00 ÷ $18.00) × 100 = 66.67% - Key takeaway: A 40% margin requires a 66.67% markup on cost.
Margin vs. Markup Quick Reference Table
Use this conversion table to quickly match standard retail markups with their resulting profit margins:
| Markup % (On Cost) | Resulting Margin % (On Price) | Price Multiplier | $100 Cost Worked Example |
|---|---|---|---|
| 15% | 13.0% | 1.15× | Cost $100 → Price $115 → Profit $15 |
| 25% | 20.0% | 1.25× | Cost $100 → Price $125 → Profit $25 |
| 33.3% | 25.0% | 1.33× | Cost $100 → Price $133.33 → Profit $33.33 |
| 50% | 33.3% | 1.50× | Cost $100 → Price $150 → Profit $50 |
| 75% | 42.9% | 1.75× | Cost $100 → Price $175 → Profit $75 |
| 100% | 50.0% | 2.00× (Keystone) | Cost $100 → Price $200 → Profit $100 |
| 200% | 66.7% | 3.00× | Cost $100 → Price $300 → Profit $200 |
| 300% | 75.0% | 4.00× | Cost $100 → Price $400 → Profit $300 |
Assumptions & Edge-Case Limitations
- Gross Unit Margins Only: This calculation accounts exclusively for direct product cost and selling price. It does not deduct merchant credit card processing fees (typically 2.9% + $0.30), inbound shipping, warehousing overhead, or sales tax unless you factor them into the cost.
- Undefined 100% Margin: A profit margin of 100% or higher is mathematically impossible in a standard purchase-resale model (it requires dividing by zero or selling at infinite price). The calculator flags target margins $\ge 100\%$ as invalid.
- Industry Variance: Ideal profit margins vary substantially across sectors: grocery stores often operate at 2%–5% net margins, restaurants at 10%–15%, clothing retail at 50% (keystone markup), and digital software at 80%+.
- No Financial or Accounting Advice: This tool performs pure gross unit arithmetic and should not be construed as certified financial planning, tax accounting, or legal business advisory.
Mandatory Financial Calculation Disclaimer
This calculator provides directional per-unit profit arithmetic based solely on the numbers you enter. It does not account for business overhead, customer return rates, payment gateway interchange fees, or local taxation. Always verify pricing decisions against your complete income statement and audited financial records.
Related Small Business & Compensation Calculators
Explore other verified business and wage planning tools on FivoTools: