length=3.14*diameter (approximately, Pi is still developing, or was the last time I heard)
I used some more, as I wanted to put one end of the pipe inside the other at the joint. First I bent it, cut it to length, and then bent it into the correct lateral plane.