Hycos.ai
  • Solutions
    Margin governance use cases
    Industries
    Persona playbooks
    Integrations
    NetSuite, Shopify Plus, more
    Shopify
    Small-store landing ($29+/mo)
  • Blog
    Margin governance & ecommerce CFO
    Case Studies
    Customer outcomes & verified metrics
    Calculators
    Profit, tariff, FX tools
    Glossary
    49 ecommerce-finance terms
    Benchmarks
    Category margin data
  • Compare
  • Alternatives
  • Pricing
  • 7-Day Profit Audit
  1. Home
  2. /
  3. Glossary
  4. /
  5. Gross Margin

Margin Analysis

Gross Margin

By Herzel Mishel · Founder, Agentis · Last reviewed May 5, 2026

Definition

The percentage of revenue remaining after subtracting the cost of goods sold, a foundational profitability metric that excludes operating expenses, taxes, and interest.

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.

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

→Checkout Margin Erosion→Margin Intelligence→Margin Collision→Discount Stacking→Margin Leakage→SKU-Level Profitability
Browse all 49+ glossary terms →

Related Solutions

Agentis Solution

Ecommerce Margin Intelligence

Real-time visibility into per-order, per-SKU, and per-channel profitability using live data from your ERP, logistics, and FX systems.

Agentis Solution

Multi-Channel Margin Management

Get a single view of profitability across Shopify, Amazon, and wholesale channels. Agentis enforces per-channel profit floors with live cost data from your ERP.

See how Agentis compares to other ecommerce profit tools → View all comparisons

Back to Glossary

Product

  • Solutions
  • Industries
  • Integrations
  • Compare
  • Alternatives
  • Shopify Stores

Resources

  • Blog
  • Case Studies
  • Calculators
  • Glossary
  • Benchmarks
  • Free Profit Calculator

Company

  • About
  • Authors
  • Contact
  • Pricing

Legal

  • Privacy
  • Terms
© 2026 Hycos.ai All rights reserved.Last updated: May 2026
Investor Access