The volume of the cuboid equals the volume of the cube.

Volume of cube = 28³ = 21952 cm³.
Volume of cuboid = 28 × w × 14 = 392w.

392w = 21952
w = 21952 ÷ 392 = 56 cm.

Final Answer: 56 cm