$
What you pay to produce or purchase the product before selling it.
$
The price the customer pays - your total revenue per unit sold.
$
Revenue minus COGS. The dollars left over before operating expenses.
%
Gross Profit expressed as a percentage of Selling Price (Revenue).
%
Gross Profit expressed as a percentage of Cost. How much above cost you charge.

📈

Enter any two values above to see your margin, markup, and profit breakdown.

The Complete Business Guide to Margin, Markup, and Product Pricing

For anyone selling a physical product or running a retail or e-commerce business, understanding the difference between Gross Margin and Markup is one of the most foundational financial skills you can develop. These two numbers look similar on the surface but measure completely different things, and confusing them is one of the most common and costly mistakes new business owners make. Gross Margin tells you how much of your revenue you actually keep after paying for the product itself. Markup tells you how much you have inflated the cost to arrive at your selling price. Both are valid tools, but they are answering different questions.

Gross Profit is simply the money left over after you subtract the Cost of Goods Sold (COGS) from your Revenue. If you buy a product for $40 and sell it for $100, your gross profit is $60. This $60 is what covers your operating expenses (rent, labor, marketing, shipping) and contributes to your net profit. Gross Profit is a dollar figure. Gross Margin converts that dollar figure into a percentage of the selling price: in this example, $60 / $100 = 60% gross margin. This percentage is enormously useful because it stays consistent regardless of the unit volume, making it easy to compare profitability across different products in your catalog.

Markup, by contrast, is calculated against the cost, not the revenue. Using the same example - a $40 cost and $100 selling price - the markup is ($60 / $40) x 100 = 150%. This means you have marked the price up 150% above what you paid for it. The critical insight here is that a 150% markup does NOT produce a 150% margin. The markup percentage will always be higher than the margin percentage for the same product. This asymmetry is the source of enormous confusion in retail pricing, and understanding it analytically gives you a significant competitive and financial advantage.

The core difference is their denominator - the number you divide by. Gross Margin uses Selling Price (Revenue) as its base, while Markup uses Cost as its base. Because selling price is always greater than cost (assuming a profitable sale), gross margin as a percentage will always be lower than the equivalent markup percentage.

Think of it this way: Gross Margin answers the question "Out of every dollar of revenue, how many cents do I keep as gross profit?" Markup answers the question "How many cents did I add on top of every dollar I spent on inventory?" Both are correct calculations - they are just measuring two different things. Most financial analysts, investors, and accountants prefer to use Gross Margin because it is tied directly to Revenue, making comparisons across companies and industries much cleaner.

Quick conversion formulas:
Margin = Markup / (1 + Markup)
Markup = Margin / (1 - Margin)

This is one of the most widespread financial mistakes in small business. A business owner might set a 50% markup on all products, thinking they are keeping 50 cents of every sales dollar. In reality, a 50% markup on a $10 product produces a $15 selling price - and the gross margin on that sale is only 33.3%, not 50%. If that same owner believed their margin was 50% and built a business plan around it, they would dramatically underestimate how many sales they need to cover overhead.

The confusion is largely a language problem. In everyday conversation, people say things like "I marked it up 30%" and "I make 30% on that," using the terms interchangeably when they are mathematically distinct. Retail industry suppliers often quote "keystone pricing" (100% markup, which equals 50% gross margin) without being explicit about which metric they are discussing. The safest habit is to always specify whether you are talking about a percentage of cost (markup) or a percentage of revenue (margin), and to use a calculator like this one to verify.

If you know your cost and you have a target gross margin in mind, the formula for your selling price is:

Selling Price = Cost / (1 - Target Margin %)

For example, if your COGS is $25 and you want a 60% gross margin:
Selling Price = $25 / (1 - 0.60) = $25 / 0.40 = $62.50

You can verify this: Profit = $62.50 - $25 = $37.50. Margin = $37.50 / $62.50 = 60%. Correct. This formula is the standard approach used in retail merchandise planning and ensures you always back-calculate from a Revenue baseline rather than a Cost baseline, which is the operationally sound approach for a sustainable business.

Using this calculator: enter your Cost in the COGS field and your target Margin % in the Gross Margin field. The tool will automatically compute your required Selling Price, Gross Profit, and Markup.

"Healthy" depends heavily on the industry, business model, and operating cost structure. That said, here are widely referenced benchmarks as general guidance:

Grocery and fresh food retail: 20-35% gross margin. These businesses operate on very high volume with thin margins.
General retail and consumer goods: 40-60% gross margin. "Keystone pricing" (doubling the cost, which yields ~50% margin) is the traditional retail standard.
Fashion and apparel: 50-70% gross margin. Higher margins offset high return rates and seasonal inventory risk.
Health, beauty, and supplements: 60-80% gross margin. Strong brand perception and perceived value support premium pricing.
Digital products and software: 70-95% gross margin. Near-zero COGS once the product is built.

The critical thing to remember is that Gross Margin is NOT your take-home profit. It must also cover operating expenses like marketing, platform fees, fulfillment, shipping, and salaries before you arrive at net profit. A 50% gross margin sounds healthy, but if your operating expenses consume 45% of revenue, your net margin is only 5%. Always build your pricing to target a gross margin that comfortably exceeds your total overhead as a percentage of sales.

Cost of Goods Sold (COGS) refers to the direct costs that are attributable to the production or purchase of the products you sell. It does NOT include operating expenses like rent, marketing, or customer service salaries - those are classified separately as operating expenses.

For a product-based business, COGS typically includes: the purchase price or manufacturing cost of the item, inbound shipping and freight to receive the goods at your warehouse, import duties and tariffs, packaging materials (if integral to the product), and direct labor costs directly tied to making the product (for manufacturers).

Accurately calculating your true COGS is critical because underestimating it inflates your apparent gross margin. Many new sellers forget to include freight or packaging costs in their COGS, leading them to believe their margins are healthier than they actually are. When setting prices, always use a fully-loaded COGS figure that captures every direct cost required to get one sellable unit into your hands.

Disclaimer: This tool provides calculations for educational purposes only. Business owners should verify final pricing structures, wholesale volume discounts, and localized sales taxes independently before setting retail prices.