Son of Johannes Hehl, director of the Kassel Polytechnic College, and Carolin Wolff Hehl, he studied engineering in the University of Hanover. In 1888 he migrated to Brazil to work with railway construction in Minas Gerais. He moved later to São Paulo where he, in 1898, became professor at the University of São Paulo Polytechnic School.