Volatility vs Nifty is calculated as the difference between the annualised standard deviation of the stock minus the annualised standard deviation of the Nifty.
Standard deviation of a stock or index is a measure of its volatility/riskiness. A positive number indicates that the stock is more volatile than the index and is more likely to see extreme price movements when market experiences a shock and moves up or down rapidly. A negative number indicates the opposite.