Profit Margin Calculator
Calculate gross margin, net margin, markup, and selling price · essential for pricing any product or service.
How to Use This Calculator
Formula:
Gross Margin (%) = [(Selling Price − Cost) ÷ Selling Price] × 100; Markup (%) = [(Selling Price − Cost) ÷ Cost] × 100; Target Price = Cost ÷ (1 − Margin)
- Choose your operating currency (USD $ or INR ₹) and select one of the three calculation modes: Margin from Cost/Price, Find Selling Price, or P&L Analysis.
- In 'Margin from Cost/Price', enter your landed Cost Price, Selling Price, and optional Units Sold to compute Gross Profit per Unit, Gross Margin %, Markup %, and total profit.
- Switch to 'Find Selling Price', enter your Cost Price, choose whether to price by Target Gross Margin (%) or Target Markup (%), and input your desired percentage.
- Select 'P&L Analysis' and enter Total Revenue, COGS, Operating Expenses, Interest Expense, and Tax Rate (%) to see Gross Margin, EBIT Operating Margin, and bottom-line Net Margin.
- Expand 'Margin vs Markup Quick Reference' below the results to view instant conversions from 10% up to 200% markup.
Frequently Asked Questions
Markup divides profit by cost, so if you buy an item for $20 and sell it for $80, your $60 profit is 300% of your $20 cost. Gross margin divides profit by selling price: that same $60 profit divided by the $80 selling price equals a 75% gross margin. Unless your product has literally $0.00 cost of goods sold, profit will always be smaller than selling price, capping gross margin strictly below 100%.
Divide the markup decimal by (1 + markup decimal). For example, a 50% markup (0.50) converts to 0.50 ÷ (1 + 0.50) = 0.3333, or a 33.3% gross margin. Conversely, to find the markup required to achieve a target gross margin, divide the margin decimal by (1 − margin decimal): a 40% target margin requires a 0.40 ÷ (1 − 0.40) = 66.7% markup on cost.
Keystone pricing means doubling the wholesale landed cost of an item—applying a 100% markup to achieve an exact 50.0% gross profit margin (buying at $25, selling at $50). While keystone remains standard in apparel, gift shops, and jewelry, it falls short in high-return online categories or perishable goods where 15%–25% markdowns, free-shipping subsidies, and return restocking wipe out half the initial margin.
EBIT (Earnings Before Interest and Taxes), also called operating profit margin, measures how efficiently your core business operations generate profit after paying COGS and day-to-day SG&A overhead, independent of how the business is financed or taxed. Net profit margin goes two steps further by subtracting loan interest payments and corporate income taxes, showing the exact percentage of revenue available for dividends or retained earnings.
On a $100 item with a $65 cost (35% gross margin, $35 gross profit), offering a 15% discount drops the selling price to $85 while your product cost stays fixed at $65. Your unit profit drops from $35 down to $20—a 42.9% plunge in profit per sale! You must sell 75% more units ($35 ÷ $20 = 1.75x volume) just to earn the same total gross profit dollars.
Include in COGS only direct costs tied to producing or acquiring goods sold: raw materials, wholesale inventory cost, inbound freight and customs duties, primary packaging, and direct production/fulfillment labor. Put fixed office rent, administrative and executive salaries, marketing and paid ads, software subscriptions, insurance, and legal/accounting retainers into Operating Expenses.