The ability to perform mathematical tasks is required in everyday life. Although heritability estimates suggest a genetic contribution, no previous study has conclusively identified a genetic risk variant for mathematical performance. Research has shown that the prevalence of mathematical disabilities is increased in children with dyslexia. We therefore correlated genome-wide data of 200 German children with spelling disability, with available quantitative data on mathematic ability. Replication of the top findings in additional dyslexia samples revealed that rs133885 was a genome-wide significant marker for mathematical abilities(P-comb=7.71 x 10(-10), n=699), with an effect size of 4.87%. This association was also found in a sample from the general population (P=0.048, n=1080), albeit with a lower effect size. The identified variant encodes an amino-acid substitution in MYO18B, a protein with as yet unknown functions in the brain. As areas of the parietal cortex, in particular the intraparietal sulcus (IPS), are involved in numerical processing in humans, we investigated whether rs133885 was associated with IPS morphology using structural magnetic resonance imaging data from 79 neuropsychiatrically healthy adults. Carriers of the MYO18B risk-genotype displayed a significantly lower depth of the right IPS. This validates the identified association between rs133885 and mathematical disability at the level of a specific intermediate phenotype.