 Coghlan was born in Sydney, the second son of Thomas Coghlan of Irish Roman Catholic extraction.He was educated at Cleveland Street Public School and Sydney Grammar School, and in 1873 joined the public works department, becoming assistant-engineer of harbours and rivers in 1884.When the New South Wales department of statistics was created, Coghlan was appointed government statistician and began his duties early in 1886.