Thomas Grainger FRSE (12 November 1794 – 25 July 1852) was a Scottish civil engineer and surveyor. He was joint partner with John Miller in the prominent engineering firm of Grainger & Miller.
He was born at Gogar Green near Ratho, outside Edinburgh, to Hugh Grainger and Helen Marshall. Educated at Edinburgh University, at sixteen he got a job with John Leslie, a land surveyor.
He started his own practice in 1816. In 1825 he formed a partnership with John Miller which lasted until 1847. Their firm operated from the ground floor of Grainger's house at 56 George Street, in the centre of Edinburgh's New Town.
Between 1845 and 1849 he was engaged on the difficult tasks of digging the Bramhope Tunnel and building the Arthington Viaduct as part of laying the Leeds to line. The first modern rail ferry, the Leviathan, was designed in 1849 by Grainger for the Edinburgh, Perth and Dundee Railway to cross the Firth of Forth between Granton and Burntisland. The service commenced on 3 February 1850.
Projects he was involved in included many railway bridges, viaducts and tunnels, including work on the Monkland and Kirkintilloch Railway, Ballochney Railway, Garnkirk and Glasgow Railway, Wishaw and Coltness Railway, Paisley and Renfrew Railway, Dundee and Arbroath Railway, Arbroath and Forfar Railway, and the Leeds Northern Railway, where he was chief engineer at the time of his death.