How to Calculate Profit Margin for an Online Store

Updated November 2026

Net profit margin = net profit ÷ revenue. For an online seller, net profit is what's left after everything: product cost, platform fees, payment processing, shipping labels, packaging and ads.

Example order

Net profit = 29.99 − 7.00 − 5.20 − 0.60 − 3.30 = $13.89. Margin = 13.89 ÷ 29.99 = 46%.

Common mistakes

Check any single sale with the free fee calculators.

Seller Profit & Inventory Tracker

Let a spreadsheet calculate net profit and margin on every order automatically.

See Seller Profit & Inventory Tracker
Seller Profit and Inventory Tracker spreadsheet preview

Track profit on every order automatically

The Seller Profit & Inventory Tracker spreadsheet does this math for every order you sell, keeps your inventory up to date and builds a monthly profit dashboard. Works in Excel and Google Sheets, with fees pre-set for Etsy, Amazon, eBay, Shopify and TikTok Shop.

Get the spreadsheet: $12

Not ready? Download the free price calculator spreadsheet ($0).