Quote Originally Posted by barryjyoung
.0073 times the square root of the focal length
Just for clarification, this formula for calculating the optimum pinhole size measures the focal length in inches not millimeters.