Retail Price Margin Calculator
Enter your product cost and selling price to calculate gross profit, margin percentage, and markup percentage. You can also leave selling price blank and enter a target margin to calculate the required retail price.
How to use this calculator
This tool works as both a margin calculator and a pricing calculator for retail products. You can use it in two ways:
- Scenario 1: Enter cost and retail price to see your actual margin and markup.
- Scenario 2: Enter cost and target margin (leave retail blank) to get the retail price you should charge.
If you also include quantity, the calculator projects total revenue, total cost, and total profit for that batch size.
Why margin matters in retail
Revenue looks exciting, but margin is what keeps a retail business alive. If your margins are too thin, a small increase in shipping fees, returns, ad costs, or supplier pricing can erase profits quickly. Healthy gross margins give you room to:
- Run promotions without losing money.
- Cover overhead such as payroll, rent, software, and utilities.
- Invest in inventory growth and marketing.
- Handle slow seasons and unexpected expenses.
That is why most product-based businesses track margin by SKU, category, and channel, not just at the total business level.
Margin vs markup (they are not the same)
Gross Margin %
Margin shows profit as a percentage of selling price.
Formula: Margin % = (Retail Price - Cost) / Retail Price × 100
Markup %
Markup shows profit as a percentage of cost.
Formula: Markup % = (Retail Price - Cost) / Cost × 100
Example: If an item costs $20 and sells for $30, profit is $10. Margin is 33.33%, while markup is 50.00%. Many people mix these up and underprice products as a result.
Core retail pricing formulas
- Profit per unit: Retail Price − Cost
- Margin %: (Profit ÷ Retail Price) × 100
- Markup %: (Profit ÷ Cost) × 100
- Retail price from target margin: Cost ÷ (1 − Target Margin)
For the last formula, margin must be converted to decimal. A 40% target margin means 0.40 in the equation.
Practical pricing strategy tips
1. Start with landed cost, not just invoice cost
Include freight, import duties, packaging, labeling, payment fees, and warehouse handling. If you only use supplier invoice cost, your real margin will be lower than expected.
2. Price by channel
Margins may differ between your own site, marketplaces, wholesale accounts, and social commerce. Each channel has different fees, return rates, and customer acquisition costs.
3. Protect margin with price architecture
Use good-better-best tiers and bundles. This can raise average order value while keeping entry-level pricing competitive.
4. Review margin monthly
Supplier changes and shipping volatility can quietly crush profitability. Make monthly margin checks part of your operating routine.
Common pricing mistakes to avoid
- Using markup targets when you intended margin targets.
- Ignoring discount impact (e.g., 20% off can dramatically reduce margin).
- Applying one blanket margin target to all products.
- Not accounting for shrinkage, returns, and damaged inventory.
- Copying competitor prices without understanding your own cost structure.
Quick FAQ
What is a good retail margin?
It depends on category, turnover, and business model. Many retail categories operate in the 30% to 60% gross margin range, but the right number is the one that sustainably covers your operating costs and growth goals.
Can I use this as a gross profit calculator?
Yes. Enter cost and retail price to get per-unit and total gross profit based on quantity.
Does this include operating expenses?
No. This calculator focuses on product-level gross margin. Net profit requires adding operating costs such as salaries, rent, software, marketing, and taxes.
Should I calculate margin before or after discounts?
Both. Use full-price margin for planning and discounted margin for promotional analysis. Promotions can look successful on revenue while hurting profit.