Earliest to find out gender?

What is the earliest you can find out what gender your baby is? I'm 14 weeks & 5 days. I heard the earliest was 16 weeks but I'm just wondering how early you can know like through an ultrasound? I'm very impatient! Thanks.