The risk of industrial and domestic accidents from methane gas leakage can be minimized by an inexpensively designed gas detector. This approach intends to produce a suitable and reliable solution in the context of a third world country, where equipment and components are either not available or prohibitively expensive. This affordable and easy-to-install device monitors and displays the concentration of gas mixed in the air and sounds a buzzer just before the concentration reaches danger level. It is often required to know the amount of gases mixed in the air for which the optimum and safe amount of oxygen can be available in that area. This system is a reliable solution as a safety tool in modern industrial and residential settings. It consists of an Atmel Atmega 328P microcontroller, an MQ-9 gas sensor, a buzzer for automatic alarm system, a red LED for warning and an LCD monitor for display the concentration of gas. The system is user friendly and fit to be installed in kitchens, labs or industries.