Melksham is a medium-sized English town, lying on the River Avon. It lies in the county of Wiltshire. It is situated 19 km southeast of the city of Bath, 11 km south of Chippenham, 8 miles west of Devizes and 14 miles north of Warminster on the A350 national route. The 2001 UK census cited Melksham as having 20,000 inhabitants, including sizeable environs such as Bowerhill and Berryfield. As such it is Wiltshire's fifth-largest town by population after Swindon, Salisbury, Chippenham and Trowbridge.