We’re not fussy; grab a ruler and use inches or centimeters. And regardless of what you learned in school - make sure to always round up.
Measure at the widest points of the package - your box may be slightly larger in the middle than at the fold. Bowed or irregular packaging could result in additional handling fees being assessed by the courier.