Not all products in the shipment have a stored weight. This results in deviations in the calculation of the weight.
Therefore, maintain the weight in all products under Master data > Products > Details. The number of decimal places in the parcel marker dialog and in the article master data must be identical, otherwise there will be deviations.
In addition, you must maintain this field in the shipping type:

You can find more information in our manual: