The invention discloses a device for measuring the size of an object. The device comprises a first measuring container, a second measuring container and a sealing air bag; the first measuring container comprises a first box and a first cover, and a first air outlet used for being connected with a
vacuum pump and a first air inlet used for releasing air into the first box are formed in the first box; the second measuring container is used for being arranged in the first measuring container and comprises a second box and a second cover, a first air through hole is formed in the second box, the first air through hole is connected with the
vacuum pump and a flowmeter through a t-
branch pipe separately, when the first air through hole is communicated with the
vacuum pump, a vacuum in the container is achieved, the first air through hole is used for releasing air into the second measuring container when being communicated with the flowmeter, and a
pressure sensor is connected to the t-branchpipe and used for measuring the air pressure in the container; the sealing air bag is used for sealing the object to be measured. The invention further discloses a method for measuring the size and the
porosity of the object and a vacuum air sealing method. The device has the advantages that the structure is simple, the cost is low, measurement is accurate and reliable, the device is suitable formeasuring objects in various shapes, and the application range is wide.