What this tool does
This trigonometric function table calculator produces the values of sine, cosine and tangent for a sequence of angles. You choose a starting angle, an ending angle and a step (increment), all measured in degrees, and the tool lists one row per stepped angle showing \(\sin\theta\), \(\cos\theta\) and \(\tan\theta\). It also draws the sine and cosine curves over the chosen range so you can see how the two waves rise and fall. It is a pure-math tool and works identically everywhere — no country or unit assumptions beyond the degree input.
How to use it
Enter the start angle (the first row), the end angle (the last angle of the range) and the increment, which is the gap between consecutive rows. For example a start of 0, an end of 360 and a step of 2 produces angles 0, 2, 4, …, 360. The increment must be greater than zero. To limit page size the table generates at most 361 rows; if your range and step would create more, it stops at 361.
The formula explained
For every angle a in degrees the tool first converts to radians using $$r = a \times \frac{\pi}{180}$$ because the math library expects radians. Then \(\sin\theta = \sin(r)\), \(\cos\theta = \cos(r)\), and \(\tan\theta = \sin(r) / \cos(r)\). Tangent has no value when \(\cos\theta = 0\) — that happens at 90°, 270°, 450° and other odd multiples of 90°. Because floating-point cos of 90° is a tiny non-zero number, the tool flags any angle where \(|\cos|\) is below \(1\mathrm{e}{-12}\) and prints "undefined" instead of an enormous number.
Worked example
With start = 0°, end = 90°, increment = 30° the table has four rows. At 0°: \(\sin 0\), \(\cos 1\), \(\tan 0\). At 30°: \(\sin 0.5\), \(\cos 0.866025\), \(\tan 0.577350\). At 60°: \(\sin 0.866025\), \(\cos 0.5\), \(\tan 1.732051\). At 90°: \(\sin 1\), \(\cos 0\), tan undefined. The graph shows sine rising from 0 to 1 while cosine falls from 1 to 0.
Reading the Table and Graph
Signs by quadrant (ASTC)
| Quadrant | Angle range | sin | cos | tan | Positive ones |
|---|---|---|---|---|---|
| I | 0°–90° | + | + | + | All |
| II | 90°–180° | + | − | − | Sine |
| III | 180°–270° | − | − | + | Tangent |
| IV | 270°–360° | − | + | − | Cosine |
The mnemonic "All Students Take Calculus" (ASTC) lists the positive functions in quadrants I to IV.
Range and period
- sin θ and cos θ always lie between −1 and 1 (amplitude 1). Their period is 360°.
- tan θ is unbounded: it takes every real value. Its period is 180°, so tan(θ + 180°) = tan θ.
Key identities
- Co-function identity: \(\sin(90^\circ - \theta) = \cos\theta\).
- Pythagorean identity: \(\sin^2\theta + \cos^2\theta = 1\). Check any table row: at 30°, 0.5² + 0.866025² = 0.25 + 0.75 = 1.
- Quotient identity: \(\tan\theta = \dfrac{\sin\theta}{\cos\theta}\).
Tangent asymptotes
Tangent has vertical asymptotes wherever cos θ = 0, that is at \(\theta = 90^\circ + k\cdot 180^\circ\) (…, −90°, 90°, 270°, …). Near these angles the table values become very large, positive just below 90° and negative just above it.
Phase shift between the curves
The cosine curve is the sine curve shifted 90° to the left: \(\cos\theta = \sin(\theta + 90^\circ)\). On the graph, cos reaches its maximum (1) at 0° while sin is at 0 and rising. Sin reaches its maximum at 90°, where cos crosses zero. The curves intersect where sin θ = cos θ, at 45° and 225° (value ±0.707107).
Tip: choose an increment that divides evenly into your range (for example 15° or 30°) so that the standard angles appear in the table, and use a smaller step (such as 5°) for a smoother graph.
Key Terms
- Angle
- A measure of rotation between two rays that share a common endpoint (the vertex).
- Degree (°)
- A unit of angle equal to 1/360 of a full rotation.
- Radian
- An angle unit based on arc length: one radian subtends an arc equal to the radius. 180° = π rad, so radians = degrees × π/180 (a full turn is 2π rad ≈ 6.283185 rad).
- Sine (sin)
- In a right triangle, the ratio of the side opposite the angle to the hypotenuse. On the unit circle, it is the y-coordinate of the point at angle θ.
- Cosine (cos)
- In a right triangle, the ratio of the adjacent side to the hypotenuse. On the unit circle, it is the x-coordinate.
- Tangent (tan)
- The ratio of the opposite side to the adjacent side, equal to sin θ / cos θ. It is the slope of the line at angle θ and is undefined where cos θ = 0.
- Unit circle
- A circle of radius 1 centered at the origin. The point at angle θ measured from the positive x-axis is (cos θ, sin θ).
- Period
- The length of the interval after which a function repeats: 360° for sin and cos, 180° for tan.
- Amplitude
- Half the distance between the maximum and minimum of a wave. For sin and cos it is 1.
- Asymptote
- A line that a curve approaches without reaching. Tangent has vertical asymptotes at 90° + k·180°.
- Increment (step)
- The fixed angle added between consecutive table rows. Rows are generated as start + k × increment until the end angle is exceeded.
FAQ
Why is tan blank or "undefined" at 90°? Because \(\tan = \sin/\cos\) and \(\cos(90\degree) = 0\), so the division is undefined (a vertical asymptote).
Can I use negative angles or angles above 360°? Yes. The trig functions are periodic, so any real angle is valid.
Why isn't tangent graphed? Tangent shoots to infinity near its asymptotes, which would distort a fixed-scale plot, so only sin and cos are drawn while tan stays in the table.