The volume of the space between the sphere and cube is equal to the volume of the sphere subtracted from the volume of the cube:

The volume of a cube is:

s is the length of each edge in the cube
The volume of a sphere is:

The diameter of the sphere is equal to the edge of the cube, then, its radiusr is:

Then, the volume of the space between the sphere and cube is:

s is 34 in

Then, the approximate volume of the space between the sphere and cube is 18724,47 cubic inches