Amplitude and Period Calculator
Find amplitude, period, frequency, phase shift and midline of y = A sin(B(x − C)) + D or cosine, with the range. Example: with function Sine, amplitude factor a 3, frequency factor b 2, …, the result is Amplitude |A| = 3; Period 2π/|B| = 3.14159265 (180°); Frequency |B|/2π = 0.31830989.
Last updated · By S. Dilshan · Runs in your browser, nothing is uploaded
Step-by-Step Solution
How do you use the Amplitude and Period Calculator?
Choose sine or cosine and enter A, B, C and D from y = A·f(B(x − C)) + D. The calculator returns the amplitude, the period, the frequency, the phase shift, the midline and the maximum and minimum values.
What formula does the Amplitude and Period Calculator use?
For y = A sin(B(x − C)) + D: amplitude |A|, period 2π/|B|, frequency |B|/2π, phase shift C (right if positive) and midline y = D. The range is D − |A| to D + |A|.
Worked example: Function Sine, Amplitude factor A 3, Frequency factor B 2
For y = 3 sin(2(x − 0.5)) + 1 the amplitude is 3, the period is π ≈ 3.1416, the frequency is 0.3183, the graph is shifted 0.5 to the right and lifted 1 unit, and y ranges from −2 to 4.
With the default values the calculator returns Amplitude |A| = 3; Period 2π/|B| = 3.14159265 (180°); Frequency |B|/2π = 0.31830989; Phase shift C = 0.5 to the right.
Where Is This Calculation Used?
These parameters describe sound waves, tides, alternating current and seasonal temperatures. Reading them off a formula or fitting them to data lets you predict timing and peaks: the period gives the repeat time and the amplitude the swing about the midline.
To read the parameters from a graph: the amplitude is half the vertical distance between a peak and a trough, the period is the horizontal distance between two peaks and the midline is the average of the maximum and minimum. Tides have a period of about 12.42 hours, and mains electricity has a frequency of 50 or 60 Hz, which is a period of 20 ms or 16.7 ms.
What are the most common mistakes with the Amplitude and Period Calculator?
- Using the period formula 2π/B with the factored form wrongly: if the formula is sin(Bx − C′) the phase shift is C′/B.
- Reporting a negative amplitude; amplitude is |A|.
- Forgetting to include the vertical shift when stating the range.
What Is the Tested Example for the Default Values?
This example is computed by the same code that powers the calculator above, so you can compare it with your own numbers or a textbook answer.
| Input: Function | Sine |
|---|---|
| Input: Amplitude factor A | 3 |
| Input: Frequency factor B | 2 |
| Input: Phase shift C | 0.5 |
| Input: Vertical shift D | 1 |
| Amplitude |A| | 3 |
| Period 2π/|B| | 3.14159265 (180°) |
| Frequency |B|/2π | 0.31830989 |
| Phase shift C | 0.5 to the right |
| Midline y = D | 1 |
Where Can You Verify These Formulas?
The definitions and formulas on this page follow standard references. Check them against these sources:
- NIST Digital Library of Mathematical Functions
- Wolfram MathWorld: trigonometry
- OpenStax: free math textbooks
Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.
Frequently Asked Questions
How do you find the period of a sine function?
2π divided by the absolute value of B in sin(Bx).
What does the phase shift do?
It slides the graph horizontally; y = sin(x − C) moves the graph C units to the right.
What is the amplitude?
Half the distance between the maximum and minimum, |A|.