Margin Calculator
Calculate gross profit margin for your products x or find the selling price or cost from a target margin.
Margin Calculator
Margin Formula
- Gross Margin %
- The percentage of revenue that remains after subtracting the cost of goods sold.
- Revenue
- The selling price or total revenue from sales.
- COGS
- Cost of goods sold x direct costs to produce or purchase the product.
Rearranged:
Selling Price = COGS / (1 ? Margin%/100)
COGS = Revenue x (1 ? Margin%/100)
Note: Margin x Markup. A 40% margin = 66.7% markup. See the Markup Calculator.
Example
For every $100 in sales, $40 is gross profit available to cover operating expenses and generate net profit. Whether 40% is good depends on your industry x software aims for 70%+, grocery retail is often below 25%.
How to Improve Your Profit Margins
Profit margin is the most direct indicator of pricing health and cost efficiency. Unlike revenue, high margins give you pricing power, competitive resilience, and capital to reinvest. Here's how ecommerce and product businesses systematically improve their margins.
1. Negotiate Better COGS
For product businesses, COGS is the primary margin lever. Negotiate volume discounts with suppliers (even small businesses can get 10-20% reductions by committing to volume). Source from manufacturers directly rather than distributors. Consolidate suppliers to increase per-supplier spend and bargaining leverage. Review COGS annually x costs you accepted when starting are often improvable once you have transaction history.
2. Raise Prices Strategically
Most businesses undercharge. A 10% price increase with 0% volume loss creates a 10% revenue increase that flows almost entirely to gross profit. Test price increases on new customers first (no existing customer disruption), use anchoring (show a higher-priced option to make your target price feel reasonable), and frame increases around value additions rather than announcing "prices went up."
3. Shift Product Mix Toward High-Margin Items
Not all products deserve equal shelf space or marketing investment. Identify your highest-margin SKUs and promote them more aggressively x feature them prominently on your site, give them better ad budgets, and train your team to upsell toward them. Bundle low-margin products with high-margin accessories to raise blended order margin.
4. Reduce Shipping and Fulfillment Costs
Shipping is often the second-largest COGS component for ecommerce. Optimize packaging dimensions (dimensional weight pricing penalizes oversized boxes). Use a 3PL for better carrier rates. Ship from multiple locations to reduce zone-based costs. Negotiate rate cards directly with UPS/FedEx once you reach sufficient volume (typically $20K+/month).
5. Reduce Returns Rate
Returns directly destroy margin x you pay return shipping, lose the sale, and often can't resell the item at full price. Reduce returns by improving product descriptions and photos (set accurate expectations), adding size guides, using post-purchase emails to ensure customer success, and reviewing your most-returned products for quality or expectation gaps.
What Is a Good Gross Margin?
Benchmarks by sector: SaaS / digital products: 70-90%. Brand DTC ecommerce: 50-70%. Fashion/apparel: 50-65%. Consumer electronics: 25-35%. Grocery/CPG: 20-35%. Use industry benchmarks as a floor, not a ceiling x the best businesses in every category consistently outperform averages.