Compute and visualize phase shift between two sinusoidal signals. Determine phase difference in degrees/radians, time delay, and lead/lag relationship. Ideal for AC circuit analysis, optics, audio engineering, and wave mechanics.
In signal analysis and wave physics, phase shift describes the horizontal displacement of a periodic waveform relative to a reference. For a sinusoidal function of the form y(t) = A·sin(2πft + φ) or y(t) = A·cos(2πft + φ), the parameter φ represents the phase angle (in radians or degrees). A positive φ shifts the waveform leftward (earlier in time), corresponding to a leading phase; a negative φ shifts it rightward (lagging phase).
Δφ = φ₂ − φ₁ → Δt = Δφ / (2πf)
Phase difference (degrees) = (360° × Δt) / T, where T = 1/f is the period.
The concept of phase is critical in fields ranging from AC power systems (where voltage and current may be out of phase due to reactive loads) to optical interferometry and quantum mechanics. Leonhard Euler's formula e^{iθ}=cosθ + i sinθ elegantly links complex exponentials to phase rotations, forming the basis of phasor analysis. Phase shift also governs destructive/constructive interference in sound and light waves — a 180° phase reversal cancels amplitude, while 0° adds constructively.
Our tool implements the standard sinusoidal model. You provide amplitude A, frequency f, phase φ (degrees), and waveform type (sine or cosine). The reference signal has φ=0°, while the shifted signal uses your φ. The calculator then determines:
The interactive graph plots both waveforms over two full cycles, showing the horizontal offset explicitly. All calculations are performed with double precision.
| Phase φ (deg) | Phase φ (rad) | Time Delay (f=1Hz) | Lead/Lag | Waveform Relationship |
|---|---|---|---|---|
| 0° | 0 | 0 s | In phase | Identical waveforms |
| 90° | π/2 | 0.25 s | Shifted leads by 1/4 period | Quadrature: sine becomes cosine |
| 180° | π | 0.5 s | Opposite phase | Inverted (negative of reference) |
| -90° | -π/2 | -0.25 s | Shifted lags | Cosine becomes negative sine |
| 120° | 2π/3 | 0.333 s | Leading | Typical three‑phase offset |
In a simple RC circuit, the output voltage across the capacitor lags the input voltage by a phase angle φ = -arctan(2πfRC). For a 1 kHz input, R=1kΩ, C=0.1µF, the phase lag is ≈ -32.1°. Using our calculator with f=1000Hz, φ=-32.1°, and sine reference, you'll observe the shifted waveform shifted rightward by ~0.089 ms. This illustrates how reactive components introduce phase shifts, critical for filter design and stability analysis.
Engineers often represent sinusoidal signals as phasors: A e^{jφ} = A(cosφ + j sinφ). The phase shift becomes a rotation in the complex plane. Our tool’s displayed delay Δt directly relates to the angle: Δt = φ/(360°·f). This relationship enables predicting how a wave will combine with another: two waves with equal amplitude but φ = 180° cancel perfectly (destructive interference). The same principle is leveraged in noise-canceling headphones.