About this Ecommerce Gross Margin Calculator
Ecommerce gross margin should include the direct product cost, variable fees, and shipping subsidy that move with each sale.
Who this calculator is for
- Online store owners, ecommerce operators, and marketplace sellers modeling unit economics.
- Merchandising, fulfillment, and finance teams comparing price, cost, shipping, and fee assumptions.
- Founders preparing margin checks before changing packaging, promotions, bundles, or import plans.
When to use it
- Estimate profit from user-entered product, order, fulfillment, and recovery assumptions.
- Compare margin scenarios before publishing prices, discounts, shipping offers, or bundles.
- Document transparent formulas for ecommerce planning without relying on hidden platform defaults.
How to use this calculator
- Enter your own prices, costs, conversion rates, fees, and shipping assumptions.
- Review the primary output, then use supporting outputs to see which cost driver affects the result.
- Run conservative and optimistic scenarios before using the result in a forecast or promotion plan.
Key assumptions
- All prices, costs, rates, duties, shipping charges, and campaign assumptions are user-entered.
- Calculations are deterministic and run locally in the browser without uploading ecommerce or customer data.
- Results are planning estimates and do not include every tax, refund, chargeback, inventory, financing, or accounting adjustment.
Accuracy and testing
Review formula sources, default test cases, assumptions, unit handling, rounding rules, and changelog for this calculator.
How this calculator works
Inputs explained
Revenue
Selling price or average order revenue for the item or order being modeled.
COGS
Product cost, manufacturing cost, or wholesale cost for the sale.
Variable fees
Payment processing, marketplace, platform, pick-pack, or other per-order fees you want included.
Shipping subsidy
Shipping cost you absorb after customer-paid shipping, if any.
Understanding your results
Example scenarios
Practical scenario
$120 revenue, $42 COGS, $8.60 variable fees, and a $6.50 shipping subsidy produce $62.90 gross profit and a 52.42% gross margin.
Key Features
- Instant Calculation
- Private & Secure
- Mobile Optimized
Things to Keep in Mind
These calculators do not fetch live carrier rates, marketplace fees, duty schedules, ad platform data, exchange rates, tax rates, or fulfillment provider pricing. Enter the current assumptions that apply to your store.
Tips & Best Practices
- Use recent invoices, carrier bills, payment processor reports, and marketplace statements when available.
- Separate variable costs from fixed overhead so unit margin is easier to compare across products.
- Stress-test margin with higher shipping, lower conversion, higher waste, and deeper discount assumptions.
Glossary of Terms
- COGS
- Cost of goods sold, usually the direct cost to acquire, manufacture, or prepare the product sold.
- Shipping subsidy
- The portion of shipping cost paid by the merchant instead of the customer.