Robert Erhardt was born in Riga on 9 June 1874 (Gregorian calendar). His father directed an insurance company there; the actor Heinz Erhardt was his nephew. He began studying mathematics at the Polytechnikum in Riga and then studied in Dresden, Berlin, Munich (Staatswissenschaften) and Tübingen. In 1897 he took his doctorate in Tübingen with a thesis on Russian trade and business taxes.
Erhardt started as a trainee at a banking house in Riga, became an official of the Russo-Chinese Bank in St Petersburg in 1898 and commercial director of a machine factory in Riga in 1899. In 1901 he joined the insurance firm R. John Hafferberg as a procurator, became a partner in 1902 and later its owner. He was a city councillor in Riga, in 1907 a deputy of the Duma and chairman of the supervisory board of the Libauer Bank AG.
After Latvia declared independence he became finance minister on 14 July 1919, serving until 1920. He was also an elder of the Great Guild in Riga and president of the Riga manufacturers' association. He died in Berlin on 10 January 1941. He and his wife Auguste, née Meltzer, were buried in the cemetery of the Russian Orthodox parish in Berlin-Tegel.
