How stacking strength is estimated.
The Packer estimates box compression strength with the McKee formula from the board's edge crush test (ECT) and caliper. Use your board supplier's ECT when you have it; the estimate is only as good as that number.
Real stacking strength drops with humidity, long storage, hand holes and print, so plants apply a safety factor. Treat the result as a planning estimate and test boxes for critical loads.
Use the outside size.
Pallet fit depends on the outside dimensions of the box, not the inside. A few millimetres of board thickness can decide whether one more box fits in a layer.