Every stock is volatile, but some are more so than others. If you've followed the erratic performance of shares in Bank of America (BAC -0.13%) over the past few years, then you know that it falls into the latter group. The question is: Why?

Before getting to that, it's necessary to define a central concept in investing: beta. According to the Foolsaurus, a glossary of investing terms on Fool.com: "Beta is a measure of volatility of a stock's return. It compares how much the stock's returns move relative to the returns of a known market or index, such as the S&P 500 (^GSPC 0.02%)."

Here's an example. Say a stock's beta is 2. That means for every 1% move in the S&P 500, it will move by 2%. Alternatively, say a stock's beta is 0.5. That means for every 1% move in the underlying index, the stock at issue will move an average of 0.5%. In the former case, the stock is more volatile than the broader market, while in the latter case it's less so.

To get back to Bank of America, shares of the nation's second largest bank by assets have one of the highest betas on the S&P 500. According to the free stock screener at Finviz.com, the bank comes in at 2.39, making it the 20th most volatile security on the index. The average, meanwhile, is 1.17 -- theoretically, of course, the average should be 1, but there's noise in Finviz's data because it excludes figures for 15 of the 500 components.

At first glance, one would be excused for wondering why shares of a company Bank of America's size would more closely resemble a penny stock than the blue-chip goliath that it is. Isn't it true that the larger a company is, the more stable it theoretically is? And wouldn't that stability come through in the stock price?

The answer to both is: Yes. Or, more accurately: Kind of. A scatter chart comparing the betas of the stocks on the S&P 500 against their corresponding share prices does indeed reveal an inverse relationship -- as stock price goes up, the beta goes down.

But the relationship is weak, to put it mildly. Its coefficient of determination, which is a statistical tool that estimates the tightness of a correlation, is 0.014. By means of context, a coefficient of 1.0 indicates that the relationship perfectly fits the data, whereas a coefficient of zero indicates no fit whatsoever.

And on top of that, there's no correlation between an individual company's stock price and its underlying size.

At the same time, however, one can't help noticing the relationship in the following chart. In the aftermath of the financial crisis, Bank of America was forced to raise capital by selling shares. Its outstanding share count more than doubled in size as a result, sending its stock price plummeting. Meanwhile, its beta shot up almost simultaneously.

BAC Beta Chart

BAC Beta data by YCharts

But correlation is not causation. While I believe that Bank of America's reduced stock price contributes to its increased volatility -- as it's cheaper for high-frequency traders to buy and sell large volumes of the deeply liquid security -- the bank has also been plagued by fears of further dilution, if not outright failure, multiple times over the last few years. And it's been this uncertainty that appears to be the primary force behind the volatility.

So what does this mean? If you own shares of Bank of America, as I do, it means that these days of gut-wrenching fluctuations should become less frequent once it's finished atoning for the sins of the financial crisis -- probably by the end of next year or so. Until then, however, there's every reason to believe that it will continue to test investors' patience and fortitude.