You must determine the following factors when calculating ecommerce shipping costs:
How fast you’d like the package to get to the destination.
How valuable the package is.
Where the package is going.
How much the package weighs.
The physical package dimensions.
Extra costs for unexpected issues and fees.