A student at MIT has developed a calculator that can predict the amount of snow days that will occur in a given year.

David Sukhin's "Snow Day Calculator" uses factors such as zip code, number of previous snow days and type of school to determine when schools will cancel classes due to snow.

Sukhin came up with the program for his own personal use but soon released his product to the masses gaining heavy traffic during snowy winters.

"The Snow Day Calculator began as a small side project while I was in middle school," Sukhin wrote."I would enter my own weather information for my school district and, using my custom formula, I would get a prediction. Now, the calculator can automatically get weather information for any zip code in the United States and receives almost 250,000 unique visitors each snowstorm."

The calculator can be accessed online and is also available as an app for iOS and Android.