Accurate modeling of magnetic components is critical for predicting the high-frequency behavior of power electronic converters. Parasitic elements such as leakage inductance, winding capacitance, and magnetizing inductance significantly affect converter performance, especially in resonant and high-speed switching applications. This paper presents a Genetic Algorithm (GA)-based approach for estimating the parasitic parameters of a transformer by fitting an analytical impedance model to frequency response data obtained via experimental Frequency Response Analysis (FRA). The proposed method eliminates the need for complex geometric modeling or direct measurement techniques, offering a data-driven and optimization-based solution. The equivalent circuit consists of six parameters: <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$L_{1}, C_{1},\ L_{2}, C_{2}, L_{m}$</tex>, and <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$C_{3}$</tex>, and their values are optimized to minimize the magnitude error between measured and modeled responses. The methodology is implemented in MATLAB, and the results demonstrate high accuracy, with the optimized model achieving an error below 0.01 dB. The approach is robust, scalable, and adaptable for all type of magnetic structures across power electronic systems even for the integrated inductor-transformer systems.