You can estimate the expense by how many numbers it takes to define each shape (not counting the transform):
A sphere takes one number: Radius.
A capsule takes two numbers: Radius and half-height.
A box takes three numbers: length, width, height.
So two capsules will need four numbers, and a box will still need three numbers, so a box will be cheaper.