Here is a link to a calculator for the diameter of the hole in a pinhole camera.
http://www.mrpinhole.com/calcpinh.php