Gerstenhaber earned an M.A. and a Ph.D. (1951) in mathematics from the University of Chicago, under the instruction of Abraham Adrian Albert. Gerstenhaber's dissertation was entitled "Rings of Derivations."