The formula
The volume of a box is length x width x height, all in the same unit. A box 12 x 10 x 8 in holds 12 x 10 x 8 = 960 cubic inches.
Measure in centimeters and the answer is in cubic centimeters; in feet, cubic feet. Mixing units is the most common mistake, so convert first or let the calculator do it.