Bacteria that have developed in the biofilm phase will be more resistant to antibiotics and emit gases that have certain characteristics. One dose of culture from Trypticase Soy Broth (TSB) (Merck, Germany) was inoculated into 10 mL of Trypticase Soy Broth (TSB) (Merck, Germany) and homogenized for a concentration of 0.5 McFarland (10-13 CFU/mL). The suspension was detected by ELISA reader (λ 595nm)Based on the results that have been obtained, the sensor on the gas array instrument can detect both a variety of distinctive gas patterns in S. Variations in shelf life and variations in the types of samples provided can be tracked both by the entire sensor. This is indicated by the emergence of a unique and different sensor voltage output pattern in each variation. The processing of sensor output using the PCA (Principal Component Analysis) method can accommodate 86.45% of the data variation, including the first component and the second component respectively 70.4% and 18.1%. Through the PCA method, each variation of bacterial treatment can be classified properly, so it can be used to clearly distinguish the age of bacteria and biofilm age. When loading the PCA plot, the MQ2 sensor shows the most responsive results to gas changes. Meanwhile, the MQ136 sensor ranks second as the most responsive sensor to measure the life span of bacteria and biofilms.