The ideal height of your free standing pull up bar should be about 3 to 4 inches above your fingertips, as you hold your hands straight up over your head and stand on your tiptoes.
So reach for the sky, on your tiptoes, and have a friend measure from the floor to your fingertips, then add 3 or 4 inches to that measurement.