Keilim 18:1-2
Keilim 18:1
Beis Shammai say that a wooden chest is measured on the inside, while Beis Hillel say that it’s measured on the outside; both schools agree that the thickness of the legs and the rim are not included in the measurement. Rabbi Yosi says that both schools agree that the thickness of the legs and the rim are included but the space between them is not. Rabbi Shimon Shezuri says that if the legs are one handbreadth tall (or more), then the space between them is not included but otherwise (i.e., less than this), it is.
Keilim 18:2
If the wheels of a chest are removable, they’re not considered connected, nor are they included in its measurements, nor do they afford protection from corpse impurity in a tent along with the chest, nor may they be pulled on Shabbos if there’s money in them (because the wheel becomes a “base” to the money in it). If the wheels are not removable, they’re considered connected to the chest, they’re included in its measurements, they afford protection from corpse impurity in a tent along with the chest, and they may be pulled on Shabbos even if there’s money in them (since the wheel is part of the chest, it’s not a base to the money). If the arched lid of a chest is attached, it’s considered part of the chest and is measured with it; if it’s not attached, it’s not considered part of the chest and is not measured with it. The lid is measured as one does a wedge. Rabbi Yehuda says that if the chest can’t stand on its own, then it’s insusceptible to ritual impurity.