Sine Wave Calculator

Design clean sine signals for maths and engineering. Enter parameters, preview points, and download reports. Perfect for homework, labs, and quick waveform checks anywhere.

Calculator Inputs

Provide any one of: frequency, period, or angular frequency. The calculator derives the others and generates a time-series table.

Non-negative. Peak-to-peak is 2A.
Shifts the wave up or down.
If set, overrides T and ω.
Used if f is empty and ω is empty.
Used if f is empty; otherwise derived.
Positive shifts left (in angle).
Smaller dt gives smoother sampling.
Affects table and exports.
Reset

Example Data Table

Example: A=2, f=0.5 Hz, φ=0°, D=1, sampled from t=0 to 2 with dt=0.5.

t (s)yNotes
0.01.0000sin(0)=0 → y=D
0.53.0000sin(π/2)=1 → peak
1.01.0000sin(π)=0 → back to offset
1.5-1.0000sin(3π/2)=-1 → trough
2.01.0000sin(2π)=0 → cycle complete

Formula Used

The generated waveform follows: y(t) = A · sin(ωt + φ) + D or, for cosine mode: y(t) = A · cos(ωt + φ) + D

How to Use This Calculator

  1. Choose sine or cosine.
  2. Enter amplitude and vertical offset.
  3. Fill either frequency, period, or angular frequency.
  4. Set phase and its unit, if needed.
  5. Select a time range and step for sampling.
  6. Press Calculate to view stats and sample points.
  7. Use CSV or PDF export for reporting or plotting.

FAQs

1) What is amplitude in a sine wave?

Amplitude A is the distance from the midline to a peak. The full peak-to-peak height is 2A. If A is 0, the signal becomes a flat line at the offset D.

2) How do frequency and period relate?

Frequency f counts cycles per second. Period T is the time for one cycle. They are reciprocals: T = 1/f. This tool computes both from whichever one you provide.

3) What does phase shift change?

Phase φ shifts the waveform along the time axis in angular terms. A positive φ moves the pattern earlier in time for the same t. Use degrees for convenience or radians for direct formulas.

4) Why use angular frequency ω?

Angular frequency ω simplifies calculus and physics formulas. It links to frequency by ω = 2πf. Many models in vibrations, AC analysis, and wave equations use ω directly.

5) What is RMS and why is it shown?

RMS measures the effective magnitude of a varying signal. For a pure sine centered at zero, RMS equals A/√2. With a vertical offset, RMS increases because the DC component adds energy.

6) How should I pick a time step dt?

Use a step small enough to capture curvature. A common choice is 50–200 samples per period. Very small dt can create huge tables, so the calculator limits the maximum number of points.

7) Why do my values look constant?

This often happens when dt is too large relative to the period, or when amplitude A is near zero. Reduce dt, increase the time range, and confirm you entered one valid value among f, T, or ω.

Related Calculators

right triangle solvercosine calculatorunit circle calculatorincline angle calculatorhypotenuse calculatorsss triangle solverramp angle calculatorssa triangle solvercosine wave calculatorarc tangent calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.