SkuWorth
Profitability

Gross Margin Calculator

Calculate gross profit dollars, gross margin percentage, and markup equivalent from revenue and COGS. Includes instant target-margin pricing tiers.

Revenue & Cost InputsKeystroke Reactive
$

Customer checkout price after promo discounts.

$

Factory manufacturing + freight + duties per unit.

$

Mailer box, bubble wrap, inserts, and 3PL pick/pack fee.

Raw Product COGS:$11.50
Packaging & Fulfillment:$2.50
Total Direct Cost:$14.00
Margin Performance Analysis
Healthy DTC Margin (60%+)
Gross Profit Margin Percentage
70.83%242.86% Markup Equiv.
Gross Profit ($)+$34.00
Total Direct Costs$14.00
Price Multiplier3.43× Cost
COGS: 24.0%Ship/Pkg: 5.2%Gross Margin: 70.8%
Target Margin Pricing Table (Based on $14.00 Cost)Price = Cost / (1 - Margin)
Target MarginRequired PriceGross ProfitMarkup Equiv.
Zero-storage · 100% in-browser

How It Works & Exact Technical Standard

In e-commerce financial modeling, gross profit margin is the single most vital health metric for measuring unit-level viability. It indicates what percentage of every customer dollar remains after paying for the physical creation and direct fulfillment of the item sold.

Core Gross Margin & Pricing Formulas

1. Dollar Gross Profit
Gross Profit = Net Revenue - Total COGS

Net revenue after discounts minus all direct product & fulfillment expenses.

2. Gross Profit Margin Percentage
Margin % = ((Revenue - COGS) / Revenue) × 100

Percentage of retail sales price retained as gross profit.

3. Target Margin Required Selling Price
Price = Total Cost / (1 - (Target Margin % / 100))

Solves the exact retail price required to achieve your target profit percentage.

4. Equivalent Markup Multiplier
Markup % = (Gross Profit / Total Cost) × 100

The cost-basis markup percentage equivalent to your gross margin.

Gross Margin vs. Net Profit Margin: Critical Accounting Distinctions

Many first-time entrepreneurs mistakenly equate a high gross margin with profitability. Understanding where costs sit on your Profit and Loss (P&L) statement prevents fatal miscalculations:

Financial MetricIncluded ExpensesExcluded Operating CostsTarget Healthy Range
Gross Profit MarginFactory COGS, freight, duties, product boxes, mailers, 3PL pack feesPaid ad spend, software tools, payroll, rent, legal, income taxes60% – 80% (DTC)
Net Profit MarginAll business expenses: COGS + OPEX + CAC + SaaS + Payroll + TaxesNone (True bottom-line money in bank)10% – 20% (Net)

Step-by-Step Instructions

  1. Calculate True Net Revenue: Enter your expected customer checkout price. If you run frequent 20% discount codes or offer free shipping over a threshold, use your realistic average net realized revenue rather than full list price.
  2. Aggregate Landed COGS: Enter unit manufacturing, ocean container shipping, import duties, and product packaging. This represents your pure product unit cost.
  3. Add Direct Packaging & Fulfillment: Include the physical shipping mailer box, thermal label, packing slip insert, and warehouse 3PL pick-pack fee. This produces your contribution gross margin, revealing whether individual orders cover their variable fulfillment costs.
  4. Analyze Margin Health & Ratios: Observe the live visual distribution bar. If direct product costs claim more than 35%–40% of revenue (leaving under 60% gross margin), review whether you have sufficient cash buffer to fund digital ad acquisition on Meta or TikTok.
  5. Use the Target Margin Table: Review the built-in pricing tiers (30% to 70%). To reposition a product for premium paid-traffic DTC acquisition, reference the 70% target price to establish an MSRP that supports higher ad bids and retail promotional headroom.

Worked Real-World E-Commerce Example

Case Study: Direct-to-Consumer Facial Serum (50ml)Skincare DTC Economics

An e-commerce beauty brand launches an organic Vitamin C Brightening Serum retailing at $48.00 on Shopify. The operations team calculates the all-in variable cost per unit:

Formulation, UV Amber Dropper Bottle & Silk Screen Print: $8.00
Air Freight Shipping & Inbound Customs Brokerage: $2.50
FSC-Certified Embossed Unit Box: $1.00
Subtotal Product COGS: $11.50
Corrugated Bubble Mailer & Fulfillment Pick/Pack: $2.50
Total Direct Delivered Cost: $14.00
Financial Output & Channel Margin Breakdown
Selling Price
$48.00
Direct Cost
$14.00
Gross Profit
+$34.00
Gross Margin
70.83%

With a 70.83% gross margin ($34.00 gross profit), the brand can comfortably allocate $18.00 for Meta Ads CAC (blended 2.67× ROAS), pay $1.69 in Shopify Payments (2.9% + $0.30), and reserve $1.00 for customer returns — still netting $13.31 pure profit per unit (27.7% Net Margin). If gross margin had only been 40% ($19.20 gross profit), the exact same ad campaign would have plunged the company into net bankruptcy.

Frequently Asked Questions

How do you calculate gross profit margin percentage?
To calculate gross profit margin percentage, subtract total Cost of Goods Sold (COGS) from net revenue to find gross dollar profit, then divide gross profit by net revenue and multiply by 100: Gross Margin % = ((Revenue - COGS) / Revenue) × 100. For example, if an item sells for $50.00 and has a landed COGS of $20.00, your gross profit is $30.00, yielding a gross profit margin of ($30.00 / $50.00) × 100 = 60.0%.
What is the difference between gross margin and net profit margin?
Gross profit margin measures profitability after deducting only direct production and fulfillment costs (COGS, freight, packaging, and merchant gateway fees). In contrast, net profit margin measures the final "bottom line" profit after deducting all operating expenses (OPEX) — including digital advertising (Meta/Google ad spend), software subscriptions, office rent, staff salaries, depreciation, and corporate income taxes. A brand can boast a 65% gross margin but still lose money if customer acquisition cost (CAC) exceeds gross profit.
Which expenses belong in Cost of Goods Sold (COGS) for e-commerce?
For e-commerce and retail brands, COGS strictly encompasses direct costs tied to creating and delivering the physical product: raw material sourcing, factory contract manufacturing, tooling molds, inbound international air or ocean freight, import tariffs and customs brokerage, protective product packaging, and unboxing collateral (instruction cards, custom tissue). SkuWorth also allows you to include direct fulfillment mailer costs to analyze true contribution gross margin.
What is a healthy gross margin benchmark for e-commerce and DTC brands?
For direct-to-consumer (DTC) e-commerce brands reliant on paid social acquisition (Meta, TikTok, Google Ads), a healthy gross profit margin is typically 65% to 80% (equivalent to a 185% to 400% markup). This gross buffer is necessary because marketing acquisition (CAC) routinely claims 25% to 35% of revenue, payment processing takes ~3%, and pick-pack 3PL operations take ~10%–15%, leaving a healthy 15%–20% net margin.
How do I calculate the selling price needed for a 50% gross margin?
To calculate the selling price needed for any target gross profit margin, divide your total unit cost by 1 minus the target margin decimal: Target Price = Total Cost / (1 - (Target Margin % / 100)). For a 50% gross margin, divide your cost by 0.50 (which is identical to multiplying your cost by 2). If an item costs $15.00 all-in, the target selling price is $15.00 / (1 - 0.50) = $30.00.
Why is gross margin always lower than markup percentage on the same product?
Gross margin is always numerically lower than markup because they divide the exact same dollar profit by two different denominators. Margin divides profit by the selling price (a larger number), while markup divides profit by cost (a smaller number). For example, on a $20 cost item sold for $40 ($20 profit), markup is $20 / $20 = 100%, whereas gross margin is $20 / $40 = 50%.

Related E-Commerce Tools

Cross-Silo Utilities