Hi,
to calculate the pendulum length you need to know the number of vibrations per minute.
You can then use the following rule: L = t*t*g/pi*pi (L = t square times g divided by pi square)
where t is the time of one vibration, g is the acceleration due to gravity (9.81) and pi = 3.14
This gives you the theoritical length in metres.
De Carle gives a complete explanation (in inches) as well as a table in his book”Practical clock repairing”.
To calculate the number of vibrations you will need the teeth count of your wheel train.
Hope this helps. 
Jan