How accurate is Ultrasound?

i think it depends on how late you do the ultrasound (should be around 20 weeks) and how good of a look you get at the baby's "goods", and having a decent technician. i mean, i can't see how a trained technician can confuse a hand for a penis, you know?
we really want to find out the gender at our 20 week ultrasound, let's just hope baby wants to cooperate!