How many moles of ATP are made from one mole of glucose?

ΔG from using one mol of ATP

is ~ -30.5 kJ/mol

ΔG for the oxidation of glucose

C6H12O6 (aq) + 6 O2 (g) → 6 CO2 (g) + 6 H2O (l) is ~ -2880 kJ/mol

If you divide the ΔG for the oxidation of glucose by the ΔG for the use of one mole of ATP you get the approximate for the number of ATP produced by one mole of glucose.