100 orders at $39.99 AOV
Ecommerce margin planner
Business Profit Margin Calculator
Calculate ecommerce profit after product cost, ads, shipping, platform fees, payment fees, and other selling costs. Built for Shopify, TikTok Shop, and marketplace-style product testing.
24.58% final margin
Revenue divided by pre-ad contribution
20% target margin
Inputs
Order, cost, and fee details
Advertising cost
Switch between campaign spend and per-order CPA.
Results
Final profit margin
75.42% of revenue
Tight unit economics
Profit divided by total cost
Cost breakdown
$3,015.94Minimum item price at this cost base
Max ad cost per order before profit hits zero
Revenue divided by ad spend
Profit is positive, but ads, refunds, or discounting can erase it quickly.
Hugging Face AI
Better margin ideas
GuideHow it works3 steps
Enter order economics
Add selling price, product cost, shipping, ad spend, platform fees, and the number of orders or units.
Review the margin
Check net profit, final margin, break-even ad spend, break-even ROAS, and the sale price needed for your target margin.
Ask AI for ideas
Send the calculated summary to the Hugging Face-backed AI endpoint for practical margin improvement suggestions.
More toolsRelated tools
FAQFrequently asked questions
How is ecommerce profit margin calculated?
The calculator subtracts product cost, ads, shipping cost, packaging or fulfillment cost, platform fees, payment fees, fixed fees, and other costs from gross revenue. Profit margin is net profit divided by gross revenue.
Can I use this for Shopify and TikTok Shop?
Yes. Enter the exact fee percentages and fixed order fees from your Shopify, TikTok Shop, payment provider, or marketplace statement.
Does ad spend calculate by total campaign or per order?
Both modes are supported. Use total ad spend for a campaign batch, or per-order ad cost when you already know your CPA.
What is break-even ROAS?
Break-even ROAS is the revenue divided by contribution before ads. If actual ROAS is above that number, the order set is profitable before tax and overhead assumptions.
Are taxes included?
No. This calculator focuses on unit economics before taxes. Add tax, refunds, chargebacks, warehouse fees, or agency fees in other costs if they belong in your model.