Calculating BR pipe

Hello, can someone tell me how I calculate a Br pipe how long it must be and what diameter.