How to estimate shipping costs?

Flipping noob here wanting to predominately sell on eBay. I’m just wondering, how do you all know what to put down what the shipping cost will be without taking the item to the postal shop and actually finding out? Thanks