Formaula used for pivot in kite and pi

Can anyone share the formula used in kite and pi? I have seen that they show different pivot r and s so just wanted to know which was better and how they were calculated