Analyte medium, nt:
Crystal material, ni:
Crystal face angle (deg):
VeeMAX angle of incidence for traced ray: °
Actual angle incident on crystal surface: °
θcrit =

For more information on selecting the optimal angle for ATR-SEIRAS, including polarization considerations, please see:
Sigrist, J. A., Lins, E. S., Morhart, T. A., Briggs, J. L., & Burgess, I. J. (2019). Optimization of a Commercial Variable Angle Accessory for Entry Level Users of Electrochemical Attenuated Total Reflection Surface-Enhanced Infrared Absorption Spectroscopy (ATR-SEIRAS). Applied Spectroscopy, 73(12), 1394–1402.

Some points to consider: