Free online graphing tool
Cosine Graph Calculator (y = a cos(bx + c))
The cosine curve starts at its maximum instead of at zero — that single difference is what separates it from the sine wave. Everything else, amplitude, period and shape, behaves identically.
Plot y = a cos(bx + c) below and drag the sliders. Adding y = sin(x) as a second equation makes the quarter-period offset between the two curves obvious at a glance.
Key points of y = a cos(b x + c) inside the visible window (-6.283 ≤ x ≤ 6.283). Pan or zoom to search a different range.
Roots (x-intercepts)
- x = -4.71239
- x = -1.5708
- x = 1.5708
- x = 4.71239
y-intercept
- y = 1
Turning points
- Min (-3.1416, -1)
- Max (0, 1)
- Min (3.1416, -1)
Intersections
- (-5.4978, 0.70711)
- (-2.3562, -0.70711)
- (0.7854, 0.70711)
- (3.927, -0.70711)
Enter a value of x
What is a cosine wave graph calculator?
A cosine graph calculator plots y = a·cos(bx + c). The curve begins at its maximum value a when x = 0, has amplitude |a| and period 2π/b, and equals zero at every odd multiple of π/2. Cosine is the sine wave shifted a quarter period to the left: cos(x) = sin(x + π/2).
Key facts at a glance
| General form | y = a·cos(bx + c) + d |
|---|---|
| Value at x = 0 | y = a — cosine starts at its maximum |
| Amplitude | |a| |
| Period | 2π / |b| radians, 360° / |b| in degrees |
| Zeros of cos x | x = ±π/2, ±3π/2, … (odd multiples of π/2) |
| Maxima | At x = 0, ±2π, ±4π … |
| Symmetry | cos(−x) = cos(x) — an even function, symmetric about the y-axis |
| Relation to sine | cos(x) = sin(x + π/2) |
How to plot cosine wave graphs — step by step
- 1
Plot the basic cosine
Type y = cos(x). Note that it starts at 1 rather than 0.
- 2
Compare with sine
The second row is already y = sin(x). The two waves are identical in shape but offset by π/2.
- 3
Adjust the parameters
Use the a, b and c sliders to change amplitude, period and phase shift, and watch the maxima move.
- 4
Check the symmetry
Hover on the curve at x = 1 and x = −1: the y-values match, because cosine is an even function.
Cosine wave examples you can plot right now
Copy any equation into the calculator above, or open it in the full calculator with one click.
Shifted upwards
y = cos(x) + 2
The centre line moves to y = 2, so the range becomes 1 to 3.
Plot this →Cosine equals shifted sine
y = sin(x + pi/2)
Plot it on top of y = cos(x) — the two curves coincide exactly.
Plot this →Understanding the cosine wave graph
- Even and odd functions
- cos(−x) = cos(x) makes cosine even, so its graph is a mirror image in the y-axis. sin(−x) = −sin(x) makes sine odd, so its graph has rotational symmetry about the origin instead.
- Why cosine models a starting position
- A pendulum released from its highest point follows a cosine, because displacement is at its maximum when time is zero. Released from the centre with a push, it follows a sine.
- Cofunction identity
- cos(x) = sin(π/2 − x). The sine of an angle equals the cosine of its complement, which is why the two graphs are copies of each other.
Cosine wave graph — frequently asked questions
How do I graph a cosine function?
Type y = cos(x) into the calculator above, or y = a cos(b x + c) to get sliders for amplitude, period and phase shift.
What is the difference between the sine and cosine graphs?
Only the starting point. Cosine is at its maximum when x = 0, while sine is at zero and rising. Shift either curve by a quarter of a period and you get the other one.
Where does the cosine graph cross the x-axis?
At every odd multiple of π/2: ±π/2, ±3π/2, ±5π/2 and so on. Turn on π-axis labelling in Graph settings to read them straight off the axis.
How do I find the period of a cosine graph?
Measure the horizontal distance between two consecutive maxima. For y = a cos(bx + c) it equals 2π/|b| radians, or 360°/|b| if you are working in degrees.
Is cos(x) an even or odd function?
Even. cos(−x) = cos(x), so the graph is symmetric about the y-axis. Sine is odd, with rotational symmetry about the origin instead.
How do I plot cos²x or a squared trig function?
Write the power outside the bracket: y = cos(x)^2. The calculator reads cos(x)^2 as (cos x)², which is what cos²x means.
Related graph calculators
Every graph type
Hiring engineering or analytics talent in India?
MyInternships.in connects 1,20,000+ students and freshers — from IITs, NITs, IIITs and every major engineering and commerce college in India — with 5,000+ companies. Post an internship or fresher role in minutes, screen candidates by skill, campus and graduation year, and hire without any commission.
Free to use, no signup. Part of the MyInternships.in free tools for students.
