Calculateus

E-Commerce Profit Calculator

Calculate true net profit per sale after product cost, platform fees, payment processing, and shipping.

Result

Net Profit per Sale
$16.03
Net Profit Margin
40.1%
Platform Fee
$6.00
Payment Processing Fee
$1.46
Total Costs
$23.96

About the E-Commerce Profit Calculator

The E-Commerce Profit Calculator breaks a single online sale down into every cost that stands between the sticker price and actual take-home profit: product cost, shipping, the marketplace or platform's referral fee, and payment processing. It's built for sellers who want to know their real per-sale margin, not just gross revenue minus cost of goods.

How It Works

You enter the selling price, product cost (COGS), shipping cost, the platform's fee as a percentage of price, and the payment processor's percentage plus fixed fee. The calculator computes the platform fee and payment fee as dollar amounts based on the price entered, adds all four cost components together, and subtracts that total from the selling price to show net profit and net margin.

platformFee = sellingPrice x platformFeePct/100; paymentFee = (sellingPrice x paymentFeePct/100) + paymentFeeFixed; totalCosts = productCost + shippingCost + platformFee + paymentFee; netProfit = sellingPrice - totalCosts; netMargin = (netProfit / sellingPrice) x 100

Examples

Standard online store sale

A $39.99 item with $12 product cost, $4.50 shipping, a 15% platform fee ($6.00), and a 2.9% + $0.30 payment fee ($1.46) totals $23.96 in costs, leaving $16.03 net profit and a margin of about 40.1%.

Low-price, fee-heavy item

A $14.99 item with $5 product cost, $3 shipping, the same 15% platform fee ($2.25), and the same payment fee structure ($0.73) leaves only $3.99 in profit and a margin near 26.6%, showing how fixed fees erode margin faster on lower-priced items.

Advantages

  • Separates platform fees from payment processing fees, which are easy to conflate but calculated differently and charged by different parties
  • Accounts for the fixed per-transaction fee that flat percentage-only calculators miss, which matters most on lower-priced items
  • Produces a per-sale margin figure that can be compared instantly across products or platforms with different fee structures

Common Mistakes

  • Using a generic profit margin calculator that only subtracts product cost, ignoring platform and processing fees that can eat 15-20% of revenue
  • Forgetting the fixed component of payment processing fees, which disproportionately hurts margin on low-priced products
  • Entering platform fee as a flat dollar amount instead of the percentage the platform actually charges, since referral fees are almost always price-based

Edge Cases to Watch For

  • A selling price of zero or less is rejected with an error, since margin percentage cannot be computed without a positive denominator.
  • The payment processing fee combines a percentage and a fixed fee (mirroring how processors like Stripe or PayPal actually charge), so leaving the fixed fee at zero will understate true processing cost for that kind of provider.
  • Platform fee is calculated as a flat percentage of the full selling price; it does not model tiered or category-specific fee schedules some marketplaces use above certain price thresholds.

Common Use Cases

  • An online store owner pricing a new product and checking whether the margin covers overhead after all transaction costs
  • A seller comparing net profit across marketplaces or payment processors with different fee structures
  • Anyone auditing an existing product catalog to find listings where fees have quietly compressed margin below target
Written & fact-checked by the Calculateus TeamLast updated August 5, 2026How we verify our formulas

Frequently asked questions

How is this different from a basic profit margin calculator?

A basic margin calculator only subtracts one cost figure from price. This one breaks out the specific costs that eat into e-commerce sales - product cost, shipping, marketplace/platform referral fees, and payment processing - so you can see exactly where your margin is going.

Conclusion

By itemizing platform fees and payment processing separately from product and shipping cost, this calculator shows exactly where a sale's margin is being spent rather than just a single net number. Recheck it whenever a marketplace changes its fee schedule or a processor's rates shift, since those changes compound across every sale.