>>3222945You can use something like this
http://www.mrpinhole.com/calcpinh.phpBut you obviously still need to know some of the factors.
Focal length is the distance between the pinhole and the film, but if you bought a pre-made pinhole camera, for some reason, I'm guessing they told you that number already, yes?
Remember to account for reciprocity. That will depend on the film you're using. The manufacturer will often have a chart for it on their website.
Have fun with your pinhole camera!
Pic related is just a very quick and dirty 35 mm one. I'm sure yours will look much nicer.