Both theoretical and empirical work suggests that offspring sex ratio has important consequences on fitness. Within insects, gregarious parasitoids with haplodiploid sex determination represent an ideal model for studying the decision-making process behind the assignment of offspring sex. To gain insight into the offspring sex ratio of gregarious parasitoids, we performed experiments on Anaphes flavipes, interpreting our results through a two-generation approach. We confirm the existence of a relationship between offspring sex ratio and clutch size: the proportion of males increases with larger clutch size. Based on this finding, we assumed that the proportion of males among one females offspring would also increase with external factors such as a low population density of the host or the presence of the hosts predator, which may pressure the mothers to lay a higher-sized clutch. Contrary to our initial expectations, we show that if it is the pressure of external factors that leads to an increase in clutch size, these larger clutches tend to be more female-biased and the overall offspring sex ratio of a particular female does not change. While in our previous work, we showed that higher clutch sizes reduce body sizes of the offspring and their future fertility, here we conclude that the differences in fertility affect the offspring sex ratio. Taken together, we highlight our two-generation approach which reveals that while the above external factors do not affect the sex ratio of A. flavipes in the F1 generation, they do have an effect in the F2 generation.