The effective population size ($N_e$) indicates the size of an idealized population that would experience the same genetic drift as the real population. In diploid, sexually reproducing species, $N_e$ is sensitive to the ratio of breeding males ($N_m$) to breeding females ($N_f$).
The formula relating effective population size ($N_e$) to the number of breeding males ($N_m$) and females ($N_f$) is:
$ N_e = \frac{4 N_m N_f}{N_m + N_f} $
To achieve the highest possible effective population size ($N_e$) for a constant total number of breeding individuals ($N = N_m + N_f$), the product $N_m \times N_f$ must be maximized. This occurs when $N_m$ and $N_f$ are as close as possible, meaning $N_m = N_f$.
When $N_m = N_f$, the sex ratio ($r$) is:
$ r = \frac{N_m}{N_f} = 1 $
Therefore, the effective population size is greatest when the sex ratio is 1.