If by spectrum you mean the frequency content of the light, then the spectrum width after passing through the prism is the same as that before entering it, assuming the propagation inside the prism is of linear nature. On the other hand, if you mean the width of the visible color spread, which is not the same as the spectrum defined previously, then you also need to specify the distance from prism back surface to the observation plane and the tilt of this plane. Rather than going through the trouble of specifying these parameters, it's much simpler to calculate the angular spread instead.