Tangent Angle Calculator - Degrees, Radians, or Pi Form

Use this tangent angle calculator to find tan(θ) for any angle in degrees, radians, or pi form, with the cotangent and a unit-circle reference match.

Updated: June 16, 2026 • Free Tool

Tangent Angle Calculator

The numeric angle. Pick the matching unit from the toggle below.

Degrees, radians, or as a multiple of pi. The calculator normalises to radians internally before applying tan.

Results

tan(θ)
0
cot(θ) = 1 / tan(θ) 0
Angle in degrees 0°
Angle in radians 0rad
Angle as multiple of π 0
Unit-circle reference match 0

What Is a Tangent Angle Calculator?

A tangent angle calculator computes tan(θ) for any real angle θ and reports the result alongside the canonical angle, the cotangent, and a unit-circle reference match. The same input field accepts degrees, radians, or a multiple of pi, so you can read the answer in the unit your problem already uses.

  • Reading tan(θ) for homework and exam problems: Skip the trig table and calculator button-hunting for angles that are not clean multiples of 15°.
  • Checking right-triangle side ratios: Confirm that opposite divided by adjacent matches the side lengths you measured on a sketch.
  • Validating engineering and physics formulas: Confirm a tan(θ) value that appears in a slope, beam deflection, or optics equation before downstream calculation.
  • Comparing tangent to cotangent in trig identities: See tan and cot side by side so identity checks such as tan(θ)·cot(θ) = 1 are obvious without a second tab.

The result includes the angle rewritten in degrees, radians, and as a multiple of pi, which keeps the page useful no matter which unit the surrounding problem expects.

When the input sits on a vertical asymptote (90 + 180k degrees for any integer k), the tool surfaces an 'Undefined' status instead of writing an enormous or unstable number.

If the goal is to read tangent together with sine and cosine in the same result panel, Tan Calculator returns those three functions side by side for the same input.

How the Tangent Angle Calculator Works

The tool reads your angle and its unit, normalises to a single radian value, and applies the canonical tangent function. The result is reported to six significant digits, the cotangent is computed as the reciprocal, and the canonical angle is rendered in degrees, radians, and as a multiple of pi.

tan(theta) = sin(theta) / cos(theta) = opposite / adjacent
  • theta: The angle you enter, in degrees, radians, or as a multiple of pi. The calculator converts to a single radian value before computing tan.
  • opposite, adjacent: For a right-triangle interpretation, the sides opposite and adjacent to the angle. tan(θ) = opposite / adjacent.

Inside the formula, sin(theta)/cos(theta) and opposite/adjacent are the same number, so the same panel covers both abstract trig and right-triangle work.

Asymptotes matter: the calculator flags any input equal to 90 + 180k degrees as Undefined, more useful than printing a 16-digit value near an asymptote.

Worked example: tan(45°)

angle = 45, unit = degrees

Convert 45 deg to radians: 45 * pi/180 = pi/4 (about 0.7853982). Apply tan: tan(pi/4) = sin(pi/4) / cos(pi/4) = (sqrt 2 / 2) / (sqrt 2 / 2) = 1.

tan(45°) = 1, cot(45°) = 1, angle = 45° = π/4 rad = 0.25π

45 degrees is the unique reference angle where tangent equals 1, so the cotangent is also 1.

Worked example: tan(21/8 right triangle)

angle about 69.144, unit = degrees (from arctan of 21/8)

tan(21/8) = tan(arctan(2.625)) about 2.6250, which matches the opposite/adjacent ratio for a 21-by-8 right triangle.

tan ≈ 2.6250, cot ≈ 0.3810, angle ≈ 69.144° = 1.2068 rad ≈ 0.3841π

The numeric tangent reproduces the 21/8 side ratio, a useful sanity check that the input was read correctly.

According to Wikipedia: Tangent, tan(theta) is defined as sin(theta)/cos(theta) for every real theta where cos(theta) is not zero, has period pi radians, and has vertical asymptotes at theta = pi/2 + pi*k for any integer k

If the relationship runs the other way and you already have a tangent ratio that you want to convert into an angle, Arctan Calculator returns the principal angle in degrees, radians, and as a multiple of pi.

Key Concepts Explained

These four concepts frame what the result panel is showing you and why some angles come back as Undefined while others return clean rational numbers.

Tangent as a ratio

For a right triangle, tangent of an angle equals the side opposite the angle divided by the side adjacent to it. The same value appears in any coordinate setting as the slope of a line that makes the angle with the horizontal.

Unit-circle reference angles

The angles 0, 30, 45, 60, and 90 degrees (plus negatives and periodic counterparts) produce clean tangent values of 0, 1/√3, 1, √3, and undefined, which is why the calculator flags a reference match.

Period of pi radians (180°)

Tangent repeats every 180 degrees, so tan(θ) = tan(θ + 180°). The reference match uses this to recognise inputs like 405° as periodic counterparts of 45°.

Asymptotes at odd multiples of 90°

Cosine equals zero at 90 + 180k degrees for any integer k, which makes tangent undefined at those angles. The calculator returns Undefined instead of an inflated floating-point value.

Pairing tan with cot gives a clean cross-check: tan(theta) * cot(theta) = 1 wherever both are defined.

The right-triangle interpretation makes tangent feel concrete: the same number answers 'what is the slope?' and 'how many times longer is opposite than adjacent?'.

When the problem needs the full trig trio instead of tangent alone, Sine Cosine Tangent Calculator returns sin, cos, and tan side by side for the same angle so the identity sin squared plus cos squared equals 1 is obvious in one read.

How to Use This Tangent Angle Calculator

Pick the angle unit, type the value, and read the tangent, the cotangent, and the canonical angle in one panel.

  1. 1 Pick the angle unit: Choose Degrees, Radians, or Multiple of pi from the unit toggle so the calculator can normalise to a single radian value before computing tan.
  2. 2 Enter the angle value: Type the numeric angle. For degrees try 45 or 60, for radians try 0.7853982 (pi/4), for pi units try 0.5 to mean pi/2.
  3. 3 Read tan(theta) and cot(theta): The tangent value is the primary readout, displayed to six significant digits. The cotangent reciprocal appears right below it for cross-checking identities.
  4. 4 Check the canonical angle and reference match: The angle is rewritten in degrees, radians, and as a multiple of pi. The reference match field flags unit-circle angles and asymptotes explicitly.

For an angle of 60 degrees, set the unit toggle to Degrees, type 60, and read tan(60 degrees) = 1.7320508. The cot is 0.5773503, the angle readout shows 60 deg / 1.0472 rad / 0.3333 pi, and the reference match reads 60 degrees (pi/3).

If you have a radian value from a physics or calculus problem and want to verify the degree equivalent before typing it in, Radians to Degrees Calculator converts the value in both directions without losing precision.

Benefits of This Tangent Angle Calculator

A single calculator that returns tangent, cotangent, the canonical angle, and a reference-angle label covers most textbook and applied uses in one read.

  • Three input units, one answer: Degrees, radians, and multiples of pi are all accepted on the same input, so there is no need to convert the angle before you start.
  • Tangent and cotangent side by side: tan(θ) and cot(θ) = 1 / tan(θ) appear together, which is what you need to verify the product equals 1 for any well-defined angle.
  • Honest 'Undefined' for asymptotes: Inputs at 90 + 180k degrees come back as Undefined rather than a misleading large finite value, which is the correct mathematical answer.
  • Canonical angle in three units: The same angle is reported in degrees, radians, and as a multiple of pi in the same panel, so you can paste any of the three into a downstream formula.
  • Unit-circle reference match: Clean reference angles such as 30, 45, 60, and 90 degrees are labelled explicitly, which is a quick way to spot a typo before you trust the result.
  • Compact right-triangle helper: For a right triangle, the tangent value is also the opposite / adjacent ratio, useful for cross-checking side lengths as well as for abstract trig work.

The biggest win is reading the angle in the unit your problem already uses, instead of doing the conversion yourself and risking a 180/pi factor mistake.

When the tangent value really comes from a right triangle with two known sides and you want the matching hypotenuse and complementary angle as well, Right Triangle Calculator carries the side lengths through one workflow.

Factors That Affect Your Results

A handful of factors control what the tool returns. Knowing them up front prevents the most common mistakes when the angle is on an asymptote, very large, or given in an unfamiliar unit.

Choice of input unit

Degrees, radians, and multiples of pi are all valid input units, but mixing them is the most common source of off-by-factor errors. A 45-degree angle and a 45-radian angle produce completely different tangent values because 45 radians is about 2578 degrees.

Position relative to an asymptote

Inputs at 90 + 180k degrees return Undefined because cos(θ) = 0 exactly there. Inputs very close to but not exactly on an asymptote return a very large finite value, a normal floating-point consequence of being near a singularity.

Periodicity of 180 degrees

Tangent repeats every 180 degrees, so 405 degrees returns the same value as 45 degrees and -135 degrees returns the same value as 45 degrees. The reference match field captures this by labelling 405 as a periodic of 45 degrees (pi/4).

Sign of the angle

Tangent is an odd function, so tan(-θ) = -tan(θ). Negative angles in any unit produce negative tangent values, matching the right-triangle interpretation of a downward slope.

Floating-point rounding near asymptotes

For inputs extremely close to 90 + 180k degrees, the tangent value is finite but very large, and the cotangent is correspondingly close to zero. Treat both as effectively undefined.

  • The tool computes tan for real angles only. It does not handle complex-valued inputs, which use a separate branch of complex analysis.
  • When the input is exactly on an asymptote, the calculator prints 'Undefined' for both tan and cot. Inputs very close to but not on an asymptote still print a large finite number, consistent with most calculators.
  • The reference match uses a 1e-9 degree tolerance, so inputs like 30.0000001 still register as the 30-degree reference; clearly off angles read as 'Non-reference angle'.

A practical safety check is the cotangent reciprocal: when tan and cot multiply to roughly 1, the input was safe; when the product drifts away from 1, you are near an asymptote.

According to Wolfram MathWorld: Tangent, the tangent of an angle in a right triangle is the length of the opposite side divided by the length of the adjacent side, with reference values tan(0) = 0, tan(pi/6) = 1/sqrt(3), tan(pi/4) = 1, tan(pi/3) = sqrt(3), and tan(pi/2) undefined

According to Omni Calculator: Tangent Angle, the tangent of an angle is the length of the side opposite the angle divided by the length of the side adjacent to it, and for a 21-by-8 right triangle the tangent of the angle is 21 divided by 8, which is 2.625

If the tangent result needs to be reported in gradians, turns, or another non-standard angle unit, Angle Converter reformats the angle without losing precision.

Tangent angle calculator input panel showing an angle in degrees or radians and a results panel that returns tan(θ), the cotangent, and a reference-angle match.
Tangent angle calculator input panel showing an angle in degrees or radians and a results panel that returns tan(θ), the cotangent, and a reference-angle match.

Frequently Asked Questions

Q: How do you find the tangent of an angle?

A: Pick the input unit (degrees, radians, or a multiple of pi), type the angle, and read tan(θ) in the primary result. The calculator normalises the angle to radians internally and returns the tangent value to six significant digits, with the cotangent reciprocal and the canonical angle as supporting outputs.

Q: What is the tangent of 90 degrees?

A: The tangent of 90 degrees is undefined because cos(90°) is exactly zero, which makes the definition tan(θ) = sin(θ)/cos(θ) impossible. The calculator prints 'Undefined' for any angle equal to 90 + 180k degrees, including 90, 270, and -90 degrees.

Q: Is tangent the same as cotangent?

A: Tangent and cotangent are reciprocals, not the same function. tan(θ) equals opposite over adjacent, while cot(θ) equals adjacent over opposite, so cot(θ) = 1 / tan(θ) wherever tangent is defined. The calculator returns both so you can confirm the reciprocal relationship in one read.

Q: What is the tangent of 45 degrees?

A: The tangent of 45 degrees is exactly 1 because sin(45°) and cos(45°) both equal √2/2, and √2/2 divided by √2/2 is 1. The calculator reports tan(45°) = 1, cot(45°) = 1, and a reference match of '45 degrees (pi/4)'.

Q: What is the tangent of an angle in radians?

A: Tangent of a radian angle is the same function applied to the radian value. tan(π/4) and tan(0.7853982) both equal 1, and tan(π/3) and tan(1.0471976) both equal √3 ≈ 1.7320508. The calculator accepts both forms on the same input.

Q: Where is the tangent function undefined?

A: Tangent is undefined at every odd multiple of 90 degrees, which means 90 + 180k degrees for any integer k: that includes 90, 270, 450, and their negative counterparts. The calculator flags these inputs as 'Undefined (asymptote)' and returns 'Undefined' for both the tangent and cotangent fields.