Calculate tangent values in degrees, radians, and gradians with unit circle visualization. Find tan, cotangent, sine, and cosine values instantly.
A surveyor stands 500 meters from the base of a mountain and measures an angle of elevation of 30° to the peak.
Formula: tan(30°) = opposite / adjacent
tan(30°) = 0.5774, so the height = 500 × 0.5774 = 288.7 meters
The tangent function relates the angle to the ratio of opposite side over adjacent side in a right triangle.
A road rises 6 meters vertically over a horizontal distance of 100 meters.
Grade = tan(θ) = rise / run
tan(θ) = 6/100 = 0.06, which gives θ = arctan(0.06) ≈ 3.43°
Road grades are commonly expressed as a percentage: a 6% grade means tan(θ) = 0.06.
OSHA recommends that a ladder should be placed at a 75° angle from the ground for safety.
If the ladder is 5 meters long, the distance from the wall is:
tan(75°) = opposite / adjacent = height / distance from wall
tan(75°) ≈ 3.7321, so distance = 5 × cos(75°) = 1.29 meters
The tangent function helps determine safe ladder positioning by relating the angle to the height and base distance.
A 10-meter tall building casts a shadow. The sun's angle of elevation is 40°.
Formula: tan(40°) = building height / shadow length
tan(40°) ≈ 0.8391, so shadow length = 10 / 0.8391 = 11.92 meters
Tangent is ideal for finding heights or distances when you know one side and an angle in a right triangle.
The tangent function (tan) is one of the three primary trigonometric functions. For a given angle, tan(θ) equals the ratio of the sine to the cosine of that angle. It represents the ratio of the opposite side to the adjacent side in a right triangle.
tan(θ) > 0, sin(θ) > 0, cos(θ) > 0. Tangent increases from 0 to ∞ as the angle approaches 90°.
tan(θ) < 0, sin(θ) > 0, cos(θ) < 0. Tangent goes from -∞ to 0.
tan(θ) > 0, sin(θ) < 0, cos(θ) < 0. Tangent increases from 0 to ∞.
tan(θ) < 0, sin(θ) < 0, cos(θ) > 0. Tangent goes from -∞ to 0.
Unlike sine and cosine which are bounded by [-1, 1], the tangent function can take any real value from -∞ to +∞, with asymptotes at odd multiples of 90°.
tan(θ + π) = tan(θ). The tangent function repeats every 180° (π radians), half the period of sine and cosine. This is because sin and cos both change sign, so the ratio stays the same.
tan(-θ) = -tan(θ). Tangent is an odd function, symmetric about the origin. This property helps simplify calculations with negative angles.
Tangent has vertical asymptotes at θ = 90° + n·180° (where cos θ = 0). At these angles, tan(θ) approaches ±∞ and is considered undefined.
The tangent function (abbreviated tan) is one of the three primary trigonometric functions in mathematics. It describes the ratio of the opposite side to the adjacent side in a right triangle. Unlike sine and cosine which are bounded between -1 and 1, the tangent function can take any real value and has vertical asymptotes where cosine equals zero.
On the unit circle — a circle with radius 1 centered at the origin — the tangent of an angle θ is the ratio of the y-coordinate to the x-coordinate: tan(θ) = y/x. Geometrically, tan(θ) also represents the length of the line segment from the point (1, 0) to the intersection of the terminal side with the line x = 1, giving rise to the name "tangent" (meaning "touching" the circle).
The tangent function is periodic with a period of π radians (180°), meaning tan(θ + π) = tan(θ). It is also an odd function, satisfying tan(-θ) = -tan(θ). The function has vertical asymptotes at θ = π/2 + nπ (90° + n·180°), where the cosine is zero and the ratio approaches infinity.
Calculating tangent values is straightforward using the relationship tan(θ) = sin(θ) / cos(θ). The most reliable approach is to first find the sine and cosine of the angle, then divide them. For standard angles (0°, 30°, 45°, 60°, 90°), the tangent values are exact and come from well-known sine and cosine pairs.
Step 1: Convert the angle to radians if necessary. Since most mathematical functions work in radians, convert degrees by multiplying by π/180. For example, 45° = 45 × π/180 = π/4 radians.
Step 2: Normalize the angle to the range [0, 2π) by adding or subtracting multiples of 2π. Since tangent has period π, you can also reduce modulo π.
Step 3: Calculate sin(θ) and cos(θ) for the angle. These can be found using the unit circle or a calculator.
Step 4: Divide sin(θ) by cos(θ) to get tan(θ). If cos(θ) = 0, the tangent is undefined (approaches ±∞).
These exact values are the building blocks of trigonometry and are worth memorizing:
The tangent function has countless practical applications that affect our everyday lives. From the slope of a wheelchair ramp to the angle of a roof, tangent helps engineers, architects, and designers create safe and functional structures.
Roof pitch is commonly expressed as a ratio of rise to run. A 6/12 roof pitch means tan(θ) = 6/12 = 0.5, giving an angle of about 26.6°. Carpenters use tangent to calculate rafter lengths and cutting angles.
ADA guidelines require wheelchair ramps to have a maximum slope of 1:12 (tan(θ) = 0.0833, θ ≈ 4.8°). Tangent helps verify compliance by converting between slope ratios and angles.
Astronomers use tangent to calculate the angular size of celestial objects. The tangent of the angular diameter times the distance gives the object's physical size: size = distance × tan(angular diameter).
In video games, projectile motion calculations use tangent to determine the angle of a cannon or the trajectory of a thrown object based on horizontal and vertical velocity components.
⚠️ Important Note: This Tangent Calculator is for educational and informational purposes only. While every effort has been made to ensure accuracy, results should be verified independently for critical applications such as engineering, construction, medical devices, or navigation. Always consult a qualified professional for decisions involving trigonometric calculations in high-stakes contexts.