Cartwright was taught at Queen Elizabeth Grammar School, Wakefield, University College, Oxford, and for an MA degree at Magdalen College, Oxford, (awarded 1766) where he was received a demyship and was elected a Fellow of the College.