Skip to main content

Phase Shift Calculator

Free Phase shift Calculator for trigonometry. Enter values to get step-by-step solutions with formulas and graphs. Free to use with no signup required.

Share this calculator

Formula

y = A sin(B(x - C)) + D

Where A is the amplitude (vertical stretch), B = 2pi/period determines the frequency, C is the phase shift (horizontal translation), and D is the vertical shift. The phase angle equals B times C. This general form applies to all sinusoidal functions including cosine and tangent.

Worked Examples

Example 1: Sine Wave with 45-Degree Phase Shift

Problem: Find the properties of y = 2 sin(x - 45) + 1, where x is in degrees.

Solution: Amplitude A = 2\nPeriod = 360 degrees (B = 1)\nPhase shift C = 45 degrees (right shift)\nVertical shift D = 1\nMaximum value = 2 + 1 = 3\nMinimum value = -2 + 1 = -1\nMidline = y = 1\nPhase angle = 1 * 45 = 45 degrees

Result: y = 2 sin(x - 45) + 1 | Max: 3, Min: -1, Phase: 45 deg right

Example 2: Extracting Phase Shift from General Form

Problem: Find the phase shift of y = 3 cos(2x + 60).

Solution: Rewrite: y = 3 cos(2(x + 30))\nFactor B = 2 from the argument: 2x + 60 = 2(x + 30)\nPhase shift C = -30 degrees (shifted 30 degrees left)\nPhase angle = 2 * (-30) = -60 degrees\nPeriod = 360 / 2 = 180 degrees\nFrequency = 1/180 cycles per degree

Result: Phase shift: -30 degrees (left) | Period: 180 deg | Phase angle: -60 deg

Frequently Asked Questions

What is a phase shift in trigonometry and why does it matter?

A phase shift is the horizontal displacement of a trigonometric function along the x-axis. When you add a phase shift to a sine or cosine function, you effectively slide the entire wave left or right without changing its shape, amplitude, or period. In the general form y = A sin(B(x - C)) + D, the value C represents the phase shift. A positive C shifts the graph to the right, while a negative C shifts it to the left. Phase shifts are critically important in physics and engineering because they describe timing differences between oscillating systems. For instance, alternating current in a three-phase electrical system uses 120-degree phase shifts between each phase to ensure smooth power delivery.

How do you calculate the phase shift from a trigonometric equation?

To find the phase shift, first rewrite the function in the standard form y = A sin(B(x - C)) + D or y = A cos(B(x - C)) + D. The phase shift is the value C. If the equation is given as y = A sin(Bx + k) + D, you need to factor out B from the argument: y = A sin(B(x + k/B)) + D, making the phase shift equal to -k/B. For example, y = 3 sin(2x + pi) becomes y = 3 sin(2(x + pi/2)), so the phase shift is -pi/2 (shifted left by pi/2). Be careful with the sign convention, as many textbooks define phase shift differently. Always factor B out completely before identifying the horizontal translation.

What is the difference between phase shift and phase angle?

Phase shift and phase angle are related but distinct concepts. The phase shift (C) is the horizontal displacement of the wave measured in the same units as the x-axis (degrees, radians, or time). The phase angle is the product of B times C, measured in radians or degrees, representing the angular offset. For example, if y = sin(2(x - 30)), the phase shift is 30 degrees, but the phase angle is 2 times 30 = 60 degrees. In electrical engineering, phase angle is more commonly used because it directly relates to the fraction of a complete cycle that one waveform leads or lags another. A phase angle of 90 degrees means one wave is exactly one-quarter cycle ahead of the other.

How does phase shift apply to real-world wave phenomena?

Phase shift appears throughout physics, engineering, and natural science. In acoustics, phase differences between sound waves from multiple speakers determine whether they reinforce (constructive interference) or cancel (destructive interference) each other. Noise-canceling headphones exploit this by generating a wave that is 180 degrees out of phase with ambient noise. In optics, thin-film interference (like the colors in soap bubbles) results from phase shifts between reflected light waves. In electronics, phase-locked loops use phase comparison to synchronize oscillator frequencies. Even in biology, circadian rhythms can be modeled as phase-shifted sinusoidal functions, where jet lag represents a temporary phase misalignment between your internal clock and local time.

Can you have a negative phase shift and what does it mean graphically?

Yes, a negative phase shift means the graph is translated to the left instead of to the right. In the equation y = A sin(B(x - C)) + D, if C is negative (say C = -45), the graph shifts 45 units to the left. This is equivalent to the wave starting its cycle earlier than the standard position. In physics, a negative phase shift means one wave leads another, while a positive phase shift means it lags. For example, in an RC circuit, the voltage across the capacitor lags the input voltage by a phase angle that depends on the frequency and component values. The concept of leading and lagging phases is fundamental to AC circuit analysis and power factor correction.

How do you identify phase shift from a graph of a trigonometric function?

To identify the phase shift from a graph, locate a key reference point on the standard unshifted function and find where that same point appears on the shifted graph. For sine, the standard starting point is where the function crosses zero going upward, which occurs at x = 0 for y = sin(x). If the shifted graph crosses zero going upward at x = 30, the phase shift is 30 units to the right. For cosine, the reference point is typically the maximum, which occurs at x = 0 for y = cos(x). Measure how far the maximum has moved horizontally. Be careful to account for reflections (negative amplitude) and vertical shifts that might make the reference point harder to identify. Using multiple reference points helps confirm your measurement.

References