Business

Profit Margin Calculator

Enter any two values among COGS, selling price, or markup—we derive the third instantly. Dollar prefixes are visual helpers only; outputs stay numeric for any currency.

Inputs

Use plain numbers (commas optional). Leave one field blank—or edit markup—to solve for the missing figure.

Markup is profit divided by COGS, expressed as a percentage.

Knowledge base

Profit Margin vs. Markup: The Fatal E-commerce Mistake

Founders mix up margin and markup because both describe how much money remains after direct costs. The difference is the denominator. Markup divides gross profit by COGS: if you source a hoodie for $20 and sell it for $35, profit is $15 and markup is 15 ÷ 20 = 75%. That tells procurement how much lift they applied on top of acquisition cost.

Gross margin divides the same $15 profit by the selling price ($35), yielding roughly 42.9%. That tells finance and ads teams what fraction of each collected dollar survives before operating expenses. Using markup percentages while negotiating agency retainers or marketplace commission brackets systematically overstates room—because the margin denominator is larger—leading to underpriced bundles and accidental negative contribution after fees.

Algebraically, margin = markup ÷ (100 + markup) × 100 when markup is expressed as a percent of COGS, while markup = margin ÷ (100 − margin) × 100 when margin is expressed relative to revenue (for positive margins below 100%). Memorizing the pairing prevents Shopify drafts from stating “50% margin” when merchants actually applied a 50% markup—two radically different price floors once shipping subsidies or influencer commissions stack on top.

Spreadsheet templates worsen the confusion when macros reuse one percentage column for both KPIs. Separate labeled columns, freeze consistent formulas, and train buyers to speak in margin when discussing discount ladders while procurement keeps markup handy for supplier negotiations—your ERP SKUs will thank you when audits reconcile purchase orders to storefront pricing.

What is a Good Profit Margin for Your Industry?

Benchmarks only work when everyone counts COGS the same way—typically variable product cost plus inbound freight, duties, and packaging, excluding HQ salaries. With that baseline: dropshipping operators often land in the high teens to mid twenties gross margin after supplier invoices and dispute reserves; falling below 15% leaves little buffer once acquisition costs spike.

Branded retail with owned inventory frequently targets 45–60%+ gross margin so wholesale partners can still double-stack discounts during seasonal sells. Mass merchant assortments may survive closer to 25–35% when turnover velocity compensates.

Software and digital goods can report 70–90%+ gross margins because incremental delivery costs approach zero, yet customer-success payroll and cloud resale still belong below the line—avoid confusing gross margin with Rule of 40 benchmarks that blend profitability and growth.

Treat these figures as directional guardrails: compare against your trailing twelve months, cohort refund rates, and planned promo calendar rather than a single headline SKU.

Subscription commerce blending physical kits with digital bonuses should split SKUs so hardware COGS does not dilute margin narratives tied to software renewal streams—mixed allocations confuse lenders reviewing covenant tests tied to gross profitability.

Frequently asked questions

Why is gross margin calculated on revenue but markup on COGS?

Gross margin expresses profit as a share of the selling price ((Revenue − COGS) ÷ Revenue), which answers “what portion of each dollar sold drops to contribution after direct costs.” Markup expresses the same profit relative to cost ((Revenue − COGS) ÷ COGS), which answers “how much lift did we apply on top of cost?” The two percentages diverge whenever COGS ≠ revenue; treating them as interchangeable systematically mis-prices bundles.

Can gross margin exceed 100% or go negative?

Margin approaches but never reaches 100% while COGS stays positive because COGS consumes part of revenue. If revenue hits zero while COGS remains positive, margin is undefined for pricing purposes. Negative margins occur when COGS exceeds revenue—common during liquidation tests or faulty landed-cost allocations—and should trigger repricing or unit economics reviews.

Should I include payment processing fees inside COGS?

For merchant-level decisions, many teams either deduct payment fees immediately after revenue (net revenue approach) or fold processor fees into COGS when those fees scale per unit sold. The critical rule is consistency: compare SKU-level margins using the same definition across catalogs and periods so merchandising dashboards remain trustworthy.

How often should I recalculate margins when FX or supplier rates move?

Whenever negotiated supplier prices, tariff schedules, freight brackets, or hedged FX assumptions change, refresh landed COGS before committing to promos. High-velocity dropship catalogs benefit from weekly checks during volatile seasons; slower retail assortments may survive monthly reviews but should still stress-test worst-case COGS spikes.

Next steps

Layer campaign ROI on healthy unit economics, then publish logistics clarity at checkout.

Copied