William Ralph Cartwright (30 March 1771 – 4 January 1847) was an English landowner and Tory politician who sat in the House of Commons between 1797 and 1846.
Cartwright was the son of Thomas Cartwright of Aynhoe Park and his wife Mary Catherine Desaguilliers. In 1793 a highwayman was transported for robbing him of £32 10s worth of goods and money.
In 1797 on the retirement of Thomas Powys, he was elected Member of Parliament for Northamptonshire. He held the seat until 1831. In the 1832 general election he was elected MP for South Northamptonshire and held the seat until he resigned in 1846.
Cartwright was Lieutenant-Colonel in the local militia during the Napoleonic wars, and was responsible for the Brackley Battalion. In the time of agricultural depression and increasing population, Cartwright helped settle many dozens of his surplus agricultural labourers in Wellington County, Ontario from the late 1820s until his death. He ran up huge debts, mainly from playing the stock market, which he did unsuccessfully.
Cartwright married Hon. Emma Mary Maude daughter of Viscount Hawarden on 12 April 1794. They had children Thomas who became a diplomat and William who became a Lieutenant General. These had respectively sons William Cornwallis Cartwright and Fairfax Cartwright who were both MPs. Cartwright's wife died in 1808 and he married again on 29 May 1810 to Julia Frances Aubrey.