The voltage is defined as the line integral of the electric field between the plates.