Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

Euler's Formula Calculator

How to use
  1. Type the angle in Angle θ. For radians type a number or a multiple of π\pi, as in pi/3; for degrees add deg, as in 60deg. Learn more about entering the angle
  2. Read eiθe^{i\theta} written out as cos⁡θ+isin⁡θ\cos\theta + i\sin\theta, then its value as a+bia + bi. Learn more about reading the answer
  3. Read the conjugate e−iθe^{-i\theta}, the mirror image in the real axis.
  4. On the unit circle the navy line ends at eiθe^{i\theta}. The blue leg is cos⁡θ\cos\theta, the amber leg is sin⁡θ\sin\theta; the hollow dot is the conjugate.
  5. How it was found explains each line of the answer.

Euler's formula
Euler's formula at this angle
ei π/3=cos⁡π3+isin⁡π3\displaystyle e^{i\,\pi/3} = \cos \frac{\pi}{3} + i\sin \frac{\pi}{3}
Value
ei π/3=12+32 i≈0.5+0.866 i\displaystyle e^{i\,\pi/3} = \frac{1}{2} + \frac{\sqrt{3}}{2}\,i \approx 0.5 + 0.866\,i
The angle
θ=π3=60∘\displaystyle \theta = \frac{\pi}{3} = 60^\circ
Modulus
∣ei π/3∣=cos⁡2θ+sin⁡2θ=1\displaystyle \left|e^{i\,\pi/3}\right| = \sqrt{\cos^2\theta + \sin^2\theta} = 1
Conjugate
e−i π/3=12−32 i\displaystyle e^{-i\,\pi/3} = \frac{1}{2} - \frac{\sqrt{3}}{2}\,i
How it was found

Euler's formula says eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta for every real angle θ\theta, measured in radians.

Here θ=π3\theta = \frac{\pi}{3}, which is 60∘60^\circ. So the real part is cos⁡θ=12\cos\theta = \frac{1}{2} (blue) and the imaginary part is sin⁡θ=32\sin\theta = \frac{\sqrt{3}}{2} (amber).

On the complex plane eiθe^{i\theta} is the point of the unit circle at angle θ\theta: its distance from the origin is cos⁡2θ+sin⁡2θ=1\sqrt{\cos^2\theta + \sin^2\theta} = 1, whatever the angle.

Turning by the opposite angle mirrors the point in the real axis: e−iθ=cos⁡θ−isin⁡θe^{-i\theta} = \cos\theta - i\sin\theta, the conjugate. Adding and subtracting the two gives cos⁡θ=eiθ+e−iθ2\cos\theta = \dfrac{e^{i\theta} + e^{-i\theta}}{2} and sin⁡θ=eiθ−e−iθ2i\sin\theta = \dfrac{e^{i\theta} - e^{-i\theta}}{2i}.

Angles that differ by a full turn give the same point, so eiθe^{i\theta} repeats with period 2π2\pi.

Drawn by the tool
∣z∣=1|z| = 1read-only
∣z∣=1|z| = 1


Finding the complex exponential

DemoThe complex exponential on the unit circle
Step 0 of 4
    Type an angle in Angle θ and the calculator works out eiθe^{i\theta}: first as cos⁡θ+isin⁡θ\cos\theta + i\sin\theta, then as a complex number a+bia + bi.

    The angle can be typed three ways:

  • in radians as a multiple of π\pi: pi/3, 3pi/4, -pi/2, 2pi;
  • in radians as a plain number: 1, 2, 0.5;
  • in degrees, with deg after the number: 60deg, -45deg.

  • A number with no unit is read as radians, which is the unit Euler's formula is stated in.

Reading the answer

  • Euler's formula at this angle writes eiθe^{i\theta} with your angle put in.
  • Value is the result as a+bia + bi. At the familiar angles it is exact, with square roots, and a decimal is given beside it.
  • The angle is shown in radians and in degrees.
  • Modulus is always 11: every eiθe^{i\theta} lies on the unit circle.
  • Conjugate is e−iθe^{-i\theta}, the same real part with the opposite imaginary part.

Euler's formula

For every real number θ\theta,

eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta


It ties the exponential function to the two basic trigonometric functions. The real part of eiθe^{i\theta} is cos⁡θ\cos\theta and the imaginary part is sin⁡θ\sin\theta.

The angle must be in radians for the formula to hold as written. With degrees, convert first: 180∘=π180^\circ = \pi radians.

A point on the unit circle

The number cos⁡θ+isin⁡θ\cos\theta + i\sin\theta is the point (cos⁡θ, sin⁡θ)(\cos\theta,\ \sin\theta) of the complex plane. Its distance from the origin is

cos⁡2θ+sin⁡2θ=1\sqrt{\cos^2\theta + \sin^2\theta} = 1


so eiθe^{i\theta} always lies on the unit circle, at the angle θ\theta from the positive real axis. As θ\theta grows the point travels counterclockwise round the circle, and after 2π2\pi it is back where it started: ei(θ+2π)=eiθe^{i(\theta + 2\pi)} = e^{i\theta}.

Four values are worth knowing: e0=1e^{0} = 1, eiπ/2=ie^{i\pi/2} = i, eiπ=−1e^{i\pi} = -1, e3iπ/2=−ie^{3i\pi/2} = -i.
The point eiθe^{i\theta}: blue leg cos⁡θ\cos\theta, amber leg sin⁡θ\sin\theta.
The four values on the axes: 11, ii, −1-1, −i-i.

Euler's identity

Put θ=π\theta = \pi into the formula. Since cos⁡π=−1\cos\pi = -1 and sin⁡π=0\sin\pi = 0,

eiπ=−1,that iseiπ+1=0e^{i\pi} = -1, \qquad \text{that is} \qquad e^{i\pi} + 1 = 0


This is Euler's identity. It joins five basic numbers, 00, 11, ee, ii and π\pi, in one equation. On the picture it is the point half a turn round the circle.

The conjugate and the formulas for sine and cosine

DemoDegrees, negative angles and plain numbers
Step 0 of 3
Replacing θ\theta by −θ-\theta keeps the cosine and flips the sine:

e−iθ=cos⁡θ−isin⁡θe^{-i\theta} = \cos\theta - i\sin\theta


This is the conjugate of eiθe^{i\theta}, its mirror image in the real axis. Adding the two cancels the sines; subtracting cancels the cosines:

cos⁡θ=eiθ+e−iθ2,sin⁡θ=eiθ−e−iθ2i\cos\theta = \dfrac{e^{i\theta} + e^{-i\theta}}{2}, \qquad \sin\theta = \dfrac{e^{i\theta} - e^{-i\theta}}{2i}


Their product is eiθ⋅e−iθ=e0=1e^{i\theta} \cdot e^{-i\theta} = e^{0} = 1, which is cos⁡2θ+sin⁡2θ=1\cos^2\theta + \sin^2\theta = 1 again.
eiθe^{i\theta} and its conjugate e−iθe^{-i\theta}, mirrored in the real axis.

What the formula is used for

  • Exponential form. Any complex number with modulus rr and argument θ\theta is z=r eiθz = r\,e^{i\theta}.
  • Multiplying. eiα⋅eiβ=ei(α+β)e^{i\alpha} \cdot e^{i\beta} = e^{i(\alpha + \beta)}: multiplying by eiβe^{i\beta} turns a number through the angle β\beta.
  • Powers. (eiθ)n=einθ\left(e^{i\theta}\right)^n = e^{in\theta}, which is De Moivre's theorem: (cos⁡θ+isin⁡θ)n=cos⁡nθ+isin⁡nθ(\cos\theta + i\sin\theta)^n = \cos n\theta + i\sin n\theta.
  • Trigonometric identities. The angle-sum formulas for sine and cosine fall out of comparing real and imaginary parts of ei(α+β)e^{i(\alpha + \beta)}.

Common mistakes

  • Using degrees in the exponent. ei⋅180e^{i \cdot 180} is not −1-1; eiπe^{i\pi} is. In this calculator type 180deg and it is converted for you.
  • Thinking eiθe^{i\theta} is large. A real exponential grows, but eiθe^{i\theta} never leaves the unit circle.
  • Putting ii on the cosine. The cosine is the real part; the ii goes with the sine.
  • Writing e−iθ=−eiθe^{-i\theta} = -e^{i\theta}. The minus sign in the exponent mirrors the point in the real axis; it does not send it to the opposite point.
  • Forgetting the period. e2πi=1e^{2\pi i} = 1, so θ\theta and θ+2π\theta + 2\pi give the same value.