24 cartons when the maximum height is 60 inches, before weight. That is 6 per layer and 4 layers.
6. Both orientations give the same layer.
The pallet calculator holds back 8 inches of a 60-inch maximum for the deck. 52 divided by 12 is 4 layers.