Ranke studied at the Universities of Berlin, Leipzig, Erlangen, and Tübingen.
From 1853 to 1858, he was associated with the German Hospital in London, during which time, he also served as a civilian physician in the service of the British government in Smyrna and in the Crimea (1855-56).