If you need to calculate the length of a mainspring, you can use the following formula: Mainspring should only occupy ½ of the barrel. Square the radius of the inside of the barrel and multiply by Pi (3.1416). Square the radius of the barrel arbor hub and multiply by Pi (3.1416). More items...