You could set up by weight by changing your ship settings to weight, and then the weight of each product. That’s just one way I’ve seen this done, if you want to control shipping costs more.
This might help with where to set up shipping settings / understanding more how they work: https://help.shopify.com/en/manual/shipping/setting-up-and-managing-your-shipping/setting-up-shipping-rates