Try this, it's simple. http://www.mrpinhole.com/calcpinh.php