http://mrpinhole.com/ has a calculator to figure all that as well as other things to help the pin hole shooter. I get most of my raw information there than test it for that particular camera.
I usually assume the pinhole distance should be the same as a normal lens mine for my 4x5 is 130mm