Trigonometry

Tangent Calculator

Calculate tangent from an angle, or use inverse tangent to find the angle from a tangent value. Results include degrees, radians, exact values for common angles, quadrant, reference angle, and a live graph marker.

Input

Use degrees for everyday geometry, radians for calculus, or turns for rotations.

Tangent

Enter an angle to begin

The calculator will show the tangent value and angle interpretation.

Degrees --
Radians --
Reference angle --
Quadrant / axis --

Graph and Unit Circle

The marker follows the selected angle on the tangent wave and the unit circle.

Tangent wave with current angle marker
Unit circle point for the current angle x y

Unit-circle point: --

Common Angles

Exact values are shown for angles frequently used in geometry and trigonometry.

Angle Radians Exact tan Decimal

What this tangent calculator is designed to solve

This tangent calculator is built for two closely related tasks: evaluating tangent from an angle and finding the principal angle from a known tangent value. That becomes much more useful when the answer is tied back to angle units, quadrant meaning, slope interpretation, graph asymptotes, and exact common-angle patterns rather than only shown as a decimal.

The calculator remains the main action surface above the fold. The long-form content below acts as a technical manual for the result so users can understand why tangent changes sign where it does, why it becomes undefined at certain angles, and why inverse tangent reports only one principal answer.

This matters for search intent because tangent is often used not only for “what is tan(theta)?” but also for slope problems, right-triangle interpretation, and trig graph understanding where the structure of the function matters as much as the output value.

Core tangent formulas

Readable ratio formula: tangent of an angle = sine of the angle divided by cosine of the angle.

Readable triangle formula: tangent of an angle = opposite side / adjacent side.

Readable inverse formula: angle = arctan(value), for any real tangent value.

Variable key: angle is the input rotation, opposite side is the side across from the chosen acute angle in a right triangle, adjacent side is the side next to that angle, and value is the tangent result used in inverse mode.

These formulas are deterministic. The main user mistakes come from entering an angle near an undefined point, misreading tangent periodicity, or expecting inverse tangent to list every possible angle rather than the principal branch.

Why tangent is a slope on the unit circle

On the unit circle, tangent can be interpreted as the slope of the radius line from the origin to the point at angle theta. Because slope is vertical change divided by horizontal change, tangent is naturally expressed as y divided by x, which is the same as sine divided by cosine.

This interpretation helps explain why tangent becomes very large in magnitude near 90 degrees and 270 degrees. As the horizontal coordinate approaches zero while the vertical coordinate remains nonzero, the ratio grows without bound.

That is one of the highest-value interpretive points on a tangent page because it turns a seemingly strange graph into a geometric consequence of slope and division.

Tangent in right triangles

In right-triangle work, tangent compares the opposite side to the adjacent side. That makes it especially useful when the problem is about steepness, rise over run, or the angle of elevation or depression from horizontal structure.

If sine emphasizes vertical size relative to the full slanted length and cosine emphasizes horizontal size relative to that slanted length, tangent removes the hypotenuse and compares the two legs directly.

This is why tangent appears so often in ramp design, grade calculations, roof pitch interpretation, and any problem where the key question is how steep the angle is rather than how long the full side is.

Angle units and why tangent can look wildly different

One of the most common tangent errors is entering an angle in the wrong unit. A value of 30 means thirty degrees only if the calculator is set to degrees. In radian mode, 30 is a much larger angle and the tangent value can change dramatically.

That matters even more for tangent than for sine or cosine because tangent can swing from small values to extremely large ones as the input approaches an undefined point. A unit mismatch can therefore make the output look not only wrong, but bizarre.

That is why the page supports degrees, radians, and turns explicitly. The math is consistent, but the user must still classify the angle correctly.

Quadrants, signs, and reference angles

Tangent is positive in Quadrants I and III because sine and cosine have the same sign there. It is negative in Quadrants II and IV because sine and cosine have opposite signs there.

The reference angle is still useful even though tangent is a ratio, because it gives the magnitude pattern while the quadrant supplies the sign. Many tangent questions become easier once the angle has been reduced to a familiar acute reference angle.

This is especially important for coterminal angles, negative angles, and larger rotations. The raw input can look complicated while the normalized tangent behavior remains simple.

Why tangent repeats every 180 degrees

Unlike sine and cosine, which repeat every full turn, tangent repeats every half turn. In degree language, that means every 180 degrees. In radian language, it means every pi radians.

The reason is structural: after a half turn, both sine and cosine reverse sign together. Since tangent is their ratio, the two sign changes cancel and the same tangent value returns.

This is one of the most important pattern differences between the trig functions, and it is a major reason tangent graphs look different from sine and cosine graphs over the same interval.

Why tangent becomes undefined

Tangent is undefined exactly where cosine is zero. On the unit circle, those are the points where the x-coordinate is zero, so the slope or ratio y/x would require division by zero.

In degree language, these undefined points occur at 90 degrees plus integer multiples of 180 degrees. In radian language, they occur at pi/2 plus integer multiples of pi.

A strong tangent calculator should make these points explicit because they are not random technicalities. They explain the vertical asymptotes in the graph and the sudden jumps users see near those angles.

Inverse tangent and the principal branch

Inverse tangent returns a principal angle from -90 degrees to 90 degrees, or from -pi/2 to pi/2 radians. That branch is chosen so arctan can behave as a single-valued inverse function over a restricted interval.

Unlike inverse cosine or inverse sine, inverse tangent accepts any real input because tangent can take any real value across its domain intervals. The limitation is on the returned angle, not on the input value.

Users often expect many angles because tangent repeats every 180 degrees. The calculator is not denying those additional solutions. It is reporting the principal one first, which is the standard inverse-trig convention.

Common exact values and asymptote-aware interpretation

Certain tangent values are standard enough to recognize exactly. Examples include tan 0 degrees = 0, tan 30 degrees = square root of 3 over 3, tan 45 degrees = 1, and tan 60 degrees = square root of 3. At 90 degrees, tangent is undefined rather than merely large.

That last point matters because users often treat a very large decimal as “basically the same” as undefined. It is not. A huge tangent near an asymptote is still a finite approximation from one side; the exact asymptote point itself is not assigned a real tangent value.

This is one reason the page should pair exact-value interpretation with graph context. Tangent behavior is best understood when the asymptote structure is visible, not just when decimal results are listed.

Graph behavior and vertical asymptotes

The tangent graph is unlike the sine and cosine waves because it contains repeating branches separated by vertical asymptotes. Each branch climbs or falls through all real values before the function resets after crossing an undefined angle line.

That means a tangent graph should not be read as one smooth periodic wave. It is periodic, but the repeated branches are broken by points where the function is undefined.

This is one of the highest-value visual interpretation layers on the page because it explains why tangent output can flip sign and magnitude so sharply even when the angle changes only a little near an asymptote.

Domain and range limits that matter in practice

Tangent accepts all real angles except those where cosine is zero. Its range, however, is all real numbers. That means the forward function has a broken domain but an unrestricted real output set.

Inverse tangent reverses that arrangement. It accepts any real input value but returns a principal output angle on a restricted branch. This is one of the cleanest contrast cases among the inverse trig functions.

Users often confuse undefined forward tangent with forbidden inverse tangent input. A strong calculator page should separate those ideas clearly.

Why tangent still matters beyond textbook trig

Tangent matters in any setting where steepness, slope, or directional change must be quantified. It appears in surveying, construction, navigation, graphics, coordinate geometry, and analytic modeling where the relationship between vertical and horizontal change is central.

For geometry users, tangent connects angle and slope directly. For algebra and calculus users, it introduces asymptotes, periodicity, and derivative relationships that behave differently from sine and cosine.

That broader relevance is why a tangent page should not read like a narrow lookup table. It is part of a larger math workflow centered on directional change and slope behavior.

Use cases where this page adds real value

The obvious use case is evaluating tan(angle) or arctan(value). The higher-value use cases are usually more specific: checking a slope interpretation, validating whether an angle is near an undefined point, comparing exact common-angle values, or understanding why the tangent graph behaves differently from sine and cosine.

A thin page that only prints one decimal answer misses that intent. Users often need explanation, not just evaluation. They want to know why the sign is what it is, why the value explodes near certain angles, and how the answer fits the triangle or graph they are studying.

That is why the page pairs the result with graph context, exact-value references, FAQ coverage, and related trig tools. The goal is not only to compute tangent, but to make the result meaningful.

Tangent Calculator FAQ

What does tangent measure?

Tangent is sin(theta) divided by cos(theta). In a right triangle, it is the opposite side divided by the adjacent side.

What is the range of tangent?

Tangent can be any real number, but it is undefined where cos(theta) equals 0. That happens at 90 + 180k degrees.

What is tan 45 degrees?

tan 45 degrees is 1 because the opposite and adjacent sides are equal in a 45-45-90 triangle.

What is the difference between degrees and radians?

Degrees split a full turn into 360 parts. Radians measure angle by arc length on the unit circle, where a full turn is 2 pi radians.

Why does arctan only return one angle?

Inverse tangent returns the principal angle from -90 degrees to 90 degrees, excluding the undefined endpoints. Many angles can share the same tangent, but the calculator reports the standard principal-value branch.

Why does tangent repeat every 180 degrees instead of 360?

Tangent is the ratio of sine to cosine, and both sine and cosine change sign together after a half turn. Their ratio therefore repeats every 180 degrees, or pi radians.

When is tangent undefined?

Tangent is undefined when cosine is zero, which happens at odd multiples of 90 degrees, or pi/2 plus kpi radians. At those angles the unit-circle x-coordinate is zero, so division by zero would be required.

Why is tangent useful in triangles and graphs?

Tangent links angle and slope. It helps solve right triangles through opposite-over-adjacent relationships and also describes line steepness, directional change, and periodic behavior with vertical asymptotes.