The present disclosure discloses a method and apparatus for testing vital capacity. The method comprises: measuring a static pressure P0 of a pressure hole inner cavity of a mobile device; wherein the pressure hole is communicated with the exterior and is purposely disposed on the mobile device or is an already-designed opening; obtaining an air pressure P(t) at each moment by blowing air towards the pressure hole; obtaining an air flow speed v(t) corresponding to each moment according to a correspondence relation formula between the air flow speed v(t) and a pressure differential P(t)−P0; and obtaining vital capacity Vc of the subject according to a correspondence relationship between a measurement time t and the air flow speed v(t). The technical solution obtains the vital capacity of the subject according to the correspondence relationship between the air flow speed and the measurement time, can effectively improve the vital capacity measurement precision, does not cause damages to related components of the testing apparatus, and is completely different from the solution of using a microphone to measure the vital capacity in the prior art.