UTILS.
Private by default
sin

Trigonometry Calculator

Find sine, cosine and tangent of an angle, plus the inverse functions asin, acos and atan.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →

About this tool

Trigonometry Calculator has two sections. The first turns an angle into its sine, cosine and tangent. Type an angle and choose degrees or radians, and the three values update as you type. The second works in reverse: type a value and get its inverse sine, cosine and tangent as an angle, in degrees or radians of your choice.

The angle can be any real number, including negative values and angles beyond a full turn, because the browser's math functions wrap them naturally. When the cosine is essentially zero, such as at 90 degrees, the tangent is shown as undefined instead of a huge meaningless number. For the inverse functions, asin and acos only accept values from −1 to 1; anything outside that range is labelled out of domain. Atan accepts any value. The results are principal values: asin and atan fall between −90 and 90 degrees, and acos between 0 and 180 degrees.

All outputs are rounded to six decimals, so exact results such as sin 30° = 0.5 show cleanly and tiny floating-point residues like 1.2e-16 display as 0. There is no solver for triangles or for arcs with a radius. The two sections work independently and run in your browser, and nothing is uploaded.

Frequently asked questions

Can I use radians instead of degrees?
Yes. Each section has its own unit selector, one for the input angle and one for the output of the inverse functions. Choose degrees or radians independently.
Why is tangent sometimes undefined?
Tangent is sine divided by cosine, so it has no value where cosine is zero, at 90 degrees, 270 degrees and so on. The tool shows undefined when the cosine is within a tiny tolerance of zero.
What does out of domain mean?
Sine and cosine only produce values between −1 and 1, so inverse sine and inverse cosine are only defined for inputs in that range. Inputs like 2 are labelled out of domain, while inverse tangent works for any number.
Which angle does the inverse function return?
The principal value. Inverse sine and tangent give angles between −90 and 90 degrees, and inverse cosine gives 0 to 180 degrees. Other angles with the same ratio exist, so add multiples of 360 degrees or use symmetry as needed.

More tools