The age distribution was 12,285 people (20.6%) under the age of 18, 3,767 people (6.3%) aged 18 to 24, 16,584 people (27.9%) aged 25 to 44, 19,239 people (32.3%) aged 45 to 64, and 7,643 people (12.8%) who were 65 or older. The median age was 41.5 years. For every 100 females, there were 97.9 males. For every 100 females age 18 and over, there were 95.3 males. Females comprise the majority of Encinitas' population at 50.5% as of April 2010.