Link to Ebay Fee Calculator, which takes into account Ebay fees for shipping and Sales Tax, Shipping Costs, whether you are a Top Rated Seller (assuming your listings qualify for the discount), what category you are listing in, and other factors.
Don't know how exacting it is beyond that, but it's worth a spin.
https://www.ebayfeescalculator.com/usa-ebay-calculator/