Tangent Calculator
Calculate the tangent of any angle with adjustable precision from 1 to 1000 decimal places. Supports degrees and radians, shows step-by-step solutions with MathJax formulas, interactive unit circle visualization, and clearly flags vertical asymptotes. Includes a special angles reference table and trigonometric identity cards.
Your ad blocker is preventing us from showing ads
MiniWebtool is free because of ads. If this tool helped you, please support us by going Premium (adโfree + faster tools), or allowlist MiniWebtool.com and reload.
- Allow ads for MiniWebtool.com, then reload
- Or upgrade to Premium (adโfree)
About Tangent Calculator
Welcome to the Tangent Calculator โ a high-precision tool that calculates tan(ฮธ) for any angle from 1 to 1000 decimal places. Enter an angle in degrees or radians, see a step-by-step MathJax-rendered solution, explore the interactive unit circle diagram, and get clear warnings at vertical asymptotes (90ยฐ, 270ยฐ, โฆ).
What is the Tangent Function?
The tangent function (tan) is one of the six fundamental trigonometric functions. It is defined as the ratio of the sine to the cosine:
Geometrically, on the unit circle, tan(ฮธ) represents the y-coordinate where the terminal side of angle ฮธ intersects the vertical tangent line at x = 1. It also equals the slope of the radius line from the origin at angle ฮธ.
Key Properties of Tangent
- Period: ฯ radians (180ยฐ) โ tan(ฮธ + 180ยฐ) = tan(ฮธ)
- Domain: All real numbers except ฮธ = 90ยฐ + kยท180ยฐ (where cos ฮธ = 0)
- Range: All real numbers (โโ, +โ)
- Odd function: tan(โฮธ) = โtan(ฮธ)
- Asymptotes: Vertical asymptotes at odd multiples of 90ยฐ (ฯ/2 rad)
Tangent Values at Special Angles
| Angle (ยฐ) | Angle (rad) | sin ฮธ | cos ฮธ | tan ฮธ |
|---|---|---|---|---|
| 0ยฐ | 0 | 0 | 1 | 0 |
| 30ยฐ | ฯ/6 | 1/2 | โ3/2 | โ3/3 โ 0.577 |
| 45ยฐ | ฯ/4 | โ2/2 | โ2/2 | 1 |
| 60ยฐ | ฯ/3 | โ3/2 | 1/2 | โ3 โ 1.732 |
| 90ยฐ | ฯ/2 | 1 | 0 | undefined |
| 120ยฐ | 2ฯ/3 | โ3/2 | โ1/2 | โโ3 |
| 135ยฐ | 3ฯ/4 | โ2/2 | โโ2/2 | โ1 |
| 150ยฐ | 5ฯ/6 | 1/2 | โโ3/2 | โโ3/3 |
| 180ยฐ | ฯ | 0 | โ1 | 0 |
Tangent Sign by Quadrant
The tangent function is positive where sine and cosine share the same sign, and negative where they differ:
| Quadrant | Range | sin ฮธ | cos ฮธ | tan ฮธ |
|---|---|---|---|---|
| I | 0ยฐโ90ยฐ | + | + | + positive |
| II | 90ยฐโ180ยฐ | + | โ | โ negative |
| III | 180ยฐโ270ยฐ | โ | โ | + positive |
| IV | 270ยฐโ360ยฐ | โ | + | โ negative |
Mnemonic: "All Students Take Calculus" (ASTC) โ All trig functions positive in Q I; only Sin in Q II; only Tan in Q III; only Cos in Q IV.
Key Tangent Identities
How to Use This Calculator
- Enter your angle: Type any numeric value in the angle field. International number formats are supported (e.g., 1.234 or 1,234).
- Select angle unit: Choose Degrees or Radians.
- Set precision: Enter the number of decimal places (1โ1000). Standard is 10; scientific work may require 50โ100+.
- Click Calculate: View the tangent value, interactive unit circle diagram, step-by-step solution, and complete trig values.
Why High-Precision Tangent?
- Arbitrary precision: Go far beyond the typical 15โ16 digit limit of standard calculators, up to 1000 decimal places.
- Research-grade accuracy: Powered by mpmath for reliable arbitrary-precision arithmetic.
- Asymptote awareness: Detects undefined points at 90ยฐ + kยท180ยฐ (ฯ/2 + kยทฯ) and warns clearly.
- Educational output: MathJax-rendered formulas, unit circle visualization, and special angle detection.
Frequently Asked Questions
What is the tangent function in trigonometry?
The tangent function (tan) is defined as the ratio of the sine to the cosine: tan(ฮธ) = sin(ฮธ)/cos(ฮธ). It represents the slope of the line from the origin at angle ฮธ, and geometrically, it is the y-value where this line intersects the vertical tangent line x = 1 on the unit circle.
Where is the tangent function undefined?
Tangent is undefined at odd multiples of 90ยฐ (or ฯ/2 radians): 90ยฐ, 270ยฐ, โ90ยฐ, etc. At these angles, cos(ฮธ) = 0, making the ratio sin(ฮธ)/cos(ฮธ) undefined. The tangent graph has vertical asymptotes at these points.
What are the tangent values at special angles?
The exact tangent values at special angles are: tan(0ยฐ) = 0, tan(30ยฐ) = โ3/3 โ 0.577, tan(45ยฐ) = 1, tan(60ยฐ) = โ3 โ 1.732, tan(90ยฐ) = undefined, tan(120ยฐ) = โโ3, tan(135ยฐ) = โ1, tan(150ยฐ) = โโ3/3, and tan(180ยฐ) = 0.
Why does tan(45ยฐ) equal 1?
At 45ยฐ, both sine and cosine have the same value (โ2/2). Since tan(ฮธ) = sin(ฮธ)/cos(ฮธ), we get tan(45ยฐ) = (โ2/2)/(โ2/2) = 1. Geometrically, the radius line at 45ยฐ has a slope of exactly 1.
What is the period of the tangent function?
The tangent function has a period of ฯ radians (180ยฐ), meaning tan(ฮธ + 180ยฐ) = tan(ฮธ). This is shorter than sine and cosine (which have period 2ฯ/360ยฐ) because both sin and cos change sign after 180ยฐ, and their ratio stays the same.
In which quadrants is tangent positive or negative?
Tangent is positive in Quadrant I (0ยฐโ90ยฐ) and Quadrant III (180ยฐโ270ยฐ), where sine and cosine share the same sign. Tangent is negative in Quadrant II (90ยฐโ180ยฐ) and Quadrant IV (270ยฐโ360ยฐ), where sine and cosine have opposite signs.
Additional Resources
Reference this content, page, or tool as:
"Tangent Calculator" at https://MiniWebtool.com/tangent-calculator/ from MiniWebtool, https://MiniWebtool.com/
by miniwebtool team. Updated: Feb 13, 2026
You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.
Related MiniWebtools:
Trigonometry Calculators:
- DMS to Decimal Degrees Converter
- Law of Cosines Calculator
- Law of Sines Calculator
- Right Triangle Calculator
- Sine Calculator
- Hyperbolic Functions Calculator
- Trigonometric Function Grapher
- Arcsin Calculator
- Arccos (Inverse Cosine) Calculator
- Cosine Calculator
- Tangent Calculator
- Cosecant/Secant/Cotangent Calculator
- Arctan Calculator
- Arctan2 Calculator
- Decimal Degrees to DMS Converter
- Interactive Unit Circle Visualizer
- Trigonometric Identities Calculator