James Whiteside Gray (born 7 November 1954) is a British politician. He is the Conservative Member of Parliament for North Wiltshire.
Born in Scotland, James Gray is the son of Rev. John Gray, Minister at Dunblane Cathedral and later Moderator of the General Assembly of the Church of Scotland, while his mother was a doctor. He was educated at the Hillhead Primary School, Glasgow, and the High School of Glasgow, before studying history at the University of Glasgow where he graduated MA in 1975. He continued his academic career at Christ Church, Oxford, where he completed a history thesis in 1977.
From 1977, Gray worked as a graduate management trainee with P&O for a year. Also in 1977 he joined the Honourable Artillery Company, a unit of the Territorial Army based in Islington, serving for seven years. In 1978 he became a Freeman of the City of London and was appointed a ship broker with Anderson Hughes. He was a member of the Baltic Exchange from 1978. He became managing director of GNI Freight Futures in 1984, in which capacity he served until 1992. At the same time, he was a director of the Baltic futures exchange from 1989 to 1991. In 1987 he was awarded the Lloyd's of London Book Prize.