We accurately determined the ratio of sex chromosomes in a mixed sample down to 5% of Y chromosome input.