In Drosophila, the ratio of X chromosomes to haploid sets of autosomes (A) determines sex.

Normal males have a ratio of 0.5, normal females a ratio of 1, while intermediate ratios produce sterile intersex flies that expressed both male and female morphology.

Ratios below and above the normal produce infertile and weak metamales or metafemales, respectively.