Profit Margin Calculator

Calculate your profit margin to understand how much profit you make on each sale relative to your revenue.

Commerce Tally provides free educational calculators for ecommerce sellers. All results are estimates only and should not be considered financial, tax, legal, accounting, shipping, or business advice.

Calculate Profit Margin
Enter your revenue and total costs
$
$

Cost of goods (COGS)

$

Packaging & shipping per unit

$

Etsy, eBay, Amazon, etc.

$

Stripe, PayPal, etc.

$

Any other cost per unit

Total cost: $0.00

Your margin is only as good as your price

Know your margin? Make sure your price covers the fees

Processing fees, shipping, and returns all cut into margin. Check the full cost stack before you set your final price.

Run the same sale through the marketplace and payment calculators to see every layer of fees.

Last updated: July 17, 2026 | Reviewed by the Commerce Tally Editorial Team

About This Profit Margin Calculator

Use the profit margin calculator to understand how much of each sale remains after the costs required to sell the product. For ecommerce sellers, the useful cost number is rarely only the wholesale cost. It may include packaging, inbound freight, marketplace fees, payment processing, fulfillment, ads, returns, and handling supplies.

How to Use the Calculator

  1. Enter the sale price or revenue for one unit or order.
  2. Break the cost of that sale into its parts — product cost, shipping, marketplace fees, payment processing, and any other costs. The calculator adds them into a total cost automatically.
  3. Review the profit amount and margin percentage.
  4. Compare the result with your target margin before changing price or spend.
  5. Recalculate when supplier costs, shipping rates, or marketplace fees change.

How the Math Works

The calculator adds every cost field — product cost, shipping, marketplace fees, payment processing, and other costs — into a single total cost. Profit equals revenue minus that total cost. Profit margin equals profit divided by revenue, multiplied by 100. Margin uses revenue as the denominator, while markup uses cost, so the two percentages are not interchangeable.

Calculator results are estimates, not official platform statements. Marketplace fees, processor rates, carrier charges, taxes, return costs, and discounts can change by category, region, seller account, customer location, and timing. Use the result as a planning checkpoint, then confirm important assumptions with your marketplace dashboard, accounting records, shipping software, or a qualified professional.

Interpretation Tips

  • Include payment and marketplace fees when calculating true ecommerce margin.
  • Separate gross margin from net margin if you also track overhead, payroll, software, and ads.
  • A low margin product can still work if turnover is fast and returns are low, but it leaves less room for mistakes.
  • Use margin by SKU instead of only storewide averages so weak products do not hide behind strong ones.

Profit Margin Calculator FAQ

What is a good ecommerce profit margin?

It depends on category, fulfillment model, competition, return rate, and advertising costs. Many sellers track margin by product rather than relying on one universal target.

Should shipping be included in cost?

Yes if you pay for shipping, subsidize shipping, include free shipping, or absorb part of the fulfillment cost.

Why is margin different from markup?

Margin compares profit to revenue. Markup compares profit to cost. The same sale can have very different margin and markup percentages.