What's the name of the person who calculates the five elements?

Fortune teller.

Because the fortune teller arranged birthdates first, and then calculated the five elements according to the eight characters.

Fortune teller is a professional title of fortune telling. Fortune-telling is a common name among the people, and the academic title is Zhouyi prediction. The academic research of fortune telling is called Yi Xue, also known as Shu Shu.