My grandma found out at 10 weeks, but she had an amnio...
I found out at 15 weeks, but there are some techs that will render a guess earlier with the "nub" theory. However, it is not an exact science by any means.
Google "angle of the dangle theory" and you will get some pictures of boys and girls at early stages of development at around 12 weeks, pretty interesting to me.
I think my sister was 16 wks when she found out. My Dr wont do another us til im 20 wks
It's most accurate after 17 weeks, but I was told boy with my son at 14 weeks, and he was definitely a boy, at that stage it's still really hard to tell just because a girl can easily look like a boy still at that stage. 16-17+ weeks it's pretty accurate.