This is a long running issue with seemingly no proper answer.
What is the best way to go about creating accurate shipping costs for purchases of more than one item?
Delivery companies don't use a price per gram formula and many don't have an API also what about shipping small items and big items together when the small item can be packed in with the larger one.