 Medford's location along the Camden and Atlantic Railroad, increased trade and Medford expanded at a rapid rate in the years after the Civil War.By the 1920s the rail line had been dismantled and the mill industry was in decline, but Medford's proximity to Philadelphia and Camden County allowed the township's growth to continue as many families moved from the city and into a more rural area.According to the United States Census Bureau, the township had a total area of 39.929 square miles (103.416 km2), including 38.921 square miles (100.804 km2) of land and 1.008 square miles (2.611 km2) of water (2.52%).