During glycolysis, one glucose molecule is broken down to produce two pyruvate, two NADH molecules, and a net gain of two ATP. Although a total of four ATP are produced during the process, you have to use two ATP to help with the catabolic breakdown during glycolysis. Thus, while a total of four ATP are produced during the process, there is only a net gain of two ATP.