It is difficult to determine who has the highest IQ in math, as intelligence tests and IQ measurements can vary and are often criticized for their accuracy and limitations. Furthermore, many individuals with high levels of mathematical talent may not have taken an IQ test or may not have disclosed their results publicly.

That being said, there have been some notable individuals throughout history who have demonstrated exceptional mathematical abilities and have been recognized for their intelligence and accomplishments in the field.
One such individual is Terence Tao, an Australian mathematician who has been called a “child prodigy” due to his exceptional abilities in math from a young age. Tao has made significant contributions to various areas of mathematics, including number theory, harmonic analysis, and partial differential equations. He has also received numerous awards and honors for his work, including the Fields Medal, which is considered one of the highest honors in mathematics.
Another notable mathematician is Andrew Wiles, a British mathematician who is best known for his proof of Fermat’s Last Theorem, a problem that had remained unsolved for over 350 years. Wiles’s proof was a major breakthrough in number theory and earned him numerous awards and accolades, including the Abel Prize, which is often referred to as the “Nobel Prize of Mathematics.”
Other mathematicians who have been recognized for their exceptional abilities include John von Neumann, a Hungarian-American mathematician who made significant contributions to fields such as game theory, computer science, and physics, and Carl Friedrich Gauss, a German mathematician who is often referred to as the “Prince of Mathematicians” and who made major contributions to fields such as number theory and geometry.
It is worth noting that IQ tests and intelligence measurements can be controversial, as they often do not take into account various forms of intelligence, such as emotional intelligence, creativity, and practical skills. Additionally, while intelligence can certainly play a role in mathematical abilities, factors such as education, practice, and dedication can also be significant factors in achieving success in the field.
In conclusion, while it is difficult to determine who has the highest IQ in math, there have been many mathematicians throughout history who have demonstrated exceptional abilities and made significant contributions to the field. These individuals serve as inspirations for aspiring mathematicians and highlight the importance of education, practice, and dedication in achieving success.