Bioaerosols formed by microorganisms in the air directly affect people’s health. The air quality in an office building in Shenzhen, China, is investigated and pollutant levels measured on 36 occasions; six times for each of six indoor spaces. A relationship between indoor bioaerosols and environmental factors was determined using both linear regression analysis and Poisson regression analysis. Our results and analysis indicate that linear regression is a poor predictor for the concentration of bioaerosols based on a single indicator. In contrast, Poisson regression can better predict the concentration of bioaerosols, and PM10 may be the indicator with the greatest impact on bioaerosols. As a result, a simple, fast, and low-cost online monitoring method for monitoring indoor bioaerosols is developed and reported. Our paper provides first-hand basic data to predict the indoor bioaerosol concentration and helps to formulate appropriate monitoring guidelines. The proposed method offers more practical values compared to existing studies as our prediction model facilitates estimation of the concentration of bioaerosols at low cost. Additionally, due to the current maturity and low cost of indoor environmental sensors, the proposed method is suitable for large-scale deployment for most buildings. Practical application Based on measurement data from a real office building, our investigation explores the relationship between indoor microorganisms and building environmental indicators through a combination of probability analysis and actual measurement. We establish a novel indoor microbial prediction model using the Poisson regression model. Our work presents an effective, low-cost, method for estimating the concentration of bioaerosols and discusses the possibility for large-scale deployment of microbial monitoring equipment inside buildings which may then support real-time monitoring of indoor microbial concentration to provide healthy indoor environments for personnel.