When does someone know if they are trans?

Although the average age of sex change surgery is 42, most children will have realised they are transgendered around the age of six or seven.