Abstract
Females of the parasitic wasp Nasonia vitripennis adjust the sex ratio of their broods according to whether they are a first or second wasp to parasitize a host. The first wasp produces a strong daughter bias. The second wasp adjusts the prorportion of sons to the relative level of local mate competition, as predicted by a natural selection model. The results provide a quantitative test of sex ratio theory.