The invention discloses a gas autoweighing device and gas autoweighing method. The device is composed of a shell, an operation panel, glass barrels, pressure sensors, upper lead limit switches, lower lead limit switches, a sample introduction channel and a sample sending channel, wherein the operation panel 12 is embedded in the surface of the shell 11, two glass barrels 1, 2 are arranged in the shell, and the top of the glass barrels is connected with the pressure sensors 5 and is connected with the sample introduction channel 7 and the sample introduction channel 8 through an air inlet valve and an air outlet valve; a piston rod 4 and a piston rod 3 are arranged in the glass barrels, the lower parts of the glass barrels are connected with ball screws 10, supports 19 are arranged outside the ball screws, the upper lead limit switches and the lower lead limit switches are arranged at the top or bottom of the supports, and the ball screws 10 are connected with motors 6. The device can be utilized to automatically weigh the gas, and is reliable in method and theory, convenient to operate, large in measuring range, strong in sealing property, small in error, high in working efficiency, and is capable of automatically accessing the measuring data, so that the device has a wide market prospect.