Box sizing
Carton base diagonal
Check an initial length limit for a thin accessory laid from corner to corner.
Corner-to-corner span
cm
The example result is shown.
Worked example
Carton inside length 34 cmCarton inside width 25 cm
Corner-to-corner span 42.201896 cm
Calculation
hypot(a,b)
- a
- Carton inside length · cm
- b
- Carton inside width · cm