Trigonometric Graphs: Sin, Cos, Tan, Cot, Sec, Cosec and More

See the graph of every trigonometric function, the inverse ones and the basic graphs, each with its domain, range, period and formulas.

Trigonometric functions

The six trigonometric functions come from the right-angled triangle and the unit circle. Sine and cosine make smooth waves. Tangent and cotangent repeat every π and have vertical lines they never touch. Secant and cosecant are the reciprocals of cosine and sine. All x values below are in radians.

Graph of y = sin x −3π/2−π−π/2π/2π3π/2−11
y = sin x

Sin x graphSine function

A smooth wave that starts at 0, rises to 1, falls to −1 and repeats every 2π. It is the graph of the height of a point moving round the unit circle.

Domain
All real numbers, (−∞, ∞)
Range
[−1, 1]
Period
2π (360°)
Even or odd
Odd
Graph of y = cos x −3π/2−π−π/2π/2π3π/2−11
y = cos x

Cos x graphCosine function

A smooth wave that starts at its top value 1, falls to −1 at π and returns to 1 at 2π. It is the sine wave moved π/2 to the left.

Domain
All real numbers, (−∞, ∞)
Range
[−1, 1]
Period
2π (360°)
Even or odd
Even
Graph of y = tan x −3π/2−π−π/2π/2π3π/2−4−224
y = tan x

Tan x graphTangent function

A rising curve that repeats every π. It crosses zero at every multiple of π and shoots off to ±∞ at odd multiples of π/2, where it has vertical asymptotes.

Domain
All real x except x = π/2 + nπ
Range
All real numbers
Period
π (180°)
Even or odd
Odd
Graph of y = cot x −3π/2−π−π/2π/2π3π/2−4−224
y = cot x

Cot x graphCotangent function

A falling curve that repeats every π. It has vertical asymptotes at every multiple of π and crosses zero at odd multiples of π/2.

Domain
All real x except x = nπ
Range
All real numbers
Period
π (180°)
Even or odd
Odd
Graph of y = sec x −3π/2−π−π/2π/2π3π/2−4−224
y = sec x

Sec x graphSecant function

The reciprocal of cosine: U-shaped curves above 1 and upside-down U-shaped curves below −1, separated by vertical asymptotes at odd multiples of π/2.

Domain
All real x except x = π/2 + nπ
Range
(−∞, −1] ∪ [1, ∞)
Period
2π (360°)
Even or odd
Even
Graph of y = cosec x −3π/2−π−π/2π/2π3π/2−4−224
y = cosec x

Cosec x graphCosecant function

The reciprocal of sine: U-shaped curves above 1 and inverted U-shaped curves below −1, separated by vertical asymptotes at every multiple of π.

Domain
All real x except x = nπ
Range
(−∞, −1] ∪ [1, ∞)
Period
2π (360°)
Even or odd
Odd

Inverse trigonometric functions

An inverse trigonometric function takes a ratio and gives back the angle. Each one is drawn here for its principal range, so it is a true function with one answer for every input. Notation such as sin⁻¹ x means arcsin x, not 1 ÷ sin x.

Graph of y = arcsin x −1−0.50.51−π/2π/2
y = arcsin x

Arcsin x graph (sin⁻¹ x)Inverse sine function

An S-shaped curve from (−1, −π/2) to (1, π/2). It gives the angle between −90° and 90° whose sine is x.

Domain
[−1, 1]
Range
[−π/2, π/2]
Period
Not periodic
Even or odd
Odd
Graph of y = arccos x −1−0.50.51π/2π
y = arccos x

Arccos x graph (cos⁻¹ x)Inverse cosine function

A falling S-shaped curve from (−1, π) to (1, 0). It gives the angle between 0° and 180° whose cosine is x.

Domain
[−1, 1]
Range
[0, π]
Period
Not periodic
Even or odd
Neither
Graph of y = arctan x −6−4−2246−π/2π/2
y = arctan x

Arctan x graph (tan⁻¹ x)Inverse tangent function

A smooth rising curve that flattens out towards y = π/2 on the right and y = −π/2 on the left. It gives the angle whose tangent is x.

Domain
All real numbers
Range
(−π/2, π/2)
Period
Not periodic
Even or odd
Odd
Graph of y = arccot x −6−4−2246π/2π
y = arccot x

Arccot x graph (cot⁻¹ x)Inverse cotangent function

A smooth falling curve that levels off towards y = π on the left and y = 0 on the right. It gives the angle between 0 and π whose cotangent is x.

Domain
All real numbers
Range
(0, π)
Period
Not periodic
Even or odd
Neither
Graph of y = arcsec x −4−3−2−11234π/2π
y = arcsec x

Arcsec x graph (sec⁻¹ x)Inverse secant function

Two separate branches: one from (1, 0) rising towards y = π/2, and one from (−1, π) falling towards y = π/2. Nothing exists between x = −1 and x = 1.

Domain
(−∞, −1] ∪ [1, ∞)
Range
[0, π] except π/2
Period
Not periodic
Even or odd
Neither
Graph of y = arccosec x −4−3−2−11234−π/2π/2
y = arccosec x

Arccosec x graph (cosec⁻¹ x)Inverse cosecant function

Two separate branches: one from (1, π/2) falling towards y = 0, and one from (−1, −π/2) rising towards y = 0. Nothing exists between x = −1 and x = 1.

Domain
(−∞, −1] ∪ [1, ∞)
Range
[−π/2, π/2] except 0
Period
Not periodic
Even or odd
Odd

Hyperbolic functions

Hyperbolic functions are built from eˣ and e⁻ˣ. They look like cousins of the trigonometric graphs but they do not repeat. They appear in the shape of a hanging cable, in relativity and in many integrals.

Graph of y = sinh x −3−2−1123−8−448
y = sinh x

Sinh x graphHyperbolic sine

An S-shaped curve through the origin that grows faster and faster in both directions, like a stretched-out cubic. It equals (eˣ − e⁻ˣ) ÷ 2.

Domain
All real numbers, (−∞, ∞)
Range
All real numbers
Period
Not periodic
Even or odd
Odd
Graph of y = cosh x −3−2−11232468
y = cosh x

Cosh x graphHyperbolic cosine

A U-shaped curve with its lowest point at (0, 1). It is the shape of a chain hanging between two supports, called a catenary. It equals (eˣ + e⁻ˣ) ÷ 2.

Domain
All real numbers, (−∞, ∞)
Range
[1, ∞)
Period
Not periodic
Even or odd
Even
Graph of y = tanh x −4−3−2−11234−11
y = tanh x

Tanh x graphHyperbolic tangent

A smooth S-shaped curve through the origin that levels off at y = 1 on the right and y = −1 on the left. It equals sinh x ÷ cosh x.

Domain
All real numbers, (−∞, ∞)
Range
(−1, 1)
Period
Not periodic
Even or odd
Odd

Basic functions

These are the starting points of graphing: the straight line, the parabola, the cubic, roots, the reciprocal, the absolute value, the exponential and the logarithms. Almost every other graph is a shifted, stretched or combined version of one of them.

Graph of y = x −4−3−2−11234−4−3−2−11234
y = x

y = x graph (straight line)Identity function

A straight line through the origin at 45°, where every output equals its input. It is the parent of all straight-line graphs y = mx + c.

Domain
All real numbers, (−∞, ∞)
Range
All real numbers
Period
Not periodic
Even or odd
Odd
Graph of y = x² −3−2−11232468
y = x²

y = x² graph (parabola)Square function

A U-shaped curve called a parabola with its lowest point at the origin. It is symmetric about the y-axis and is never below zero.

Domain
All real numbers, (−∞, ∞)
Range
[0, ∞)
Period
Not periodic
Even or odd
Even
Graph of y = x³ −2−112−55
y = x³

y = x³ graph (cubic)Cube function

An S-shaped curve that is flat for a moment at the origin and then climbs steeply on the right and falls steeply on the left.

Domain
All real numbers, (−∞, ∞)
Range
All real numbers
Period
Not periodic
Even or odd
Odd
Graph of y = √x −1123456789123
y = √x

y = √x graph (square root)Square root function

A curve that starts at the origin, rises steeply at first and then flattens. It exists only for x ≥ 0 and is half of a sideways parabola.

Domain
[0, ∞)
Range
[0, ∞)
Period
Not periodic
Even or odd
Neither
Graph of y = ∛x −6−4−2246−2−112
y = ∛x

y = ∛x graph (cube root)Cube root function

An S-shaped curve lying on its side. It passes through the origin with a vertical tangent and grows slowly in both directions.

Domain
All real numbers, (−∞, ∞)
Range
All real numbers
Period
Not periodic
Even or odd
Odd
Graph of y = 1/x −4−3−2−11234−4−3−2−11234
y = 1/x

y = 1/x graph (reciprocal)Reciprocal function

Two curved branches, one in the top right and one in the bottom left. They get closer and closer to both axes but never touch them.

Domain
All real x except 0
Range
All real y except 0
Period
Not periodic
Even or odd
Odd
Graph of y = 1/x² −3−2−11231234567
y = 1/x²

y = 1/x² graphInverse square function

Two branches above the x-axis that shoot up beside the y-axis and flatten towards the x-axis. It is symmetric about the y-axis.

Domain
All real x except 0
Range
(0, ∞)
Period
Not periodic
Even or odd
Even
Graph of y = |x| −4−3−2−112341234
y = |x|

y = |x| graph (absolute value)Absolute value function

A V-shape with its sharp corner at the origin. It copies the line y = x for positive x and flips the negative part upwards.

Domain
All real numbers, (−∞, ∞)
Range
[0, ∞)
Period
Not periodic
Even or odd
Even
Graph of y = eˣ −3−2−11232468
y = eˣ

y = eˣ graph (exponential)Exponential function

A curve that hugs the x-axis on the left, crosses the y-axis at 1 and then climbs faster and faster. Its slope at every point equals its height.

Domain
All real numbers, (−∞, ∞)
Range
(0, ∞)
Period
Not periodic
Even or odd
Neither
Graph of y = ln x 12345678−4−3−2−1123
y = ln x

y = ln x graph (natural logarithm)Natural logarithm

A curve that drops down beside the y-axis, crosses the x-axis at 1 and then keeps rising slowly. It exists only for x > 0 and is the mirror image of eˣ.

Domain
(0, ∞)
Range
All real numbers
Period
Not periodic
Even or odd
Neither
Graph of y = log₁₀ x 24681012−3−2−112
y = log₁₀ x

y = log x graph (base 10)Common logarithm

The same shape as ln x but flatter. It crosses the x-axis at 1, reaches 1 at x = 10 and has the y-axis as a vertical asymptote.

Domain
(0, ∞)
Range
All real numbers
Period
Not periodic
Even or odd
Neither

Trigonometric values table

The exact values of the six trigonometric functions at the angles used most often in exams. Each angle is shown in degrees and in radians.

AngleRadianssincostancotseccosec
0°0010Not defined1Not defined
30°π/61/2√3/21/√3√32/√32
45°π/41/√21/√211√2√2
60°π/3√3/21/2√31/√322/√3
90°π/210Not defined0Not defined1
120°2π/3√3/2−1/2−√3−1/√3−22/√3
135°3π/41/√2−1/√2−1−1−√2√2
150°5π/61/2−√3/2−1/√3−√3−2/√32
180°π0−10Not defined−1Not defined
270°3π/2−10Not defined0Not defined−1
360°2π010Not defined1Not defined

Domain, range and period at a glance

A summary of every graph on this page. Select a function to jump to its graph.

FunctionDomainRangePeriodEven or odd
y = sin xAll real numbers, (−∞, ∞)[−1, 1]2π (360°)Odd
y = cos xAll real numbers, (−∞, ∞)[−1, 1]2π (360°)Even
y = tan xAll real x except x = π/2 + nπAll real numbersπ (180°)Odd
y = cot xAll real x except x = nπAll real numbersπ (180°)Odd
y = sec xAll real x except x = π/2 + nπ(−∞, −1] ∪ [1, ∞)2π (360°)Even
y = cosec xAll real x except x = nπ(−∞, −1] ∪ [1, ∞)2π (360°)Odd
y = arcsin x[−1, 1][−π/2, π/2]Not periodicOdd
y = arccos x[−1, 1][0, π]Not periodicNeither
y = arctan xAll real numbers(−π/2, π/2)Not periodicOdd
y = arccot xAll real numbers(0, π)Not periodicNeither
y = arcsec x(−∞, −1] ∪ [1, ∞)[0, π] except π/2Not periodicNeither
y = arccosec x(−∞, −1] ∪ [1, ∞)[−π/2, π/2] except 0Not periodicOdd
y = sinh xAll real numbers, (−∞, ∞)All real numbersNot periodicOdd
y = cosh xAll real numbers, (−∞, ∞)[1, ∞)Not periodicEven
y = tanh xAll real numbers, (−∞, ∞)(−1, 1)Not periodicOdd
y = xAll real numbers, (−∞, ∞)All real numbersNot periodicOdd
y = x²All real numbers, (−∞, ∞)[0, ∞)Not periodicEven
y = x³All real numbers, (−∞, ∞)All real numbersNot periodicOdd
y = √x[0, ∞)[0, ∞)Not periodicNeither
y = ∛xAll real numbers, (−∞, ∞)All real numbersNot periodicOdd
y = 1/xAll real x except 0All real y except 0Not periodicOdd
y = 1/x²All real x except 0(0, ∞)Not periodicEven
y = |x|All real numbers, (−∞, ∞)[0, ∞)Not periodicEven
y = eˣAll real numbers, (−∞, ∞)(0, ∞)Not periodicNeither
y = ln x(0, ∞)All real numbersNot periodicNeither
y = log₁₀ x(0, ∞)All real numbersNot periodicNeither

How to use the Trigonometric Graphs page

  1. Search or scroll. Type a name such as sin, cosec, arctan or x² in the search box under the heading. The page jumps to that graph. You can also scroll through the list one graph at a time.
  2. Open the full details. Press Full details on any graph. A window opens with the domain, range, period, zeros, asymptotes, derivative, integral, identities and how to sketch the graph by hand.
  3. Plot it yourself. Press Plot in Graph Calculator to open the same function in the calculator, where you can change it and draw several graphs together.

About this tool

This page is a visual guide to the graphs students meet in trigonometry and calculus. It starts with the six trigonometric functions (sine, cosine, tangent, cotangent, secant and cosecant), then shows their inverses, the hyperbolic functions and the basic graphs such as x², 1/x, eˣ and ln x. Each graph is drawn for you and cannot be changed, so it stays clean and is easy to compare.

Every graph comes with a short summary on the page and a Full details window with the complete list of properties: domain and range, period and amplitude, even or odd symmetry, intercepts, asymptotes, maximum and minimum values, the derivative and the integral. All angles are in radians unless a degree sign is shown.

When you want to go further, open any graph in the Graph Calculator. It lets you type your own function, move and zoom the graph, plot many functions at once, find where two graphs meet and read values from a table.

Frequently asked questions

What are the period and range of sin x, cos x and tan x?

Sin x and cos x both have period 2π (360°) and range from −1 to 1. Tan x has period π (180°) and its range is all real numbers.

Why does the tan x graph have vertical lines?

Tan x is sin x divided by cos x. At x = π/2, 3π/2 and so on, cos x is zero, so tan x is not defined there. The curve climbs towards those vertical lines, called asymptotes, but never touches them.

What is the difference between sin⁻¹ x and cosec x?

The notation sin⁻¹ x means the inverse sine, also written arcsin x. It gives an angle. Cosec x (or csc x) is the reciprocal 1 ÷ sin x. They are different functions.

What are the domain and range of the six trigonometric functions?

Sin x and cos x: domain all real numbers, range [−1, 1]. Tan x and cot x: range all real numbers, but they are not defined at some points. Sec x and cosec x: range (−∞, −1] ∪ [1, ∞), and they are not defined where cos x or sin x is zero. See the summary table on this page.

How do I draw the graph of sin x by hand?

Mark the points (0, 0), (π/2, 1), (π, 0), (3π/2, −1) and (2π, 0). Join them with a smooth wave and repeat the pattern to the left and right.

Which of these functions are even and which are odd?

Cos x and sec x are even, so their graphs are symmetric about the y-axis. Sin x, tan x, cot x and cosec x are odd, so their graphs are symmetric about the origin.

Can I change these graphs or plot my own?

The graphs on this page are fixed so they stay easy to read. To plot your own function, or several functions together, use the Graph Calculator. Each graph here has a button that opens it there.

Are the angles in radians or degrees?

Radians. One full turn is 2π radians, which equals 360°. So π radians is 180° and π/2 radians is 90°.

Is this page free to use?

Yes. It is free, needs no sign-up and nothing is uploaded. The graphs are drawn in your browser.

Can I use this on my phone?

Yes. It works in any modern phone or desktop browser. On a phone you can drag the graph with one finger and pinch to zoom.