Maths Calculators

Tangent Calculator

Calculate the tangent of any angle in degrees or radians with this free online tangent calculator.

Bluehost

Tangent Calculator

Enter an angle, choose degrees or radians, then calculate its tangent.

tan(x) —
Enter an angle and choose degrees or radians.
Formula: tan(θ) = opposite ÷ adjacent = sin(θ) ÷ cos(θ)
F-Secure

What Is a Tangent Calculator?

A tangent calculator is a mathematical tool that calculates the tangent, written as tan(x), of a supplied angle. Tangent is one of the three fundamental trigonometric functions and describes the relationship between the opposite and adjacent sides of a right triangle.

Tangent can also be defined using the unit circle and as the ratio of sine to cosine. A tangent calculator is useful for trigonometry, geometry, physics, engineering, mathematics homework and other calculations involving angles and triangles.

Why Use a Tangent Calculator?

This free tangent calculator provides a quick way to calculate tan(x) without manually performing the trigonometric calculation. It supports both common angle units and identifies angles where tangent is undefined.

1

Degrees and Radians

Switch between degrees and radians depending on the format of your angle.

2

Instant Tangent Results

Calculate the tangent of your angle immediately with a single button.

3

Negative Angles

Calculate tangent for positive and negative finite angle values.

4

Undefined Angles Detected

The calculator identifies angles where tangent is undefined because cosine is zero.

5

Clear Decimal Output

Results are formatted into a clear numerical value that is easy to read and use.

6

Browser-Based

The calculation is performed directly in your web browser without requiring an external calculator service.

How to Use the Tangent Calculator

Using the tangent calculator only requires an angle and its corresponding unit. Follow these steps to calculate tan(x).

  1. Enter an angle — Type the angle you want to calculate into the Angle field.
  2. Choose the unit — Select Degrees or Radians to identify how the angle is expressed.
  3. Calculate the tangent — Click the Calculate Tangent button to perform the calculation.
  4. Read the result — The calculated value of tan(x) will be displayed in the result area. If tangent is undefined for the selected angle, the calculator will tell you.

Calculate Tangent Online

This free tangent calculator makes it easy to calculate tan(x) for an angle expressed in either degrees or radians. Tangent is widely used in mathematics and science, particularly when calculating the relationship between the sides of a right triangle or analysing angles and slopes.

For angles measured in degrees, the calculator converts the value to radians before calculating the tangent because JavaScript's built-in trigonometric functions use radians. For example, 45 degrees is converted to π/4 radians, producing a tangent value of 1.

Tangent in Degrees and Radians

Degrees and radians are two standard ways of measuring angles. A full circle contains 360 degrees or 2π radians. To convert an angle from degrees to radians, multiply the degree value by π/180. When an angle is already expressed in radians, it can be used directly in the tangent calculation.

Understanding the Tangent Function

In a right triangle, tangent is defined as the opposite side divided by the adjacent side. It can also be expressed as sin(θ) ÷ cos(θ). Unlike sine and cosine, tangent does not have a fixed maximum or minimum value. It is undefined whenever cosine equals zero, producing vertical asymptotes in its graph.

Tangent Calculator Accuracy and Limitations

The calculator uses JavaScript floating-point arithmetic to evaluate tangent values. Results are suitable for ordinary mathematical and technical calculations, although extremely precise calculations can sometimes contain tiny rounding differences because decimal numbers cannot always be represented exactly in binary floating-point arithmetic.

Tangent is undefined when the cosine of the angle is zero. In degrees, these angles include 90°, 270°, 450° and equivalent values separated by 180°. More generally, tangent is undefined at 90° + 180°n, where n is an integer. The calculator detects these points rather than presenting an ordinary numerical result.

James William Steven Parker, creator of YesTools
Created by

James William Steven Parker

Creator & Developer of YesTools

James William Steven Parker is a web developer and technology professional with extensive experience in web development, web design, SEO, web hosting, systems analysis and cybersecurity. He created YesTools to provide fast, practical and free online tools for everyday tasks and technical work.

Learn more about James and YesTools

Frequently Asked Questions

A tangent calculator computes tan(x) for a supplied angle, usually in degrees or radians.
Enter the angle, choose Degrees, and calculate. The angle is converted internally to radians using θ × π/180 before the tangent is calculated.
Enter the angle, choose Radians, and calculate. The value is used directly as a radian measurement when calculating the tangent.
The tangent of 45 degrees is 1.
Yes. Tangent is an odd function, so tan(-x) = -tan(x). Negative angles can therefore be entered directly into the calculator.
Tangent is not defined at angles where cosine equals zero, such as 90° and 270°, and their equivalents. These occur at 90° + 180°n for integer values of n.

Explore More Free Tools

Explore the YesTools collection of free online tools, calculators, converters, generators and utilities.

Browse All Categories
hide.me VPN