'Volatility for BSM formula

I have S&P 100 data and options on it with different maturities. How do I determine the volatility to be able to apply the BSM formula?

Thank you in advance!

r


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source