How much energy is produced in glycolysis?

2 ATP are needed for glycolysis and 4 ATP are made during glycolysis so the net energy produced is 2 ATP