The Badminton railway line is a railway line opened in 1903 by the Great Western Railway between the Great Western Main Line at Wootton Bassett in Wiltshire and Patchway and Filton, north of Bristol, England. Forming the eastern section of the South Wales Main Line, it shortened the distance between South Wales and London for heavy mineral traffic and for express passenger trains, and relieved congestion on the line through Bath. It was engineered to high standards with gentle gradients and large radius curves, and was correspondingly expensive to construct. It is about 30 miles in length.