Tangent Calculator (Tan) – Definition, Properties & Uses
Welcome to interactive tangent calculator along with a comprehensive guide to understanding the tangent function (tan). We’ll explain what tangent is (in both right-triangle and unit-circle contexts), show you how to use the calculator step-by-step, highlight key properties of the tangent function (undefined values, asymptotes, periodicity, symmetry, quadrant signs, and reference angles), present a tangent values table for common angles (in degrees and radians, with undefined points noted). Let’s dive in!
Interactive Tangent Calculator
Remember:
Tangent equals sine divided by cosine (tan θ = sin θ / cos θ).

Mad Plexus is a growing network of focused calculators and visual tools built to support learning, teaching, and data analysis. Explore → MadPlexus.com

UnitCircleChart.com
Table of Contents
What Is Tangent (tan)?
Tangent (abbreviated tan) is one of the three fundamental trigonometric functions (along with sine and cosine). In simple terms, the tangent of an angle is a ratio that relates two sides of a right triangle, and it can also be understood using the unit circle. Below we explain tangent in both contexts:
Tangent in a Right Triangle (Opposite/Adjacent)
In a right-angled triangle, the tangent of an angle is defined as the ratio of the length of the side opposite the angle to the length of the side adjacent to the angle. In formula form, for an angle θ:
- tan(θ) = (Opposite Side) / (Adjacent Side)
For example, if in a right triangle an angle θ has an opposite side of length five and an adjacent side of length 8, then tan(θ) = 5/8 = 0.625. This ratio is fixed for a given angle – no matter the triangle’s size, the opposite/adjacent ratio remains the same for that angle. (This is the essence of SOH-CAH-TOA: Tangent = Opposite/Adjacent.)
[Tip: A quick way to remember: “TOA” in SOH-CAH-TOA stands for Tangent = Opposite/Adjacent.]*
Tangent on the Unit Circle (sin θ / cos θ)
On the unit circle (a circle of radius one centred at the origin), trigonometric functions can be defined by coordinates. An angle θ drawn in standard position (starting from the positive x-axis) intersects the unit circle at a point whose coordinates are (cos θ, sin θ). Tangent can be defined here as the ratio of the y-coordinate to the x-coordinate – that is, tan(θ) = sin(θ) / cos(θ). In other words, tan θ equals the sine of θ divided by the cosine of θ. This definition is equivalent to the right-triangle definition because sin(θ) = Opposite/Hypotenuse and cos(θ) = Adjacent/Hypotenuse; dividing sin by cos gives Opposite/Adjacent.
- If cos θ = 0, then tan θ is undefined (since division by zero has no meaning). We’ll discuss these undefined angles shortly.
In the unit circle context, you can visualise tan(θ) as the slope of the line that connects the circle’s centre to the point on the circle. For small angles near 0°, tan is slight (the line is shallow). As the angle approaches 90° (π/2 radians), the line becomes vertical and its slope (tan θ) grows without bound.
Key Properties of the Tangent Function
The tangent function has unique properties that distinguish its graph and values. Understanding these properties is crucial when studying trigonometry. Here are the key properties of tan(θ):
-
Undefined Values (Division by Zero): Tangent is undefined for angles where cos θ = 0 – because tan θ = sin θ / cos θ. In degree terms, tan is undefined at 90° and 270° (and at every odd multiple of 90°). In radians, these are at π/2, 3π/2, etc. At these angles, the function does not have a value (you might see “undefined” or “∞”). On the unit circle, this corresponds to points where the angle’s terminal side is vertical, so the slope is infinite. For example, tan 90° is undefined because cos 90° = 0. These undefined points correlate to vertical asymptotes on the graph of y = tan x.
-
Vertical Asymptotes: Because of those undefined points, the graph of tan x has vertical asymptote lines at x = 90° + k·180° (in radians, at x = π/2 + k·π for any integer k). As x approaches 90° from the left, tan x → +∞; coming from the right, tan x → –∞. These asymptotes repeat periodically. (See the tangent graph image below for visualisation.)
Graph of the tangent function y = tan(x). Notice the vertical asymptotes at 90° (π/2 rad) and 270° (3π/2 rad), where the function is undefined. Between asymptotes, the curve passes through 0 at multiples of 180° and rises or falls without bound
-
Periodicity: The tangent function is periodic, meaning it repeats its values in regular intervals. The period of tan is 180° (or π radians). In other words, tan(θ + 180°) = tan(θ) for any angle θ. This is evident on the graph – the shape from 0° to 180° repeats for 180° to 360°, and so on. For instance, tan 210° = tan(210° – 180°) = tan 30°. The tan curve crosses through zero every 180 degrees (at 0°, 180°, 360°, etc.), showing its period.
-
Symmetry (Odd Function): Tangent is an odd function, which means it is symmetric about the origin. Mathematically, tan(-θ) = -tan(θ). This origin symmetry can be observed on the graph: for example, tan(–45°) = –1, which is the mirror image of tan(45°) = +1 across the origin. This odd symmetry is consistent with the period property: shifting by 180° (half a rotation) effectively negates the angle’s direction.
Signs in Each Quadrant: The sign of tan(θ) depends on the signs of sin θ and cos θ (since tan = sin/cos). Remember that in the coordinate plane quadrants, sine corresponds to y (vertical) and cosine to x (horizontal). Tangent will be positive when sin and cos have the same sign, and negative when sin and cos have opposite signs. Here’s a quadrant breakdown:
-
Quadrant I (0° to 90°): sin (+), cos (+) → tan(θ) positive (all trig functions positive in QI).
-
Quadrant II (90° to 180°): sin (+), cos (–) → tan(θ) negative (tangent takes sign of opposite/adjacent => +/– = –).
-
Quadrant III (180° to 270°): sin (–), cos (–) → tan(θ) positive (two negatives make a positive; only tangent is positive in QIII).
-
Quadrant IV (270° to 360°): sin (–), cos (+) → tan(θ) negative (–/+ = –).
Another way to remember quadrant signs is the mnemonic “All Students Take Calculus” (ASTC):
-
All (all trig functions positive in QI),
-
Students (Sine positive in QII, others negative),
-
Take (Tangent positive in QIII),
-
Calculus (Cosine positive in QIV). This matches the sign analysis above
Reference Angles: An angle’s reference angle is the acute angle it makes with the nearest x-axis (horizontal axis). Tangent of any angle can be related to the tangent of its reference angle. Essentially, tan(θ) (for any θ) will have the same absolute value as tan(Reference Angle), differing only in sign depending on the quadrant. For example:
-
θ = 150° (QII) has reference angle 30°; tan 150° = –tan 30° = –(√3/3) because tangent is negative in QII.
-
θ = 210° (QIII) has reference angle 30°; tan 210° = +tan 30° = √3/3 because tangent is positive in QIII.
-
θ = 330° (QIV) has reference angle 30°; tan 330° = –tan 30° = –(√3/3) (tan negative in QIV).
Using reference angles simplifies the process of finding tangent values for non-acute angles. First, determine the acute reference angle (e.g., 180° – θ in QII, θ – 180° in QIII, 360° – θ in QIV), then adjust the sign based on quadrant as listed above. This way, you can use the known tangent of common acute angles (like 30°, 45°, 60°) to get tangent of larger angles.
Now that we’ve covered the properties, let’s apply them to some specific angles in a handy reference table.
Tangent Values for Common Angles (Degrees & Radians)
It’s often helpful to know the tangent values of common angles. Below is a tangent table listing key angles in both degrees and radians, along with their tan(θ) values. We include the most commonly used angle, ranging from 0 ° to 360° (0 to 2π radians). Undefined values of tangent are noted in the table.
| Angle (Degrees) | Angle (Radians) | tan(angle) |
|---|---|---|
| 0° | 0 | 0 |
| 30° | π/6 | √3/3 ≈ 0.5773 |
| 45° | π/4 | 1 |
| 60° | π/3 | √3 ≈ 1.732 |
| 90° | π/2 | Undefined |
| 120° | 2π/3 | –√3 ≈ –1.732 |
| 135° | 3π/4 | –1 |
| 150° | 5π/6 | –√3/3 ≈ –0.5773 |
| 180° | π | 0 |
| 210° | 7π/6 | √3/3 ≈ 0.5773 |
| 225° | 5π/4 | 1 |
| 240° | 4π/3 | √3 ≈ 1.732 |
| 270° | 3π/2 | Undefined |
| 300° | 5π/3 | –√3 ≈ –1.732 |
| 315° | 7π/4 | –1 |
| 330° | 11π/6 | –√3/3 ≈ –0.5773 |
| 360° | 2π | 0 |
How to use this table: Pick the angle in either degrees or radians, and read off its tangent. For instance, tan 60° = √3 ≈ 1.732, tan 45° = 1, and tan 90° is undefined. The pattern repeats every 180° (π radians) as discussed. Note that acute angles (0°–90°) have positive tangents, and the sign flips in other quadrants as shown. Additionally, the tangents of angles like 30°, 45°, and 60° have well-known exact forms (involving √3), which are included above. These are great for memorising and quick recall.
Observation: Zero degrees and 180° (and 360°) all have tan = 0. At 90° and 270°, tan is undefined (vertical asymptotes). Pairs like 30° and 210° have the same tan value (√3/3) and so on, reflecting the periodicity and reference angle relationships.
Real-World Applications of Tangent
Why do we care about tangent? Tangent (and trigonometric functions in general) are handy in real-world applications, especially in fields such as physics, engineering, architecture, navigation, and more. Here are a few examples of how tangent is applied in practice:
-
Surveying & Navigation (Measuring Heights/Distances): One of the most common uses of tan is to measure heights or distances indirectly. Surveyors and navigators often use a measured angle and a baseline distance to find an unknown height or range. For example, if you stand a known distance from a tall building and measure the angle of elevation to the top, you can compute the height using the tangent ratio: height = distance × tan(θ). This avoids the need to climb the building. Similarly, navigators might use tangent in triangulation calculations – for instance, determining how far north/south and east/west a ship or plane has travelled by looking at heading angles. Modern navigation systems (including GPS) incorporate trigonometry; the underlying geometry for triangulating positions and bearings often involves tangent calculations.
-
Engineering and Construction (Slopes and Angles): Engineers and architects use the tangent function to design and analyse structures involving slopes or angles. For example, in construction, ensuring compliance with design specifications often means calculating angles for roofs, ramps, or stairs. The tangent function helps engineers determine the slope of a roof, estimate the run and rise of stairs, and evaluate the pitch of ramp inclines to meet accessibility requirements. If a building code states that a wheelchair ramp can have at most a 4.8° incline, an engineer will use tan(4.8°) to determine the maximum slope (rise/run ratio). In structural engineering, when forces act on an inclined surface, tangent helps resolve force components along and perpendicular to the surface.
-
Physics (Forces and Motion): In physics, tangent appears in various contexts. For example, the coefficient of friction (a unitless value describing how slippery or rough a surface is) is equal to the tangent of the angle of repose – the steepest angle of an incline at which an object on it will start to slide. If you gradually tilt a plank with a block on it, the angle at which the block begins to slide satisfies μ = tan(α), where μ is the friction coefficient and α is that critical angle. Tangent also relates to projectile motion: the trajectory angle and the range of a projectile can be connected through the tangent function (via formulas like range = (v²/g)·sin(2θ), which involves sine and cosine – one can derive a relationship with tan θ = sin θ / cos θ). In optics, the small-angle approximation uses the approximation tan θ ≈ θ (in radians) for small angles. In electricity and magnetism, the phase angle in an AC circuit might involve tan^–1 (inverse tangent) to find angles from ratios. These are just a few examples – any time you have an angle and a ratio of two physical quantities, a tangent might be hiding in the equations.
-
Navigation & Aviation (Course Corrections): Pilots and sailors use tangent when calculating wind correction angles or drift. For instance, if a plane needs to travel in a specific direction but wind is coming from the side, the pilot must point the plane slightly into the wind. The required heading offset can be found using the arctan of the wind’s effect versus the plane’s airspeed. Conversely, given a heading correction, the ratio of wind speed to airspeed is the tangent of that correction angle. This ensures the plane stays on course. Likewise, in map triangulation, combining compass bearings and distances often boils down to tangent relationships.
These examples illustrate that the tangent function isn’t just an abstract math concept – it’s a practical tool. Whether designing a roof, surveying land, calculating forces, or navigating the globe, understanding tangent and how to calculate it is extremely valuable.
Frequently Asked Questions
What is the tangent function in math?
The tangent (tan) of an angle is a trigonometric function defined as the ratio of the angle’s opposite side to its adjacent side in a right triangle. Equivalently, on the unit circle, it’s the y-coordinate divided by the x-coordinate (sin θ over cos θ). It tells us the slope of the angle’s line. For example, tan 45° = 1 (a 45° line has a slope of 1), tan 30° ≈ 0.577, and tan 90° is undefined.
Why is tan 90° (and tan 270°) undefined?
At 90° (π/2 radians), the cosine of the angle is 0, and since tan θ = sin θ / cos θ, we would be dividing by zero, which is undefined. In practical terms, as an angle approaches 90°, the opposite side grows much longer than the adjacent side, making the ratio enormous (tending to infinity). EPreciselyat 90°, there is no well-defined ratio. On the graph, you’ll see a vertical asymptote at 90°. The same applies to 270° (3π/2 rad) and any angle coterminal with 90° + 180°k. So tan 90°, 270°, etc., are undefined because you can’t divide by zero.
What is the period of the tangent function?
Tangent has a period of π radians (180°). This means the function repeats every 180°. Mathematically, tan(θ + 180°) = tan(θ) for all θ. For example, tan 10° = tan 190° = tan 370°, etc. On the graph, one “cycle” of tan x – say from –90° to 90° – will repeat itself from 90° to 270°, and so on. This is different from sine and cosine, which have a 360° (2π) period. The shorter period of tangent is because it equals sin/cos, and sin and cos themselves repeat after 360°, but the ratio sin/cos returns to its starting value halfway through that because of sign flips.
How do I graph y = tan(x)?
To graph the tangent function, follow these steps:
- Mark the vertical asymptotes at the undefined points: x = 90° + 180°·k (π/2 + π·k in radians). These are vertical dashed lines where the graph approaches but never touches.
- Mark the points where tan x = 0, which occur at x = 0°, 180°, 360° (k·π radians). These will be x-intercepts of the graph.
- In each interval between asymptotes, sketch the curve: it will start near –∞ at the left asymptote, increase through the x-intercept (at 0 for the central branch), and go to +∞ approaching the right asymptote. Tangent’s graph is growing in each interval (unlike sine or cosine, which wiggle up and down). For example, between –90° and 90°, tan x rises from –∞ (just left of –90°) up to 0 (at 0°), then to +∞ (as it nears 90° from the left).
- Repeat this shape for each 180° interval,taking into accountg the symmetry. Each segment looks identical due to periodicity.
- Label a few known points for accuracy: e.g., tan 45° = 1, so point (45°, 1); tan –45° = –1, so (–45°, –1); tan 135° = –1, etc.
In summary, the tan graph is a series of increasing curves, each passing through the origin of its 180° window, with vertical asymptotes at the edges. It looks like a set of repeating “S”-shaped curves (but unbounded vertically). (Refer to the figure above for the general shape.)
When is tangent positive or negative?
Tangent is positive in quadrants where sine and cosine have the same sign, and negative where they have opposite signs. Specifically:
- QI: tan > 0 (both sin and cos are +)
- QII: tan < 0 (sin +, cos –)
- QIII: tan > 0 (sin –, cos –; two negatives make +)
- QIV: tan < 0 (sin –, cos +)
At the boundary angles (0°, 180°, 360°) tan = 0 (sign changes), and at 90°, 270° it’s undefined. Another way: tan θ = sin θ / cos θ, so divide the sign of sin by the sign of cos. For example, sin 120° is +, cos 120° is –, so tan 120° is – (negative). This matches the ASTC rule (“All Students Take Calculus”) – tangent is positive in the T (third) quadrant only (and also first quadrant, where all are positive).
How is tangent related to sine and cosine?
Tangent is directly related to sine and cosine. In fact, tan(θ) = sin(θ) / cos(θ). This means the tangent of an angle is the ratio of the sine of that angle to the cosine of that angle. Geometrically, if you know sin θ (opposite/hypotenuse) and cos θ (adjacent/hypotenuse), dividing them gives opposite/adjacent, which is tan θ. This identity also explains many properties of tangent, such as its undefined points (where cos = 0) and its periodicity (tan repeats when sine and cosine realign their sign pattern after 180°). It also means that if you ever know the sin and cos values for an angle, you can get the tan value instantly by dividing. (Conversely, sin θ = tan θ × cos θ, and cos θ = sin θ / tan θ, assuming tan is defined.)
Is “tangent” the same as a “tangent line” (from geometry/calculus)?
Not in this context. Here, we are discussing the tangent function, a trigonometric ratio. A tangent line in geometry or calculus is something different: it’s a line that touches a curve at exactly one point (like a line touching a circle without cutting through it). The two concepts are historically related (the trigonometric tangent function derives its name from the geometric tangent line to the unit circle), but they are used differently. A tangent line calculator would typically find the equation of a line that is tangent to a given curve at a point (a calculus application).
In contrast, our tangent calculator computes the value of tan(θ) for an angle. So, if you’re searching for how to find the equation of a tangent line to a curve, that’s a different problem. (For example, finding a tangent line to y = x² at x=1 involves derivatives, not the trig tangent function.) In summary: “tangent” in trigonometry is a function giving a ratio, while a “tangent line” is a straight line just touching a curve.
How can I calculate an angle if I know the tangent value?
To go from a tangent value back to an angle, you use the arctangent (inverse tangent) function. Most calculators have a tan¹ or arctan button. For example, if you know tan θ = 2.0 and want θ, compute arctan(2.0). This will give you the “principal” value (usually between –90° and 90°). In this case, arctan(2.0) ≈ 63.4°. But remember, because tangent is periodic and not one-to-one, there may be another angle with the same tangent (in fact, an infinite number differing by 180°). For instance, tan θ = 2.0 could correspond to 63.4° or 63.4° + 180° = 243.4°, etc. The calculator’s arctan typically returns the angle in the –90° to 90° range (the principal value). If you expect an angle in a different quadrant, you might need to add 180°. Always consider the context or any additional information to choose the correct angle.
Where does the name “tangent” come from?
The term “tangent” comes from the Latin tangens, meaning “touching.” In geometry, a tangent line “touches” a circle at exactly one point. For the unit circle, if you draw a line tangent to the circle at (1,0) on the x-axis, and then take an angle θ in standard position, the length of the segment of that tangent line intercepted by the angle is equal to tan θ. In essence, the trigonometric tangent was initially understood as the length of a line segment tangent to the unit circle. This geometric interpretation is less commonly used today, but it’s a neat historical footnote that connects the algebraic ratio definition to a visualrepresentation.. In modern usage, we primarily adhere to the opposite/adjacent definition or sine/cosine definition for calculations.
We Value Your Feedback
Share your thoughts or review our site
Let us know what you liked, what could be improved, or if you encountered any issues. Your feedback helps us grow.