Hertz was born in Hamburg in 1857. He studied engineering in Frankfurt and later at the University of Munich. He completed his PhD at the University of Berlin. He taught and continued research at the University of Bonn and University of Kiel.