Generally at your 19/20 week scan the sonographer can tell the sex of the baby.