Profit is a subtraction with a trap in the middle
The sale price minus the item cost minus postage minus fees looks trivial until you notice that eBay’s fee is not a percentage of your sale price. It is a percentage of the total amount of the sale, which includes the shipping you charge the buyer and any sales tax they pay. So the fee grows when you add shipping, and it grows again when the buyer is in a state with sales tax, even though neither of those adds a penny to your revenue.
Worked through: a $120 item sold with $8 shipping, a $40 cost of goods and $6 of postage. The total amount of the sale is $128. The final value fee at 13.6% is $17.41, the per-order fee is $0.40 and the insertion fee $0.35, $18.16 in fees. Subtract those, the $6 postage and the $40 item cost, and the profit is $63.84, a 49.9% margin on the $128 sale.
Now add a 2% promoted listing rate. The fee rises by $2.56 and the margin falls to 47.9%. That is the honest cost of advertising: two points of margin, not two percent of profit.
Pricing backwards from the margin you want
If you want a 30% margin, do not add 30% to your cost. Because fees are charged on the sale price, a target margin m and the fee rate f combine as price = cost ÷ (1 − f − m). With a 13.6% fee plus the fixed components, that denominator is around 0.56 for a 30% target, so a $40 item needs to sell at roughly $71 before postage is considered.
The formula gets less useful as the price falls, because the $0.40 per-order fee and the $0.35 insertion fee stop being rounding errors. On a $15 sale, those two flat fees are 5% of the sale on their own.
Where sellers lose margin without noticing
Four places. Charging shipping separately and then absorbing the difference when the label costs more. Using promoted listings on everything rather than on the items that need velocity. Listing quantities that do not sell, each of which still costs $0.35 beyond the monthly allowance. And refunds, which are outside this calculator: eBay credits most of the final value fee, but the per-order fee and promotion fees are treated differently, and returns postage is usually yours.
What this calculator does not know
Your time, packaging, storage, returns, and the promoted listing fees you spend on items that never sell. It also does not model store subscriptions, which lower the final value fee in some categories but add a monthly charge. If you run a store, your real fee is lower than the number here and your fixed cost is higher, the two roughly cancel at volume.