Margin Analysis
Gross Margin
Definition
The percentage of revenue remaining after subtracting the cost of goods sold, a foundational profitability metric that excludes operating expenses, taxes, and interest.
By Herzel MishelFounder, AgentisLast reviewed
Gross margin is calculated as (Revenue − COGS) ÷ Revenue, expressed as a percentage. It represents the portion of each dollar of sales available to cover operating expenses and generate profit. In ecommerce, gross margin varies dramatically by category: apparel typically runs 50–65%, electronics 15–25%, and consumables 30–45%. However, headline gross margin figures often mask per-order variability caused by discount stacking, freight cost differentials, and COGS decay. A merchant with a reported 45% gross margin may have individual orders ranging from −5% to 70%. This distribution matters more than the average, because negative-margin orders destroy value that profitable orders must subsidize. Effective margin intelligence requires calculating gross margin at the order level in real time, not as a monthly aggregate.
Sources
Related Terms
Margin Analysis
Contribution Margin
The revenue remaining after deducting all variable costs associated with fulfilling an order, including COGS, shipping, payment processing fees, and pick-and-pack labor.
Margin Analysis
Order Profitability
The true net profit of a single order after deducting all variable costs: COGS, shipping, discounts, payment fees, fulfillment labor, and return allowances.
Cost Management
Landed Cost
The total cost of a product delivered to the customer, including COGS, freight, duties, tariffs, insurance, and handling fees.
More in Margin Analysis
Related Solutions
Agentis Solution
Ecommerce Margin Protection Software
Per-order, per-SKU, and per-channel profitability from your ERP, logistics, and FX data, checked on every order within 60 seconds so below-margin orders can be stopped before fulfillment.
Agentis Solution
Multi-Channel Margin Management
Compare true per-order profitability across your Shopify, Shopify Plus, and SHOPLINE storefronts and B2B orders, with channel-specific fee models and live ERP cost data.
See how Agentis compares to other ecommerce profit tools → View all comparisons