Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Trigonometry Calculator

How to use Trigonometry Calculator
  1. Pick a calculator with the three options above the tool: Standard Trigonometry Functions, Inverse Trigonometry Functions or Angle Explorer. Learn more about switching
  2. In the standard calculator, type the angle in the Angle box and pick Degrees or Radians in Select Units. Learn more about the angle
  3. Pick how many decimal places the table shows in Select Precision Level; the default is 5. Learn more about precision
  4. Click Calculate. The table fills with sin, cos, tan, csc, sec and cot of the angle; each value has a copy button. Learn more about the table
  5. Click a blue header of the table, sin to cot, to read that function's explanation in the panel on the right; the text ends with a link to the section below that treats it in full. Learn more about the panel
  6. In the inverse calculator, type a Ratio, pick the Angle Unit, click Calculate, and read arcsin, arccos and arctan. Learn more about the inverse calculator
  7. Click Reset to clear the boxes and the table. A ratio outside -1 to 1 shows a message in the inverse calculator. Learn more about Reset

Other Calculators

Angle Converter →

SIN

Sine is the ratio of the opposite side to the hypotenuse in a right triangle. In the unit circle, it's the y-coordinate of a point on the circle. Learn more about sine · All six functions
Learn more


sinClick for ExplanationcosClick for ExplanationtanClick for ExplanationcscClick for ExplanationsecClick for ExplanationcotClick for Explanation
..................

Angle: 0° Analysis

Current angle: 0°

🌟 Special Angle!

Zero angle - on positive x-axis

Quadrant:
Q1
Reference Angle:
0.0° (acute equivalent)
Unit Conversion:
0.00° = 0.00000 rad
Learn more →
Complement:
90° - 0° = 90.0°
Supplement:
180° - 0° = 180.0°
Coterminal Angles:
360.0°, -360.0°
💡 Function Signs in Q1: sin is positive, cos is positive, tan is positive





Switching Between the Three Calculators

DemoStandard, inverse, angle explorer
Step 0 of 4
Three options sit above the tool. Standard Trigonometry Functions takes an angle and returns its sine, cosine, tangent, cosecant, secant and cotangent. Inverse Trigonometry Functions takes a ratio and returns the angle whose sine, cosine or tangent it is. Angle Explorer is a visual tool for looking at an angle in standard position; a short caption above it says how to use it, and it has no explanation panel of its own.

Click an option and the tool below changes at once. Each calculator keeps its own numbers while you look at another, so you can switch back without retyping. The standard calculator opens first, with the Angle box empty and Degrees selected, so typing 3030 gives the angle 30∘30^\circ.

The two calculators share the same layout: the inputs and the buttons on the left, the explanation panel on the right, and the table of results underneath with a copy button beside every value.

What each function means, and how the six are related, is explained in the six trigonometric functions.

Entering the Angle and Its Units

DemoThe same angle in degrees and in radians
Step 0 of 4
Type the angle in the Angle box of the standard calculator. The box's placeholder names the unit in force: Enter Angle in Degrees or Enter Angle in Radians. Whole numbers, decimals and negative angles all work, and angles beyond one turn are fine: 390∘390^\circ gives the same values as 30∘30^\circ.

Pick the unit in Select Units. The same angle has two names: 30∘30^\circ in degrees is π/6≈0.5236\pi / 6 \approx 0.5236 in radians, since a full turn is 360∘360^\circ or 2π2\pi. Changing the unit does not convert the number already in the box, so after switching to radians type the radian value yourself.

A mismatch is the usual source of surprising results: 3030 radians is almost five turns, and its sine is −0.98803-0.98803, not 0.50.5. The placeholder tells you which unit the calculator will assume.

How degrees and radians are defined and converted is explained in degrees and radians.

Choosing the Precision

DemoDecimal places
Step 0 of 4
Select Precision Level sets how many decimal places the table shows. The default is 55, which prints sin⁡45∘\sin 45^\circ as 0.707110.70711; with 22 places it reads 0.710.71 and with 88 places 0.707106780.70710678. The choice affects only the display, not the calculation, and it applies to all six values at once.

Whole-number results print without decimals: sin⁡30∘=0.50000\sin 30^\circ = 0.50000 at five places is really 12\frac{1}{2}, and csc⁡30∘\csc 30^\circ prints as 22. A value that is undefined, such as tan⁡90∘\tan 90^\circ, prints as Undefined whatever the precision.

Use fewer places when you want to recognise an exact value and more when the result feeds another calculation; rounding too early is the usual cause of a wrong final digit. The same setting exists in the inverse calculator.

Which values are exact at the common angles is shown in the six trigonometric functions.

Calculating and Reading the Table

DemoWhat Calculate fills in
Step 0 of 4
Click Calculate and the standard calculator sends the angle and the unit to the server, which returns the six values; the table under the form fills with them. For 30∘30^\circ it shows sin⁡=0.50000\sin = 0.50000, cos⁡=0.86603\cos = 0.86603, tan⁡=0.57735\tan = 0.57735, csc⁡=2\csc = 2, sec⁡=1.15470\sec = 1.15470 and cot⁡=1.73205\cot = 1.73205. Until you click, every cell shows three dots. The demo above stops at the button, because the request would go out every time the demo loops.

A value that does not exist prints as Undefined: tan⁡90∘\tan 90^\circ and sec⁡90∘\sec 90^\circ, because cos⁡90∘=0\cos 90^\circ = 0, or csc⁡0∘\csc 0^\circ and cot⁡0∘\cot 0^\circ, because sin⁡0∘=0\sin 0^\circ = 0. If the server cannot be reached, the message Failed to fetch data appears instead of values.

Every cell has a copy button that puts the value on the clipboard. The headers of the table are also buttons: click one to read that function's explanation, as described in the next section.

Why some values are undefined is explained in tangent and cotangent.

The Function Headers and the Explanation Panel

DemoOne explanation per function
Step 0 of 4
The six headers of the table, sin, cos, tan, csc, sec and cot, are blue and clickable; hovering one shows the hint *Click for Explanation*. Click a header and the panel on the right shows the function's name in capitals, a short definition with the right-triangle ratio and the unit-circle reading, and a link to an external reference. Each definition ends with a link to the section on this page that treats the function in full.

The panel shows sine when the page opens and after Reset. Clicking a header does not change the numbers in the table; it only changes the explanation, so you can read all six for one angle.

The inverse calculator works the same way: its headers arcsin, arccos and arctan open the explanations of the inverse functions, with the input range and the output range of each.

The reciprocal relations the explanations mention, csc⁡=1/sin⁡\csc = 1 / \sin, sec⁡=1/cos⁡\sec = 1 / \cos and cot⁡=1/tan⁡\cot = 1 / \tan, are set out in cosecant, secant and cotangent.

Using the Inverse Calculator

DemoArcsine, arccosine and arctangent of a ratio
Step 0 of 5
Pick Inverse Trigonometry Functions to go from a ratio back to an angle. Type the ratio in the Ratio box, choose Radians or Degrees in Angle Unit, set the precision, and click Calculate. The table shows arcsin, arccos and arctan of the ratio, computed on this page without a server.

For the ratio 0.50.5 in radians the table reads arcsin 0.523600.52360, arccos 1.047201.04720 and arctan 0.463650.46365; in degrees, 3030, 6060 and 26.5650526.56505. Arcsine and arccosine accept ratios from −1-1 to 11 only, because a sine or cosine never leaves that range; arctangent accepts any number, since a tangent can be anything.

Type 22 and click Calculate: the message Value outside [-1,1] range: arcsin/arccos undefined, arctan calculated appears, the first two cells read Undefined, and arctan 22 is still given, 63.43495∘63.43495^\circ.

Which angle the calculator returns when several would fit is explained in the inverse functions.

Reset and Messages

DemoA message, then Reset
Step 0 of 4
Each calculator has a Reset button next to Calculate. In the standard calculator it empties the Angle box, returns the unit to Degrees and the precision to 55 places, clears the table back to dots and sets the panel to sine. In the inverse calculator it empties the Ratio box, clears the table and the message, and sets the panel to arcsine.

Messages appear in red under the form. The inverse calculator warns when the ratio lies outside −1-1 to 11: arcsine and arccosine are undefined there, arctangent is still computed, for example arctan 1.5=0.982791.5 = 0.98279 radians. The standard calculator reports Failed to fetch data when the server does not answer; try again in a moment.

Reset clears the angle and the table in both calculators and sends nothing to the server.

The range rule behind the inverse calculator's message is explained in arcsine and arccosine.

The Six Trigonometric Functions

In a right triangle with an acute angle θ\theta, the three basic functions are ratios of sides: sin⁡θ\sin\theta is opposite over hypotenuse, cos⁡θ\cos\theta adjacent over hypotenuse, and tan⁡θ\tan\theta opposite over adjacent. The three others are their reciprocals: csc⁡θ=1/sin⁡θ\csc\theta = 1 / \sin\theta, sec⁡θ=1/cos⁡θ\sec\theta = 1 / \cos\theta and cot⁡θ=1/tan⁡θ\cot\theta = 1 / \tan\theta.

On the unit circle the definitions extend to every angle: the point at angle θ\theta has coordinates (cos⁡θ,sin⁡θ)(\cos\theta, \sin\theta), and tan⁡θ\tan\theta is the slope of the radius to it. That is how the calculator evaluates sin⁡150∘=0.5\sin 150^\circ = 0.5 or cos⁡200∘=−0.93969\cos 200^\circ = -0.93969, angles that fit in no right triangle.

A few angles have exact values worth knowing: at 30∘30^\circ, sin⁡=12\sin = \frac{1}{2}, cos⁡=32≈0.86603\cos = \frac{\sqrt{3}}{2} \approx 0.86603, tan⁡=13≈0.57735\tan = \frac{1}{\sqrt{3}} \approx 0.57735; at 45∘45^\circ, sin⁡=cos⁡=22≈0.70711\sin = \cos = \frac{\sqrt{2}}{2} \approx 0.70711 and tan⁡=1\tan = 1. The calculator's six headers are explained one by one in sine, cosine, tangent, cosecant, secant and cotangent.

See defining sine, cosine, and tangent, evaluating trigonometric functions at any angle and the six functions at a glance.

Sine

The sine of an angle is the ratio of the opposite side to the hypotenuse in a right triangle, and on the unit circle the yy-coordinate of the point at that angle. It runs from −1-1 to 11: sin⁡0∘=0\sin 0^\circ = 0, sin⁡30∘=12\sin 30^\circ = \frac{1}{2}, sin⁡90∘=1\sin 90^\circ = 1, sin⁡150∘=12\sin 150^\circ = \frac{1}{2} again, and sin⁡270∘=−1\sin 270^\circ = -1.

Sine repeats every 360∘360^\circ, or 2π2\pi radians, and is odd: sin⁡(−θ)=−sin⁡θ\sin(-\theta) = -\sin\theta. Its graph is the familiar wave, which is why sine describes oscillations: sound, alternating current, tides. Together with cosine it satisfies sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1.

The common mistake is to expect sin⁡30\sin 30 to be 0.50.5 when the calculator is set to radians: 3030 radians is almost five turns, and sin⁡30≈−0.98803\sin 30 \approx -0.98803. Check the unit before reading the table.

See the sine function and graph of the sine function.

Cosine

The cosine of an angle is the ratio of the adjacent side to the hypotenuse, and on the unit circle the xx-coordinate of the point at that angle. It also runs from −1-1 to 11: cos⁡0∘=1\cos 0^\circ = 1, cos⁡60∘=12\cos 60^\circ = \frac{1}{2}, cos⁡90∘=0\cos 90^\circ = 0, cos⁡180∘=−1\cos 180^\circ = -1.

Cosine is the sine shifted by a quarter turn, cos⁡θ=sin⁡(90∘−θ)\cos\theta = \sin(90^\circ - \theta), which is the cofunction relation; it is even, cos⁡(−θ)=cos⁡θ\cos(-\theta) = \cos\theta, and repeats every 360∘360^\circ. Its zeros at 90∘90^\circ and 270∘270^\circ are where tangent and secant become undefined.

Cosine appears in the law of cosines, which generalises Pythagoras to any triangle, and in the dot product of vectors. The common mistake is to mix up which side is adjacent: it is the side that touches the angle and is not the hypotenuse.

See the cosine function and cofunction relationships.

Tangent

The tangent of an angle is the ratio of the opposite side to the adjacent side, equal to sin⁡θ/cos⁡θ\sin\theta / \cos\theta. On the unit circle it is the slope of the radius to the point at that angle, so it can take any real value: tan⁡0∘=0\tan 0^\circ = 0, tan⁡30∘≈0.57735\tan 30^\circ \approx 0.57735, tan⁡45∘=1\tan 45^\circ = 1, tan⁡60∘≈1.73205\tan 60^\circ \approx 1.73205.

Where the cosine is zero the tangent is undefined, at 90∘90^\circ, 270∘270^\circ and every half turn beyond; the calculator prints Undefined there. Near those angles the tangent grows without bound, which gives its graph the vertical asymptotes. Tangent repeats every 180∘180^\circ, half the period of sine and cosine, and is odd.

Tangent is the function of slopes and gradients: a road rising 11 metre over 1010 metres has an angle whose tangent is 0.10.1. The common mistake is to round tan⁡89.9∘\tan 89.9^\circ to infinity; it is large, about 572.96572.96, but defined.

See the tangent function and graph of the tangent function.

Cosecant

The cosecant is the reciprocal of the sine: csc⁡θ=1/sin⁡θ\csc\theta = 1 / \sin\theta, the hypotenuse over the opposite side. Since ∣sin⁡θ∣≤1|\sin\theta| \le 1, the cosecant is never between −1-1 and 11: csc⁡30∘=2\csc 30^\circ = 2, csc⁡90∘=1\csc 90^\circ = 1, csc⁡150∘=2\csc 150^\circ = 2.

It is undefined wherever the sine is zero, at 0∘0^\circ, 180∘180^\circ and every half turn, and the calculator prints Undefined there. It shares the period 360∘360^\circ and the odd symmetry of the sine, and it is large exactly where the sine is small.

The cosecant appears mainly in identities and in calculus, where 1+cot⁡2θ=csc⁡2θ1 + \cot^2\theta = \csc^2\theta is the companion of the Pythagorean identity. The common mistake is to confuse the cosecant with the inverse sine: csc⁡θ\csc\theta is a reciprocal of a value, arcsin⁡x\arcsin x is an angle; csc⁡30∘=2\csc 30^\circ = 2 while arcsin⁡0.5=30∘\arcsin 0.5 = 30^\circ.

See the cosecant function and the reciprocal functions.

Secant

The secant is the reciprocal of the cosine: sec⁡θ=1/cos⁡θ\sec\theta = 1 / \cos\theta, the hypotenuse over the adjacent side. It is never between −1-1 and 11: sec⁡0∘=1\sec 0^\circ = 1, sec⁡30∘≈1.15470\sec 30^\circ \approx 1.15470, sec⁡60∘=2\sec 60^\circ = 2, sec⁡180∘=−1\sec 180^\circ = -1.

It is undefined wherever the cosine is zero, at 90∘90^\circ and 270∘270^\circ, where the calculator prints Undefined. Like the cosine it is even and repeats every 360∘360^\circ. The identity 1+tan⁡2θ=sec⁡2θ1 + \tan^2\theta = \sec^2\theta follows from dividing sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1 by cos⁡2θ\cos^2\theta.

The secant names the length of a line that cuts a circle, which is where the word comes from. The common mistake is the same as for the cosecant: sec⁡θ\sec\theta is not arccos⁡\arccos, the inverse cosine; sec⁡60∘=2\sec 60^\circ = 2 while arccos⁡0.5=60∘\arccos 0.5 = 60^\circ.

See the secant function and reciprocal and quotient relationships.

Cotangent

The cotangent is the reciprocal of the tangent: cot⁡θ=1/tan⁡θ=cos⁡θ/sin⁡θ\cot\theta = 1 / \tan\theta = \cos\theta / \sin\theta, the adjacent side over the opposite side. cot⁡30∘≈1.73205\cot 30^\circ \approx 1.73205, cot⁡45∘=1\cot 45^\circ = 1, cot⁡60∘≈0.57735\cot 60^\circ \approx 0.57735, so the cotangent of an angle is the tangent of its complement.

It is undefined where the sine is zero, at 0∘0^\circ and 180∘180^\circ, the opposite of the tangent's gaps at 90∘90^\circ and 270∘270^\circ; the calculator prints Undefined at both kinds of angle for the right function. At 90∘90^\circ the cotangent is 00 although the tangent is undefined there. It repeats every 180∘180^\circ and is odd.

The common mistake is to compute 1/tan⁡θ1 / \tan\theta at an angle where the tangent is undefined and conclude the cotangent is too: cot⁡90∘=cos⁡90∘/sin⁡90∘=0/1=0\cot 90^\circ = \cos 90^\circ / \sin 90^\circ = 0 / 1 = 0. Use the cosine-over-sine form at those angles.

See the cotangent function and reciprocal and quotient relationships.

Degrees and Radians

A degree is 1360\frac{1}{360} of a full turn. A radian is the angle whose arc on a circle equals the radius, so a full turn is 2π2\pi radians and 180∘=π180^\circ = \pi radians. To convert, multiply degrees by π180\frac{\pi}{180} or radians by 180π\frac{180}{\pi}: 30∘=π6≈0.523630^\circ = \frac{\pi}{6} \approx 0.5236 and 11 radian ≈57.2958∘\approx 57.2958^\circ.

The calculator computes with whichever unit Select Units shows, and the inverse calculator returns its angles in the unit of Angle Unit. Degrees are the everyday unit; radians are the natural one in calculus, where ddxsin⁡x=cos⁡x\frac{d}{dx}\sin x = \cos x holds only for xx in radians, and in formulas such as the arc length s=rθs = r\theta.

The common mistake is to type a degree value while radians are selected, or the reverse: sin⁡30\sin 30 radians is about −0.98803-0.98803, nothing like sin⁡30∘=0.5\sin 30^\circ = 0.5. The placeholder of the Angle box names the unit in force.

See degree measurement, radian measurement and converting between degrees and radians.

The Inverse Functions

The inverse functions run the ratios backwards: arcsin⁡x\arcsin x is the angle whose sine is xx, arccos⁡x\arccos x the angle whose cosine is xx, arctan⁡x\arctan x the angle whose tangent is xx. They are also written sin⁡−1\sin^{-1}, cos⁡−1\cos^{-1} and tan⁡−1\tan^{-1}, which does not mean 1/sin⁡1 / \sin; that is the cosecant.

Because the sine of many angles is 0.50.5, the inverse must choose one: each function returns the angle in a fixed principal range. Arcsine and arctangent return angles from −90∘-90^\circ to 90∘90^\circ, arccosine from 0∘0^\circ to 180∘180^\circ. So arcsin⁡0.5=30∘\arcsin 0.5 = 30^\circ, not 150∘150^\circ, and arccos⁡0.5=60∘\arccos 0.5 = 60^\circ. The input of arcsine and arccosine must lie between −1-1 and 11; arctangent takes any number.

The calculator's three headers are explained in arcsine, arccosine and arctangent. To find every angle with a given sine, take the principal value and add the symmetric partner and multiples of a full turn.

See why restriction is necessary, evaluating inverse trigonometric functions and summary of the six inverse trigonometric functions.

Arcsine

Arcsine returns the angle between −90∘-90^\circ and 90∘90^\circ whose sine is the input: arcsin⁡0.5=30∘\arcsin 0.5 = 30^\circ or π6≈0.52360\frac{\pi}{6} \approx 0.52360 radians, arcsin⁡1=90∘\arcsin 1 = 90^\circ, arcsin⁡(−1)=−90∘\arcsin(-1) = -90^\circ, arcsin⁡0=0\arcsin 0 = 0.

The input must lie between −1-1 and 11, because no angle has a sine outside that range; the calculator reports a ratio such as 22 as undefined. Arcsine is odd and increasing, and sin⁡(arcsin⁡x)=x\sin(\arcsin x) = x for every allowed xx, while arcsin⁡(sin⁡θ)=θ\arcsin(\sin\theta) = \theta only for θ\theta in the principal range: arcsin⁡(sin⁡150∘)=30∘\arcsin(\sin 150^\circ) = 30^\circ.

Arcsine solves for an angle from a ratio of sides: a ramp that rises 11 metre over a 44-metre slope has angle arcsin⁡0.25≈14.48∘\arcsin 0.25 \approx 14.48^\circ. The common mistake is to read sin⁡−1x\sin^{-1} x as 1/sin⁡x1 / \sin x.

See the arcsine function and solving basic sine equations.

Arccosine

Arccosine returns the angle between 0∘0^\circ and 180∘180^\circ whose cosine is the input: arccos⁡0.5=60∘\arccos 0.5 = 60^\circ or π3≈1.04720\frac{\pi}{3} \approx 1.04720 radians, arccos⁡1=0\arccos 1 = 0, arccos⁡0=90∘\arccos 0 = 90^\circ, arccos⁡(−1)=180∘\arccos(-1) = 180^\circ.

As with arcsine, the input must lie between −1-1 and 11. Arccosine is decreasing: a larger cosine means a smaller angle. It is linked to arcsine by arccos⁡x=90∘−arcsin⁡x\arccos x = 90^\circ - \arcsin x, so arccos⁡0.5=90∘−30∘=60∘\arccos 0.5 = 90^\circ - 30^\circ = 60^\circ, and arccos⁡(−x)=180∘−arccos⁡x\arccos(-x) = 180^\circ - \arccos x.

Arccosine gives the angle between two vectors from their dot product and the angles of a triangle from its sides, by the law of cosines. The common mistake is to expect a negative result for a negative input: arccos⁡(−0.5)=120∘\arccos(-0.5) = 120^\circ, a positive angle in the second quadrant.

See the arccosine function and solving basic cosine equations.

Arctangent

Arctangent returns the angle between −90∘-90^\circ and 90∘90^\circ whose tangent is the input: arctan⁡1=45∘\arctan 1 = 45^\circ or π4≈0.78540\frac{\pi}{4} \approx 0.78540 radians, arctan⁡0.5≈26.56505∘\arctan 0.5 \approx 26.56505^\circ, arctan⁡2≈63.43495∘\arctan 2 \approx 63.43495^\circ, arctan⁡0=0\arctan 0 = 0.

Any real number is a valid input, because a tangent can be any real number; that is why the calculator still returns arctan when a ratio outside −1-1 to 11 makes arcsine and arccosine undefined. As the input grows the angle approaches 90∘90^\circ without reaching it: arctan⁡1000≈89.94∘\arctan 1000 \approx 89.94^\circ. Arctangent is odd and increasing.

Arctangent turns a slope into an angle: a gradient of 0.10.1 is an angle of arctan⁡0.1≈5.71∘\arctan 0.1 \approx 5.71^\circ. The common mistake is to use it for a direction without checking the quadrant: the points (1,1)(1, 1) and (−1,−1)(-1, -1) both have slope 11, but only the first lies at 45∘45^\circ.

See the arctangent function and solving basic tangent equations.