Maths & numbers

Sinusoid amplitude and phase from coefficients calculator

Combine a sine term and a cosine term at the same frequency into one sinusoid.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Combine a sine term and a cosine term at the same frequency into one sinusoid.

THE FORMULAa cos x+b sin x=R cos(x−φ), R=hypot(a,b), φ=atan2(b,a)

A worked example

3 cos x+4 sin x has amplitude 5 and phase shift about 53.13°.

Good to know

Phase is undefined when both coefficients are zero.

Read the result

Combine a sine term and a cosine term at the same frequency into one sinusoid.

The primary result is labeled “Amplitude”. Keep the input definitions in view when comparing this result with another method.

Try a related calculation

Phase is undefined when both coefficients are zero.

For a related exercise, try the quadratic equation solver.

A few questions, answered

How can I check the default inputs by hand?

3 cos x+4 sin x has amplitude 5 and phase shift about 53.13°.

Which rule does this calculator apply?

a cos x+b sin x=R cos(x−φ), R=hypot(a,b), φ=atan2(b,a)

Find your calculator

Start typing to explore the library.