Phase Shift Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Write the function as y = A sin(Bx − C) + D (or with cos) and enter A, B, C and D. Angles are in radians.
Result
Phase shift C ÷ B (positive = to the right)
Amplitude |A|
- Period 2π ÷ |B|
- Frequency |B| ÷ 2π (cycles per unit of x)
- Vertical shift D (midline y = D)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- A (amplitude factor): enter a number.
- B (frequency factor, not 0): enter a number.
- C (in Bx − C; radians): enter a number.
- D (vertical shift): enter a number.
- Read the result: Phase shift C ÷ B (positive = to the right); the panel also shows Amplitude |A|, Period 2π ÷ |B|, Frequency |B| ÷ 2π (cycles per unit of x) and Vertical shift D (midline y = D).
How this calculator works
Factoring B out of the argument, y = A sin(B(x − C/B)) + D: the graph of A sin(Bx) is moved C ÷ B units to the right (to the left if C ÷ B is negative) and D units up.
The amplitude is |A|, the period is 2π ÷ |B| and the frequency is its inverse. The same rules hold for cosine.
The formula
| Symbol | Meaning |
|---|---|
| B (frequency factor, not 0) | |
| C (in Bx − C; radians) | |
| Phase shift C ÷ B (positive = to the right) |
Worked example
| A (amplitude factor) | 3 |
|---|---|
| B (frequency factor, not 0) | 2 |
| C (in Bx − C; radians) | 1 |
| D (vertical shift) | 0 |
| Amplitude |A| | 3 |
|---|---|
| Period 2π ÷ |B| | 3.1416 |
| Frequency |B| ÷ 2π (cycles per unit of x) | 0.3183 |
| Vertical shift D (midline y = D) | 0 |
Phase shift C ÷ B (positive = to the right) 0.5
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is the phase shift of y = 3 sin(2x − 1)?
1 ÷ 2 = 0.5 to the right. The period is π ≈ 3.1416 and the amplitude is 3.
What is the phase shift of y = −2 sin(0.5x + 1) + 4?
Here C = −1, so the shift is −1 ÷ 0.5 = −2, two units to the left. The period is 4π ≈ 12.5664 and the midline is y = 4.