Purpose: Birmingham Hip Resurfacing requires precise determination of the femoral head-neck axis to minimize risks of neck fracture, cortical notching, and component malposition. Existing methods rely on intraoperative estimation, generic guides, or semi-manual planning, all susceptible to anatomical variability. This study presents an automated parametric algorithm for determining the femoral neck axis from CT-derived models to support patient-specific surgical planning. Methods: The method utilizes segmented CT data converted to STEP format. Following artifact removal, the algorithm performs iterative cross-sectional analysis along the neck axis, identifying characteristic anatomical points: the neck isthmus, head centroid, and head apex. The axis is approximated from these points and refined through rotational optimization in 5 degree and 0.5 degree increments. The algorithm was evaluated on four femoral models in five spatial orientations each (20 test cases). Results: The algorithm achieved a mean validation score of 4.1/5.0 (82%). Three models with high-quality meshes scored 4-5, while one model with extensive artifacts scored 1-2, confirming sensitivity to input data quality. Repeatability was plus/minus 0.5 degrees in angular orientation and plus/minus 0.2 mm in isthmus position. Error propagation analysis indicated that CT-induced uncertainty (approximately 1.6 degrees upper bound) constitutes the limiting factor, not algorithmic precision. Physical prototyping confirmed viability for patient-specific instrument design. Conclusions: The method provides reproducible, automated femoral neck axis determination with plus/minus 0.5 degrees repeatability -- approximately three times smaller than CT-induced uncertainty and an order of magnitude below the 5-7 degree errors of conventional jigs. Future work should validate the method against clinical outcomes in larger cohorts.