A method and a device for calculating a breathing frequency of a medical breathing device. The method comprises: recording breathing data in real time, the data comprising the time of each inspiration and an inspiration state, and the inspiration state comprising with-inspiration and without-inspiration(S102) and each time the breathing data is recorded, calculating the breathing frequency of the medical breathing device according to data recorded in the current recording operation and data recorded within a preset period of time prior to the current recording operation (S104). Through the method and the device, the problem of slow calculation of the breathing frequency can be solved, and the breathing frequency of a patient can be calculated within a time as short as possible.Linvention porte sur un procédé et sur un dispositif de calcul dune fréquence respiratoire dun dispositif respiratoire médical. Le procédé consiste : à enregistrer des données respiratoires en temps réel, les données comportant la durée de chaque inspiration et un état dinspiration, et létat dinspiration comportant un état avec inspiration et un état sans inspiration (S102) chaque fois que les données respiratoires sont enregistrées, à calculer la fréquence respiratoire du dispositif respiratoire médical selon les données enregistrées dans lopération denregistrement actuelle et les données enregistrées pendant une période de temps préétablie avant lopération denregistrement actuelle (S104). Grâce au procédé et au dispositif, le problème de calcul lent de la fréquence respiratoire peut être résolu, et la fréquence respiratoire dun patient peut être calculée en une durée aussi courte que possible.