Fill the box with unit cubes and count them — the formula is a shortcut for that count, not a rule to memorise.