Originally created by Jeffrey Morgenthaler and licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Only the question wording has been amended. Jeffrey's original blog post can be found here and the original calculator can be found here.