William Wales (1734? – 29 December 1798) was a British mathematician and astronomer who sailed on Captain Cook's second voyage of discovery, then became Master of the Royal Mathematical School at Christ's Hospital and a Fellow of the Royal Society.