Profit Margin Calculator
Instantly calculate your profit margin, markup percentage, and projected earnings. Enter your cost and selling price — results update in real time.
Enter your cost and selling price to instantly see your profit margin, markup percentage, and projected earnings.
How to Use the Profit Margin Calculator
Choose your currency from 10 options, then enter your cost price and selling price.
Enter the number of units you sell per month to see monthly and annual profit projections.
See your profit, margin %, markup %, and cost as a percentage of selling price — all auto-calculated.
Profit Margin Calculator Example
Let's walk through a real-world example. Suppose you source a product for $15.00 and sell it for $39.99. Here's the full breakdown:
That means 62.5 cents of every dollarin revenue is profit before operating expenses. At 100 units per month, that's $2,499/month or $29,988/year in gross profit.
Margins at Different Price Points
Here's how the same $15 cost product performs at different selling prices:
| Selling Price | Profit | Margin % | Markup % | Annual (100 units/mo) |
|---|---|---|---|---|
| $25.00 | $10.00 | 40.0% | 66.7% | $12,000/year |
| $29.99 | $14.99 | 50.0% | 99.9% | $17,988/year |
| $39.99 | $24.99 | 62.5% | 166.6% | $29,988/year |
| $49.99 | $34.99 | 70.0% | 233.3% | $41,988/year |
| $59.99 | $44.99 | 75.0% | 300.0% | $53,988/year |
Increasing your selling price from $25 to $39.99 — a 60% increase — nearly triples your profit margin from 40% to 62.5%. Small price adjustments can have an outsized impact on profitability.
How Profit Margin Is Calculated
Understanding the difference between margin and markup is essential for pricing products correctly. Here are the two key formulas:
The percentage of your selling price that is profit. This is the metric most analysts and accountants prefer.
A 50% margin means half of every dollar earned is profit.
Example:($25 profit ÷ $50 selling) × 100 = 50% margin.
The percentage added on top of your cost to set the selling price. Commonly used for day-to-day pricing.
A 100% markup means you doubled the cost to set the price.
Example:($25 profit ÷ $25 cost) × 100 = 100% markup.
Profit Margin vs. Markup
Margin and markup both describe profitability, but they use different bases for the calculation. Confusing the two is one of the most common pricing mistakes in ecommerce. A 50% markup is notthe same as a 50% margin — it's actually only a 33.3% margin.
When to Use Margin
Use margin for financial reporting, comparing profitability across products, evaluating business health, and communicating with investors or accountants. Margin is based on revenue.
When to Use Markup
Use markup when setting prices, negotiating with suppliers, or comparing wholesale vs. retail pricing. Markup is based on cost, making it intuitive for pricing decisions.
Common Conversion Gotchas
A 50% markup = 33.3% margin. A 100% markup = 50% margin. A 200% markup = 66.7% margin. Markup is always a larger number than margin for the same product.
Industry Standards
Retail apparel: 50-60% margin. Electronics: 10-20% margin. Food & beverage: 30-40% margin. Luxury goods: 60-80% margin. SaaS products: 70-90% margin.
Common Pricing Mistakes
Pricing your products correctly is critical to ecommerce success. Avoid these common mistakes:
- Confusing margin with markup— A 50% markup only gives you a 33.3% margin. If you target a 50% margin but apply a 50% markup, you'll underprice every product and erode your profitability.
- Ignoring all costs — Your cost price should include not just the product cost, but also shipping, packaging, transaction fees, and returns. A $15 product might actually cost you $22 after fulfillment and payment processing.
- Racing to the bottom on price — Competing purely on price erodes margins for everyone. Instead, differentiate on value, branding, or customer experience to justify higher prices.
- Not testing price points — Many sellers set a price once and never revisit it. A/B testing different price points can reveal that customers are willing to pay more than you assumed, directly boosting your margin.
- Forgetting about discounts in margin math — If you frequently run 20% off sales, your effective margin is much lower than your listed margin. Calculate your margins at the discounted price, not the full price.
Tips to Improve Your Profit Margin
Whether you're just starting out or looking to optimize an established store, these strategies can help you increase profitability:
- Negotiate with suppliers — Even small reductions in cost price (5-10%) can significantly increase your margin. Order in bulk, build long-term relationships, or source from multiple suppliers to get competitive pricing.
- Bundle products together — Bundling increases average order value and allows you to set a higher total price. Customers perceive bundles as better value, even when your per-unit margin is higher.
- Reduce return rates — Returns eat directly into your margin. Improve product descriptions, add sizing guides, use high-quality photos, and set clear expectations to minimize returns.
- Optimize shipping costs— Negotiate carrier rates, use regional fulfillment centers, and consider flat-rate shipping that's baked into the product price. Every dollar saved on shipping goes straight to your margin.
- Increase perceived value — Better packaging, brand storytelling, and customer service can justify premium pricing without increasing your costs. A $2 upgrade in packaging might support a $10 price increase.
- Upsell and cross-sell — High-margin accessories and add-ons can dramatically improve your blended margin. A phone case with 80% margin improves the overall margin on a phone sale with 15% margin.
- Review pricing regularly — Costs, competition, and demand change over time. Review your pricing quarterly and adjust margins based on current data rather than assumptions.
Frequently Asked Questions
What is the difference between profit margin and markup?
What is a good profit margin for ecommerce?
How do I calculate profit margin in Excel?
Is this calculator free to use?
How do I convert markup to margin?
What is the formula for profit margin?
What currencies does the calculator support?
Should I price based on margin or markup?
More Free Tools
Explore our other free tools built for merchants and online sellers: