Arctan Calculator
This calculator returns the inverse tangent of a number, the angle whose tangent you entered. Give it a single value and it prints the principal value in degrees, radians, gradians and degrees-minutes-seconds; give it a y and an x and the two-argument atan2 form puts the angle in the correct quadrant; give it the two legs of a right triangle and it returns the angle between them. Tangent accepts every real number, so nothing you type is out of range, but it repeats every 180 degrees, which is why one tangent stands for infinitely many angles and the page prints that family alongside the principal one. The atan2 tab is the one to use for a direction, because plain arctan of y over x loses the signs and reports a south-west heading as a north-east one.