As said above, the calculator already does "everything" for you, you don't need to know anything about the complexities of the math, you only need to specify how you want the sensitivity to be converted.
While it could be possible to to make AI answer questions such as
"What sensitivity do I need to set in-game in RoboCop: Rogue City with FOV 116, resolution 2560x1440 and 800 DPI to match the 360 distance of in-game sensitivity 1.48 Apex Legends with FOV 110, 3440x1440 and 1000 DPI?"
it would be faster and more reliable to just select these options in the calculator.