Hello neighbour,
You can use a nice & free programm to calculate pinhole size, f-stop, make exposure charts, etc.
See: http://www.pinhole.cz/en/pinholedesigner/