Kanchanaburi is a town (thesaban mueang) in the west of Thailand and the capital of Kanchanaburi province. In 2006 it had a population of 31,327. The town covers the complete tambon Ban Nuea and Ban Tai and parts of Pak Phraek and Tha Makham, all of Mueang Kanchanaburi district, and parts of the tambon Tha Lo of Tha Muang district