The paper presents a method for calculating the gas stream flow rate during well tests of gas and gas condensate wells using a diaphragm gauge of critical flow. The above method compensates the disadvantages of the described in the scientific and technical literature gas stream flow rate calculation methods during its flow through the diaphragm in the critical regime. For the proposed method are presented the testing results on gas and gas condensate wells of the north of the Tyumen region.