Profit & Margin

Gross Margin Calculator

Pure gross margin before ad spend and returns. The number you use to calculate break-even ROAS.

Inputs

$ Please enter a valid number.
$ Please enter a valid number.
$ Please enter a valid number.

Results

Gross profit per unit
Gross margin %
Implied break-even ROAS

All calculations run in your browser. Nothing is sent to a server. Last updated: 2026-07-19 · Formula verified against published sources (see below).

Formula
Gross margin % = (Selling price − COGS − Shipping) ÷ Selling price × 100

What this calculator does

Gross margin is profit per unit before ad spend, payment fees, and returns. It's the cleanest measure of product economics — the amount of money each sale generates to cover advertising, fixed costs, and (eventually) profit.

Use gross margin when comparing products, when calculating break-even ROAS, and when talking to investors. Use net profit when you want to know what actually hits your bank account.

The formula

Gross margin = selling price − COGS − shipping

Gross margin % = gross margin ÷ selling price × 100

This calculator does not include payment processing fees. Some calculators do; some don't. The break-even ROAS calculator on this site includes payment fees (use that one if you're computing ad thresholds).

Implied break-even ROAS

The calculator also shows the implied break-even ROAS for this product: 1 ÷ gross margin %. This is the simplest possible break-even ROAS — it ignores payment fees. Use the full Break-Even ROAS Calculator for the more accurate number.

Worked example: $40 product, $15 COGS, $5 shipping

MetricValue
Selling price$40.00
Product cost$15.00
Shipping$5.00
Gross profit$20.00
Gross margin %50.00%
Implied break-even ROAS2.00×

With payment fees included (use the full Break-Even ROAS Calculator), the number is closer to 2.16×. The 0.16× gap is what payment fees cost you.

Frequently asked questions

Why is gross margin higher than profit margin?
Because gross margin excludes ad spend, payment fees, and returns. Profit margin includes them. Gross margin is the ceiling; profit margin is the floor.
Not financial advice. This calculator is a math tool, not financial advice. Profit margins, ad spend, and business decisions depend on your specific situation. Consult a licensed accountant or financial advisor before making material business decisions.

Related tools & articles

Calculator

Dropshipping Profit Margin Calculator

Calculate the real profit margin on a dropshipping product after product cost, shipping, transaction fees, and ad spend.

Calculator

Break-Even ROAS Calculator

The exact ROAS your ads need to hit to not lose money. Considers selling price, COGS, shipping, and transaction fees.

Calculator

Contribution Margin Calculator

Contribution margin per unit and as a ratio — what each sale contributes toward covering fixed costs and profit.

Article

How to Calculate Dropshipping Profit Margin (With Real Numbers)

The exact math behind dropshipping profit margin, with a worked example and the three costs most beginners forget to include.

Article

What Is a Good Dropshipping Profit Margin in 2026?

Benchmarks by product category, sourced from real ecommerce data, plus the margin range that actually survives ad spend.