The advancement of science and technology has elevated the practice of surgery where computer systems now perform the majority of calculations required for successful interventions. This technological progress can be leveraged to foster surgical improvements by developing and implementing novel computer models for the preoperative planning of surgical treatments. Such systems enable surgeons to select optimal treatment tactics and dosages of operative interventions tailored to individual patients. Currently, there is no consensus on the use of expectant management for hemangiomas, as the most effective therapeutic strategy often depends on the tumor’s type and location, with early treatment being critical in some cases. Accurate diagnosis and effective treatment necessitate precise determination of the tumor’s type, growth characteristics, structure, and location. The use of a surgical method for hemangiomas removal is better for the removal of small formations in places that are not critical from a cosmetic prospective (for example, for males this might be the back and legs). This paper presents a method for creating a three-dimensional (3D) model of hemangioma using polynomial approximation and spline modeling to assist surgeons. The development of the mathematical model, the software implementation, and a comprehensive error analysis are explained in this work. The resulting model demonstrated an average approximation error of 5.6%, and a discriminant analysis confirmed the significance of five key parameters for successful resection. The proposed system offers a robust and economically viable tool for improving the accuracy and outcomes of hemangioma surgery.