Gross Margin vs. Markup: The Difference That Matters
Gross margin and markup both describe the relationship between cost and profit, but they use different bases for their percentage calculation. Gross margin expresses profit as a percentage of the selling price. Markup expresses profit as a percentage of the cost. For a product costing $60 and selling for $100: gross profit is $40, gross margin is 40% ($40 ÷ $100), and markup is 66.7% ($40 ÷ $60).
Why Margin Benchmarks Matter
Every industry has a range of typical gross margins that reflect the competitive environment, cost structures, and value delivered. Retail margins typically run 40–60%, digital products and software 70–90%, food service 10–25%, and professional services 50–70%. If your margin is well below your industry norm, it may indicate your costs are too high, your pricing is too low, or your product mix needs adjustment. If it is significantly above the norm, you either have a strong competitive advantage — or your prices may be too high and costing you volume.
The Role of Payment Processor Fees in Margin
One margin-eroding cost that many e-commerce sellers underestimate is payment processor fees. If you sell a $100 product with a $40 cost, your gross margin looks like 60%. But if you accept payment via PayPal (3.49% + $0.49), you pay $3.98 in fees, reducing your actual profit to $36.02 — a real margin of about 36%. Always include payment processor fees in your cost calculation when assessing true margin, especially if your products are lower-priced where the fixed fee component becomes a higher percentage.
Setting Prices for Target Margin
If you know your cost and have a target gross margin, you can work backwards to find your required selling price: Price = Cost ÷ (1 − Target Margin). For a $60 cost product targeting a 50% margin: Price = $60 ÷ 0.50 = $120. Many business owners make the mistake of applying a markup instead — a 50% markup on $60 gives $90, but that is only a 33% margin, not 50%. Using this calculator alongside our payment fee calculator gives you a complete picture of real profitability.
How to Use the Profit Margin Calculator
Enter the direct cost of producing or delivering one item, then enter its selling price. Units sold per month are optional and allow the calculator to estimate monthly and annual totals. Choose an industry only when you want a broad comparison with the displayed benchmark range. The calculator then shows gross profit, gross margin, markup, cost ratio, and pricing scenarios so you can see how a different selling price would change the result.
Gross Profit Is Not the Same as Net Profit
Gross profit subtracts direct cost from sales revenue, but a business may still have operating expenses such as rent, salaries, advertising, software, shipping, taxes, payment fees, and loan interest. The result from this tool is therefore a product-level gross margin estimate, not a complete income statement. Include the costs that apply to your business before deciding whether a price is sustainable.
Example: Margin and Markup
If an item costs $60 and sells for $100, the gross profit is $40. Gross margin is $40 divided by $100, or 40%. Markup is $40 divided by $60, or 66.7%. These are both correct but answer different questions: margin describes profit as a share of revenue, while markup describes profit as a share of cost.
Profit Margin Calculator Questions
What is a good profit margin?
There is no universal target. Retail, food, software, manufacturing, and professional services have different costs and pricing models. Compare with your own historical results and relevant industry information.
Should payment fees be included in cost?
If a fee is charged on every sale, include it when assessing the margin you actually keep. You can estimate it with the Payment Processor Fee Calculator linked in the business tools.
Does this calculate net profit?
No. It estimates gross profit and related ratios from the cost and selling price you enter. Operating expenses and taxes require a broader business calculation.