BackgroundThis study aimed to accurately evaluate the matching of proximal and distal femoral segments and fitting of the femur–femoral stem in patients with Crowe type IV developmental dysplasia of the hip (DDH) who have undergone subtrochanteric osteotomy at different locations with an implanted Wagner cone stem to improve the rate of the bone union at the osteotomy site.MethodsThree-dimensional femur morphology of 40 patients with Crowe type IV DDH was evaluated at each cross-section to determine the femoral cortical bone area. This study focused on five osteotomy lengths (2.5, 3, 3.5, 4, and 4.5 cm). The overlapped area between the proximal and distal cortical bone segments was defined as the contact area (S, mm2), and the contact area to distal cortical bone area ratio was defined as the coincidence rate (R). Three indicators were used to evaluate the matching and fitting of the osteotomy sites with the implanted Wagner cone stems: (1) higherSandRbetween the proximal and distal segments; (2) the effective fixation length of the femoral stem at the distal segments being at least 1.5 cm; and (3) osteotomy did not involve the isthmus.ResultsIn all groups,Ssignificantly decreased in the two proximal levels above the 0.5 cm level below the lesser trochanter (LT) compared with those below this level. In comparison, at osteotomy lengths from 2.5 to 4 cm,Rsignificantly decreased in the three proximal levels. The optimal osteotomy levels ranged from 1.5 and 2.5 cm below the LT for an appropriately sized stem.ConclusionsSubtrochanteric osteotomy at the optimal level not only ensures fitting of the femur–femoral stem but also meets the requirements of a higherSandRto ensure adequate reduction and stabilization at the osteotomy site, which may contribute to the bone union. Although the optimal osteotomy level varies with the size of the femoral stem and the length of the subtrochanteric osteotomy, the optimal osteotomy levels for an appropriately sized Wagner cone femoral stem implantation range from 1.5 to 2.5 cm below the LT.Supplementary InformationThe online version contains supplementary material available at 10.1186/s13018-023-03901-7.