Preferred walking speed is a widely-used performance measure for people with mobility issues, but is usually measured in straight line walking for fixed distances or durations, and without explicitly accounting for turning. However, daily walking involves walking for bouts of different distances and walking with turning, with prior studies showing that short bouts with at most 10 steps could be 40% of all bouts and turning steps could be 8-50% of all steps. Here, we studied walking in a straight line for short distances (4 m to 23 m) and walking in circles (1 m to 3 m turning radii) in people with transtibial amputation or transfemoral amputation using a passive ankle-foot prosthesis (Jaipur Foot). We found that the study participants’ preferred walking speeds are lower for shorter straight-line walking distances and lower for circles of smaller radii, which is analogous to earlier results in subjects without amputation. Using inverse optimization, we estimated the cost of changing speeds and turning such that the observed preferred walking speeds in our experiments minimizes the total cost of walking. The inferred costs of changing speeds and turning were larger for subjects with amputation compared to subjects without amputation in a previous study, specifically, being 4x to 8x larger for the turning cost and being highest for subjects with transfemoral amputation. Such high costs inferred by inverse optimization could potentially include non-energetic costs such as due to joint or interfacial stress or stability concerns, as inverse optimization cannot distinguish such terms from true metabolic cost. These experimental findings and models capturing the experimental trends could inform prosthesis design and rehabilitation therapy to better assist changing speeds and turning tasks. Further, measuring the preferred speed for a range of distances and radii could be a more comprehensive subject-specific measure of walking performance than commonly used straight line walking metrics.