Margin Calculator
Calculate profit margin, gross profit, markup percentage, and revenue. Essential for pricing products and analyzing business profitability.
Enter Values
Fill in the fields and press Calculate to see instant results.
What is Profit Margin?
Profit Margin is a critical financial metric that represents what percentage of sales has turned into profits. Simply put, it shows how many cents of profit a business keeps for each dollar of sale.
For example, if a company reports a 25% gross margin, it means they retain $0.25 from each dollar of revenue generated, while the other $0.75 was spent directly on creating the product (Cost of Goods Sold). Tracking margins over time is the best way to determine if a company's pricing and cost control are healthy.
Our Margin Calculator simplifies pricing strategy. By inputting your cost and selling price, it instantly calculates your gross profit in dollars, your profit margin percentage, and the corresponding markup percentage.
π‘ The Golden Rule of Retail: Margin vs. Markup.Many new business owners confuse these two terms. Margin is based on the selling price (Revenue), while Markup is based on the cost. Because cost is always lower than revenue (in a profitable business), your markup percentage will always be higher than your margin percentage for the same product.
When Should You Use This Calculator?
π·οΈ Setting Retail Prices
Determine the exact price you need to charge for a product to achieve your target profit margin after manufacturing costs.
π Discount Analysis
Calculate how running a 20% off sale will impact your final gross profit and margin per item.
π€ Supplier Negotiations
See exactly how a $2 decrease in wholesale cost from a supplier will improve your bottom-line percentage.
π Financial Modeling
Model different pricing tiers (e.g., standard vs premium) to see which product line generates the most efficient profit.
The Formulas Explained
To fully understand your profitability, you need to understand three related equations: Gross Profit, Margin, and Markup.
Gross Profit = Revenue - Cost
Margin (%) = (Gross Profit / Revenue) Γ 100
Markup (%) = (Gross Profit / Cost) Γ 100
Variable Definitions
- Cost: Also known as Cost of Goods Sold (COGS). This includes only the direct costs to produce the item (materials, direct labor, freight-in). It does not include rent, marketing, or general salaries.
- Revenue: The final selling price the customer pays you.
- Gross Profit: The absolute dollar amount you make on the sale before operating expenses.
Step-by-Step Calculation Guide
Let's calculate the margin for a pair of shoes that costs $40 to manufacture and sells for $100:
Find the Gross Profit
Subtract Cost from Revenue: $100 - $40 = $60 Gross Profit.
Calculate Margin
Divide the Profit by the Revenue: $60 / $100 = 0.60. Multiply by 100 to get a 60% Margin.
Calculate Markup
Divide the Profit by the Cost: $60 / $40 = 1.50. Multiply by 100 to get a 150% Markup.
5 Real-World Examples
Retail Clothing
$25.00
$50.00
$25.00
50%
100%
Standard keystone pricing (doubling the cost).
Electronics
$400.00
$500.00
$100.00
20%
25%
High price, lower margin volume business.
Software SaaS
$5.00
$49.00
$44.00
89.8%
880%
Digital goods typically have extremely high gross margins.
Grocery Item
$3.50
$4.00
$0.50
12.5%
14.3%
High volume, very low margin.
Consulting Hour
$50.00
$150.00
$100.00
66.7%
200%
Service business where 'cost' is base employee wage.
Common Mistakes to Avoid
β Using Markup to project Revenue
Consequence: If you want a 50% margin, you cannot just mark up your cost by 50%. A $100 cost marked up 50% is $150. Profit is $50. $50 / $150 = 33% Margin, not 50%.
β Solution: To find the selling price for a desired margin, divide Cost by (1 - Margin). For a 50% margin on $100: $100 / (1 - 0.50) = $200.
β Including overhead in Cost of Goods Sold (COGS)
Consequence: If you include fixed costs like rent or marketing in your unit cost, your gross margin will look artificially low, leading you to overprice products and lose sales.
β Solution: Gross Margin only accounts for direct variable costs (materials, direct labor). Keep overhead separate to calculate Net Margin later.
β Ignoring payment processor fees
Consequence: If you sell a digital product for $10 with 0 COGS, you might think you have a 100% margin. But if Stripe takes 2.9% + $0.30, your actual revenue received is $9.41.
β Solution: Deduct merchant fees from revenue or add them to costs to get an accurate margin.
Tips & Best Practices
- High Volume = Low Margin: Businesses like grocery stores or Amazon rely on massive sales volumes, so they can afford very low margins (1-5%). Boutique or luxury businesses sell less volume and require high margins (50%+) to survive.
- Protect your margins from discounts: A 10% discount on a product with a 20% margin cuts your profit in half. Always run the math before offering storewide sales.
- The 'Rule of 72' equivalent for pricing: To get a 50% margin, double your cost (100% markup). To get a 33% margin, multiply cost by 1.5 (50% markup). To get a 25% margin, multiply cost by 1.33 (33% markup).
People Also Calculate
Frequently Asked Questions
What is the difference between margin and markup?
Margin is profit shown as a percentage of revenue (Profit / Revenue). Markup is profit shown as a percentage of cost (Profit / Cost). A product bought for $50 and sold for $100 has a 100% markup, but only a 50% margin.
What is a good profit margin?
A 'good' margin depends entirely on the industry. Grocery stores operate on 1-3% net margins due to high volume. SaaS businesses often target 80% gross margins. A general rule for average businesses is a 10% net profit margin.
Can profit margin be over 100%?
No. Gross profit margin can never exceed 100%, because the profit can never be greater than the total revenue itself. However, Markup can easily exceed 100% (e.g., buying for $10 and selling for $100 is a 900% markup).
How do I calculate revenue if I know my cost and desired margin?
To find the selling price (revenue) for a target margin, use this formula: Revenue = Cost / (1 - Margin). For example, to get a 20% margin on a $40 cost: $40 / (1 - 0.20) = $50 selling price.
What is Gross Margin vs Net Margin?
Gross margin only deducts the direct Costs of Goods Sold (COGS) from revenue (e.g., materials and direct labor). Net margin deducts all operating expenses, taxes, and interest to show the final bottom-line profitability of the business.
What is 'Keystone Pricing'?
Keystone pricing is a retail rule of thumb where merchandise is priced for resale at double the wholesale price. This equals a 100% markup and a 50% gross margin.
Why do businesses focus on margin instead of markup?
Margin is more useful for understanding the bottom line because it relates directly to the total money coming in (revenue). If a company makes $1M in revenue with a 20% margin, they know they have $200k left for operating expenses. Markup doesn't easily translate to top-line revenue.
Does lowering prices increase profit?
Lowering prices always decreases your profit margin per item. It only increases total profit if the price drop generates a sufficiently large increase in sales volume to offset the reduced profit per item (price elasticity of demand).
Conclusion
Understanding the interplay between cost, revenue, margin, and markup is arguably the most important skill for a business owner. Without a clear grasp of your margins, it is incredibly easy to price yourself out of the market, or worse, sell products at a loss.
Our Margin Calculator is designed to make these financial realities clear instantly. Use it before launching new products, running sales promotions, or negotiating with wholesale suppliers. Remember: revenue is vanity, profit is sanity, but margin is reality.
People Also Calculate
Calculators visitors commonly use alongside this one.
Sales Tax
Add tax to final price
Commission
Calculate sales commission
Discount
Apply discounts to margins
ROI
ROI vs margin comparison
Percent Off
Discount percentage approach