He started his own practice in 1816, and 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 his company worked on the digging of the Bramhope Tunnel and building the Arthington Viaduct as part of laying the Leeds to Stockton-on-Tees 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.
He died in Stockton-on-Tees on 25 July 1852 as a result of injuries sustained in a train collision two days earlier. One of two fatal casualties, Grainger had sustained a compound fracture to his right leg, which quickly turned gangrenous. Following his death his body was returned home for burial in the family plot in the kirkyard at Gogar.
On 24 January 1843 he married Jessie Fraser (1809-1880). They had three daughters: Isabella Helen, Jessie Frances and Agnes Catherine. While Isabella is thought to have died young, Jessie and Agnes died in London in 1921 and 1934 respectively, both having been resident there since at least 1871. They are buried in the family plot at Gogar.
- New sea-wall at Newhaven Harbour (1837)
- Broughty Ferry railway station (1838)
- Haymarket Station, Edinburgh (1840) with David Bell
- Bridge at Russell Place in Edinburgh (1843)
- North Leith Railway Station (1845) demolished despite being an architectural gem and the prototype of all future railway stations
- Railway bridge at Warriston, Edinburgh (1845)
- Cupar railway station (1846)
- Ladybank railway station (1847)
- Burntisland railway station (1847)
- "Edinburgh Post Office annual directory, 1832-1833". National Library of Scotland. Retrieved 2018-01-19.
- Subterranea Britannica
- Railscot entry, Thomas Grainger
- The Gentleman's Magazine, obituary, Google books
- The Civil Engineer and Architect's Journal, obituary, Google Books
- Goold, David. "Grainger & Miller". www.scottisharchitects.org.uk. Retrieved 2018-01-19.
- Scottish Architects
|This article about a Scottish engineer, inventor or industrial designer is a stub. You can help Wikipedia by expanding it.|
|This article about a civil engineering topic is a stub. You can help Wikipedia by expanding it.|