The invention discloses a method, a system, a device, and a medium for calculating the average gland dose of a mammography system. The method comprises the steps of: introducing an incident dose lookup table and an air kerma lookup table; obtaining an exposure voltage value KV, a current time product mAs, a gland compression thickness Thinkness, and a distance SID from a flat panel detector to a radiation source; searching a corresponding incident dose value EntranceDose and a corresponding air kerma value HVL from the incident dose lookup table and the air kerma lookup table; determining a dose conversion factor g and a correction factor c of the gland component; determining a correction factor s of the filtered combination; calculating the average gland dose AGD. According to the method,the system, the device, and the medium for calculating the average gland dose of a mammography system, the incident dose value and the air kerma value can be obtained quickly through the lookup tables, and the average gland dose value can be calculated according to the dose conversion factor, the correction factor of the gland component, and the correction factor of the filtered combination, so that the method, the system, the device, and the medium have the characteristics of rapid calculation, can ensure that the total average dosage does not exceed the guidance level, and is suitable for aconventional digital mammography system.