In this article, a method for indium phosphide (InP) electro-optic modulator (EOM) optimization is introduced. The method can be used for the design and analysis of an EOM based on the Mach-Zehnder interferometer (MZI) design. This design is based on the division of the input optical signal into two optical paths and then, after processing, it combines the light into a single waveguide. The symmetry of the structure can provide state-of-the-art EOM characteristics with a push-pull control signal. Using a traveling wave electrode (TWE) design as a starting point, the authors varied the heterostructure design and optical waveguide parameters to obtain the optimal values of initial optical loss, evenness of the initial optical loss in the operating wavelength range, and the extinction ratio and length of the modulator arm. The key features of the proposed optimization method include the following: all independent input parameters are linked into a single system, where the relationship between the electrical and optical parameters of the modulator is realized; all physically realizable combinations of the input parameters are available for analysis; and EOM optimization is possible for one target parameter or for a group of target parameters. The results of the EOM optimization using the described method are presented.