Using a numerical simulation of a cross-section of lithium niobate (LN) waveguide, we have determined the optimal position of gold contact pads near the waveguide to better utilize the electro-optic effect in lithium niobate. Varying such parameters as contact thickness, the distance between them, thickness of additional silicon oxide covering, and thickness of remaining not etched LN layer, we determined the value of optical absorption in such configuration and electric field value near to the sidewall of the waveguide. As a result, we determined an optimal configuration, which corresponds to the maximum electric field with a satisfactory value of optical losses.