If you need to calculate shipping cost based on product attributes, including weight, you should use our Shipping Table Rates extension.