Profit Margin Calculator
Use this calculator to find your total revenue, total cost, profit, profit margin, and markup. Add an optional target margin to see the selling price needed per unit.
What Is Profit Margin?
Profit margin tells you how much of every sales dollar you keep as profit after covering costs. It is one of the most useful business metrics because it helps you evaluate pricing, cost control, and overall profitability at a glance.
For example, if your margin is 25%, you keep $0.25 in profit for every $1.00 in revenue. The rest goes to your expenses.
Profit Margin Formula
Profit Margin (%) = (Profit / Revenue) × 100
- Profit = Revenue − Cost
- Revenue = Selling Price × Units Sold
- Cost = Cost Price × Units Sold
How to Use This Profit Margin Calculator
- Enter your cost price per unit (what it costs you to produce or buy one unit).
- Enter your selling price per unit (what you charge customers).
- Enter units sold to calculate totals.
- Optionally enter a target margin to see the selling price needed to hit that goal.
- Click Calculate to view results instantly.
Understanding Margin vs. Markup
These terms are often confused:
- Margin is based on revenue. It answers: “What percentage of sales is profit?”
- Markup is based on cost. It answers: “How much did I increase the price over cost?”
Because they use different bases, margin and markup are never the same number. A product with 50% markup has a 33.33% margin.
Quick Examples
Example 1: Product Business
You sell candles for $30 each. Cost per candle is $18. You sell 200 units.
- Revenue = $30 × 200 = $6,000
- Cost = $18 × 200 = $3,600
- Profit = $2,400
- Margin = ($2,400 / $6,000) × 100 = 40%
Example 2: Service Business
You provide design packages at $1,200. Your cost per project is $700. You complete 15 projects.
- Revenue = $18,000
- Cost = $10,500
- Profit = $7,500
- Margin = 41.67%
Types of Profit Margin
1. Gross Margin
Revenue minus direct production costs (COGS). Useful for product-level profitability.
2. Operating Margin
Includes overhead like rent, payroll, and software. Better for understanding business operations.
3. Net Margin
Bottom-line profitability after all expenses, taxes, and interest.
This calculator focuses on a straightforward revenue vs. cost model, which is ideal for pricing decisions and quick analysis.
How to Improve Profit Margin
- Raise prices strategically: test price increases and track conversion impact.
- Reduce variable costs: negotiate supplier terms, reduce waste, or improve procurement.
- Increase average order value: bundles, upsells, and subscriptions can improve margin profile.
- Focus on high-margin products: prioritize offerings with stronger contribution.
- Automate repetitive tasks: lower labor cost per unit sold.
Common Profit Margin Mistakes
- Ignoring hidden costs like shipping, transaction fees, returns, or packaging.
- Using markup when you intended to target margin.
- Setting one static price for all channels despite different cost structures.
- Not reviewing margins regularly as supplier and advertising costs change.
Profit Margin Benchmarks (General Ranges)
Margins vary by industry, product category, market position, and operating model. Still, rough ranges can be helpful:
- Ecommerce retail: often 10%–30% gross margin depending niche and shipping model
- Software and digital products: frequently 60%+ gross margin
- Consulting/services: can range from 30%–70% based on utilization and pricing power
- Food and beverage: often tighter margins due to labor and ingredient volatility
Final Thoughts
A profit margin calculator is a practical tool for owners, freelancers, ecommerce operators, and finance teams. Use it before launching products, adjusting prices, or forecasting growth. Small margin improvements can create major profit gains over time.