Actually the cost of your listing AND the fee if sold are told to you BEFORE you confirm listing.

 

I am sure someone will come along with a screenshot of it but it states your listing cost is $xxxxx and that you will be charged $xxxxx if your item sells.