Tangent Calculator

Created by Hanna Pamuła, PhD candidate
Reviewed by Bogna Szyk
Last updated: Dec 01, 2021

This tangent calculator will help you to find the tangent of any angle you want. Just enter the angle in degrees or radians, and the tangent will appear in no time. If you want to understand what is a tangent, you're curious about the tangent definition or the tangent formula derivation, keep reading! Also sin over cos meme is waiting for you down there.

What is tangent? Tangent definition, tangent formula

Tangent is one of the three most common trigonometric functions (along with sine and cosine). It may be defined as

the ratio of the sides: opposite and adjacent to an angle, in a right-angled triangle.

To learn more about ratios, check out our ratio calculator!

Right triangle: illustration of the tangent definition. Opposite side over an adjacent.

BUT! There's also another geometric concept, named tangent. It's a line or plane that touches a curve or curved surface at a point, but if extended, it doesn't cross it at that point.

The word tangent comes from the Latin tangere which means 'to touch'. And our trigonometric function name also come from that meaning! Have a look at the picture below:

unit circle and tangent definition

Draw a unit circle. Point C is the intersection of line containing radius and the line x=1. Then, tan(α) is simply the y-coordinate of point C.

Tangent - sin over cos

The tangent of angle may be also defined to be its sine divided by its cosine. But why is it so? Have a look at the picture of a unit circle, and all should be clear:

unit circle - tangent explanation. sin(α) = y, cos(α)=x, tan(α) = sin(α) / cos(α) = y / x

Knowing the definition of sine - opposite over hypotenuse - we can find out that for the right triangle from the image, the sin(α) = y. Analogically, cosine may defined as adjacent over hypotenuse, so in our case it's equal to x. Then, in previous paragraph you learned that the tangent is equal to opposite over adjacent side. So, for our example, tan(α) = y/x, and that can be substituted by sine and cosine of our angle of interest, to get the final formula:

tan(α) = sin(α) / cos(α)

Not such a long time ago, you could find math jokes on the Internet - sin over cos memes. We're pretty sure that after reading this paragraph, you'll get this one!

Rebus with tangent. Funny math - tangent

What about tangerine 🍊? Tango 🎶? Titanic 🚢? Or even satanism? Think about other words which could make such a rebus!

Law of tangents

The law of tangents describes the relationship between the tangent of two angles of a triangle and the opposite sides lengths. Specifically, it states that:

(a - b) / (a + b) = tan(0.5(α - β)) / tan(0.5(α + β))

Law of tangents - explanation, formula

Although the law of tangents is not so popular as law of sines or law of cosines, it may be useful when we have given:

  • two sides and the angle between them;
  • two angles and a side.

Tangent calculator - example of use

All you need to do is type one value into the calculator - the angle, in radians or degrees. To change between units, click on the unit name and choose from a drop-down list. Then, you'll see the result immediately - tangent value of your angle of interest. Remember that tan may be undefined. This situation occurs when cos(α) is 0, because we can never divide by zero (other explanation: the lines will be parallel, so they'll never cross each other and they won't form the point C).

Hanna Pamuła, PhD candidate
plot of tan(x) in <-2π,2π> range
Check out 19 similar trigonometry calculators 📐
ArccosArcsinArctan… 16 more
People also viewed…

BMR - Harris-Benedict equation

Harris-Benedict calculator uses one of the three most popular BMR formulas. Knowing your BMR (basal metabolic weight) may help you make important decisions about your diet and lifestyle.

Gamma function

Use the Gamma function calculator whenever you need to determine values of the Gamma function for real or complex arguments.


The perfect snowman calculator uses math & science rules to help you design the snowman of your dreams!

Spherical coordinates

Spherical coordinates calculator converts between Cartesian and spherical coordinates in a 3D space.
Copyright by Omni Calculator sp. z o.o.
Privacy policy & cookies
main background