Skip to content
D DocNectar

Free Phase Shift Calculator

Find the amplitude, period, phase shift, and vertical shift of a sinusoidal function A·sin(Bx+C)+D.

100% Free No Signup Works on all devices

Built and fact-checked by the DocNectar team — see our editorial standards

Thanks for rating!

Key Features

Instant Calculation

Get accurate results in real time with our optimized algorithm.

Mobile Friendly

Fully responsive design. Works on all devices & screen sizes.

Privacy Focused

Your data stays on your device. We don't store any inputs.

100% Free

No hidden costs. This tool is completely free forever.

Any sinusoidal function written as A·sin(Bx+C)+D (or with cosine in place of sine) has four key parameters that fully describe its graph: amplitude (how tall the wave rises and falls above and below its midline), period (how long, in x-units, one complete cycle takes), phase shift (how far the wave is shifted horizontally left or right compared to a plain sin(x) or cos(x)), and vertical shift (how far the midline itself sits above or below the x-axis). This decomposition is exactly how engineers describe an AC voltage waveform, how physicists describe a swinging pendulum's position over time, and how audio engineers describe a sound wave's pitch and loudness — reading off these four numbers turns an intimidating-looking equation into an intuitive physical picture.

How it works

Enter the coefficients A, B, C, and D from your function A·sin(Bx+C)+D (or the cosine equivalent). The calculator computes amplitude = |A| (always taken as positive, since amplitude describes a distance), period = 2π/|B| (a larger B compresses the wave into a shorter period), phase shift = −C/B (found by factoring Bx+C as B(x + C/B), which reveals the horizontal shift is −C/B, not simply −C), and vertical shift = D (the height of the wave's new midline).

  1. Enter function.
  2. Enter amplitude (A).
  3. Enter b coefficient (of x).
  4. Enter c (phase term).
  5. Enter d (vertical shift).
  6. Click Calculate to see your results.

Examples

y = 2sin(3x + π/2) + 1

Amplitude = |2| = 2, period = 2π/3 ≈ 2.094, phase shift = −(π/2)/3 = −π/6 ≈ −0.524 (shifted left), vertical shift = 1.

y = −3cos(2x − π) − 4

Amplitude = |−3| = 3, period = 2π/2 = π ≈ 3.1416, phase shift = −(−π)/2 = π/2 ≈ 1.571 (shifted right), vertical shift = −4.

y = 0.5sin(4x) + 2

With C = 0: amplitude = 0.5, period = 2π/4 = π/2 ≈ 1.5708, phase shift = 0 (no horizontal shift), vertical shift = 2.

Who should use it

  • Analyzing an AC voltage or current waveform's properties.
  • Describing a pendulum, spring, or tidal cycle's motion over time.
  • Precalculus and trigonometry coursework on graphing transformations.

Industry applications

  • Electrical engineering (AC signal analysis)
  • Physics (oscillatory motion)
  • Audio engineering (waveform analysis)

Advantages

  • Extracts all four defining parameters from one equation in a single step.
  • Works for both sine- and cosine-based functions.

Limitations

  • Assumes the equation is already in the standard A·sin(Bx+C)+D form — a function not yet in that form needs algebraic rearrangement first.

Common mistakes to avoid

  • Forgetting to divide C by B before interpreting the phase shift — the shift is −C/B, not −C.
  • Reporting a negative amplitude when A is negative, instead of taking its absolute value and treating the sign as a vertical reflection.
  • Confusing phase shift (horizontal movement) with vertical shift (vertical movement) — they come from different coefficients (C versus D) entirely.

Best practices

  • Always factor out B from inside the parentheses before reading off the phase shift, to avoid the −C/B versus −C mistake.
  • Sketch or visualize the midline (y = D) first, then layer the amplitude, period, and phase shift on top of it for a clearer mental picture.
  • When B is negative, consider rewriting the function with a positive B using the sine or cosine odd/even identities for clarity.

Tips

  • Need the (x, y) unit-circle coordinates for a specific angle instead? Use the Unit Circle Calculator.

Frequently asked questions

Phase shift = −C/B, derived by factoring Bx+C as B(x + C/B) and identifying the horizontal shift as −C/B — not simply −C, which is a very common shortcut error.
It means the graph is shifted to the left compared to the basic sin(x) or cos(x); a positive phase shift means it's shifted to the right.
Amplitude describes a distance (how far the wave swings from its midline), and distances are conventionally expressed as non-negative — a negative A instead flips the wave vertically (a reflection), which is a separate effect from amplitude itself.
Period is how long (in x-units, often seconds) one full cycle takes; frequency is the reciprocal of period — how many cycles occur per unit of x. A shorter period always means a higher frequency.
The amplitude, period, and vertical shift formulas are identical either way; only the phase shift's reference point differs, since sin(x) and cos(x) are themselves already 90° (or π/2 radians) out of phase with each other.
Yes, but a negative B is usually rewritten using the identity sin(−x) = −sin(x) so that B becomes positive with a sign change on A instead — this calculator uses |B| for the period specifically because the period must be a positive length.
Phase shift moves the wave sideways (left/right, along the x-axis); vertical shift moves the entire wave up or down (along the y-axis) — they affect completely different directions on the graph and come from different parts of the equation (C affects phase shift, D affects vertical shift).

Get new calculators and guides in your inbox

No spam — just new tools like Phase Shift Calculator and practical guides.

Favorites