Here's a useful resource for making pinhole cameras.

http://www.mrpinhole.com/calcpinh.php