The ability to predict gas emissions accurately is pivotal in managing gas control and ensuring safe mining operations. Existing internationally acknowledged gas control and prediction software does not cater to the specific conditions in Chinese coal mines. Hence, this paper introduces an object-oriented programming method to design a software tool for calculating the total gas emission quantity using the MATLAB application program designer runtime environment. The software incorporates an algorithm, data structure, framework, and module functions, all of which enable seamless integration and visualization of gas emission calculation software. This software tool mitigates the inefficiencies and inaccuracies associated with manual, different-source forecast methods. Based on the field data of the Hulonggou Coal Mine in Shanxi province, this technical software was used to predict the gas emission of the mine. The research results show that the predicted value of the technical software is close to the actual measured value. The differing estimates of the working face and coal mine output primarily account for the deviation between the tool's predicted gas emission value and the field-measured value. The underlying design logic of this technical software determines that it has good adaptability to mines with clear mining technology parameters and gas geological parameters. This study provides a valuable method for researchers and engineers seeking to improve gas emission calculation efficiency.