<Li> Indoor: Federer, 5--1 </Li> <P> * The Shanghai Masters 2017 final between Federer and Nadal was played with the roof closed due to rain, but the ATP officially counts it as an outdoor match . </P> <Ul> <Li> All finals: Nadal, 14--10 <Ul> <Li> Clay courts: Nadal, 11--2 </Li> <Li> Hard courts: Federer, 6--2 <Ul> <Li> Outdoor: Federer, 4--2 </Li> <Li> Indoor: Federer, 2--0 </Li> </Ul> </Li> <Li> Grass courts: Federer, 2--1 </Li> </Ul> </Li> <Li> Grand Slam matches: Nadal, 9--3 <Ul> <Li> Australian Open: Nadal, 3--1 </Li> <Li> French Open: Nadal, 5--0 </Li> <Li> Wimbledon: Federer, 2--1 </Li> </Ul> </Li> <Li> Grand Slam finals: Nadal, 6--3 <Ul> <Li> Australian Open: Tied, 1--1 </Li> <Li> French Open: Nadal, 4--0 </Li> <Li> Wimbledon: Federer, 2--1 </Li> </Ul> </Li> <Li> Tennis Masters Cup / ATP World Tour Finals matches: Federer, 4--1 </Li> <Li> Tennis Masters Cup / ATP World Tour Finals finals: Federer, 1--0 </Li> <Li> ATP Masters Series / ATP World Tour Masters 1000 matches: Nadal, 12--7 </Li> <Li> ATP Masters Series / ATP World Tour Masters 1000 finals: Nadal, 7--5 <Ul> <Li> Clay courts: Nadal, 7--2 </Li> <Li> Hard courts: Federer, 3--0 </Li> </Ul> </Li> <Li> Best of five set matches: Nadal, 11--4 <Ul> <Li> Five - set matches: Tied, 3--3 </Li> </Ul> </Li> <Li> Best of three set matches: Nadal, 12--11 </Li> </Ul> <Li> All finals: Nadal, 14--10 <Ul> <Li> Clay courts: Nadal, 11--2 </Li> <Li> Hard courts: Federer, 6--2 <Ul> <Li> Outdoor: Federer, 4--2 </Li> <Li> Indoor: Federer, 2--0 </Li> </Ul> </Li> <Li> Grass courts: Federer, 2--1 </Li> </Ul> </Li>

Who has more grand slams federer or nadal