Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Powers of i Calculator/Visualizer


Powers of i

i⁴ = 1, so powers cycle every 4. Just find k mod 4.
i
r = 0
1
i⁰ = 1
r = 1
i
i¹ = i
r = 2
−1
i² = −1
r = 3
−i
i³ = −i
cycle of4i1ii2−1i3−ii41ShortcutDivide exponent by 4and use the remainder:r = 1ir = 2−1r = 3−ir = 01r = n mod 4i323323 mod 4 = 3−i
1Divide by 4:323 ÷ 4 = 80 remainder 3 (4×80+3=323 ✓)
2Rewrite:i323 = i80+3 = i80 · i3
3Apply i⁴=1:(i⁴)80 · i3 = 1 · i3 = i3
4Lookup r=3:i3 = −i
i323 = −iiᵏ = ir where r = k mod 4
Explanation
i⁰ = 1Any number to power 0 equals 1
i¹ = ii to the first power is i
i² = −1By definition: i² = −1
i³ = −ii³ = i² · i = −1 · i = −i





Getting Started — Enter Any Exponent

Type any integer into the input field next to the large ii symbol. The calculator immediately shows the result, a four-step solution, and highlights which of the four possible outcomes applies.

Six preset buttons — 17, 100, 323, 1000, 45, and 82 — let you jump to specific examples. Click Random to generate a value between 0 and 1000, or Clear to reset the input and hide the calculation panel.

The four-case strip at the top always stays visible, displaying the four values in the cycle: i0=1i^0 = 1, i1=ii^1 = i, i2=1i^2 = -1, i3=ii^3 = -i. Whichever remainder matches the current exponent gets highlighted with a blue background, so you can see at a glance where the input lands in the cycle.

The Four Remainder States

Every power of ii reduces to one of exactly four values, determined by the remainder when the exponent is divided by 4. Each state produces a distinct visual configuration in the calculator.

Remainder 0 — result is 11. Try entering 100, 44, or any multiple of 4. The left node on the cycle diagram lights up and the case cell for r=0r = 0 highlights. The four-step breakdown shows the division leaving zero remainder.

Remainder 1 — result is ii. Enter 17, 45, or 1001. The top node activates. The calculation confirms that the exponent equals 4q+14q + 1, so the final lookup gives i1=ii^1 = i.

Remainder 2 — result is 1-1. Enter 82, 50, or 6. The right node highlights. This is the state behind the fundamental definition i2=1i^2 = -1.

Remainder 3 — result is i-i. Enter 323, 99, or 7. The bottom node activates. The chain i3=i2i=1i=ii^3 = i^2 \cdot i = -1 \cdot i = -i appears in the explanation panel.

Each remainder state produces its own unique cycle diagram highlighting, making four distinct visual snapshots.

Reading the Cycle Diagram

The SVG cycle diagram sits between the case strip and the calculation steps. It shows four nodes arranged in a circle — i1=ii^1 = i at the top, i2=1i^2 = -1 at the right, i3=ii^3 = -i at the bottom, and i4=1i^4 = 1 at the left — connected by curved arrows indicating the clockwise progression through the cycle.

The active node glows with a ring effect and full opacity while inactive nodes appear faded. Inside each node, the power label appears above a divider line and the resulting value below it.

To the right of the circle, a Shortcut box lists all four remainder-to-value mappings with the active row highlighted in blue. At the bottom, an example bar shows the current computation in compact form: the exponent, its mod 4 result, and the final value.

The center of the circle reads "cycle of 4," reinforcing the key insight that powers of ii repeat every four steps. This diagram is the visual anchor of the entire tool — each of the four remainder states produces a different highlighted configuration.

Step-by-Step Calculation Walkthrough

When an exponent is entered, the calculator displays a four-step breakdown on the left panel.

Step 1 — Divide by 4: The exponent kk is divided by 4, showing the quotient qq and remainder rr with a verification check: 4×q+r=k4 \times q + r = k.

Step 2 — Rewrite: The power is decomposed as ik=i4q+r=i4qiri^k = i^{4q + r} = i^{4q} \cdot i^r, separating the full cycles from the leftover.

Step 3 — Apply $i^4 = 1$: Since i4=1i^4 = 1, raising 1 to any power still gives 1, so i4q=(i4)q=1q=1i^{4q} = (i^4)^q = 1^q = 1. The expression simplifies to 1ir=ir1 \cdot i^r = i^r.

Step 4 — Lookup: The remainder rr maps directly to one of the four known values: 11, ii, 1-1, or i-i.

Below the steps, the answer bar shows the final result in large text alongside the general formula ik=iri^k = i^r where r=kmod4r = k \bmod 4.

Explanation Panel and Special Cases

The right-side explanation panel lists all four base cases with their derivation chains. The row matching the current remainder is highlighted with a blue background and a left border accent. This makes it easy to see both the active result and the reasoning behind it.

The four explanations are:

i0=1i^0 = 1 — any number raised to the zero power equals 1.

i1=ii^1 = iii to the first power is simply ii.

i2=1i^2 = -1 — this is the defining property of the imaginary unit.

i3=ii^3 = -i — derived by multiplying: i3=i2i=(1)(i)=ii^3 = i^2 \cdot i = (-1)(i) = -i.

Try entering small exponents like 0, 1, 2, and 3 to confirm each base case directly. Then try a large number like 1000 — the same four-step process applies regardless of magnitude, because only the remainder after dividing by 4 matters.

Quick Reference Table

Click the Quick Reference toggle at the bottom to expand a scrollable table showing i0i^0 through i100i^{100}. Each row lists the power, its kmod4k \bmod 4 value, and the result.

Every fourth row is separated by a thicker border, visually reinforcing the length-4 cycle. Scanning down the result column, the repeating pattern 1,i,1,i,1,i,1,i,1, i, -1, -i, 1, i, -1, -i, \dots becomes immediately obvious.

This table serves as a verification tool. If you enter 47 in the calculator and get i-i, you can scroll to row 47 in the reference table and confirm the result independently. It also helps students who learn by pattern recognition — seeing dozens of repetitions of the same four-value cycle builds intuition faster than any single example.

The table is compact by default (collapsed) so it does not overwhelm the main interface. Open it when you need to verify or explore, collapse it when you are done.

Why Powers of i Cycle Every 4

The repeating pattern comes from the definition i2=1i^2 = -1. Building up from there:

i0=1i^0 = 1

i1=ii^1 = i

i2=1i^2 = -1

i3=i2i=ii^3 = i^2 \cdot i = -i

i4=i3i=(i)(i)=i2=(1)=1i^4 = i^3 \cdot i = (-i)(i) = -i^2 = -(-1) = 1


At i4i^4 the value returns to 11, which is where i0i^0 started. From this point every subsequent multiplication by ii just re-traces the same sequence: 1i1i11 \to i \to -1 \to -i \to 1 \to \dots

Formally, the group generated by ii under multiplication is the cyclic group of order 4: {1,i,1,i}\{1, i, -1, -i\}. The remainder r=kmod4r = k \bmod 4 identifies which element of this group iki^k equals. This is why the mod 4 shortcut works for any integer exponent, no matter how large.

Negative and Zero Exponents

The calculator handles negative exponents using the same mod 4 logic. For any negative integer kk, the remainder is computed as ((kmod4)+4)mod4((k \bmod 4) + 4) \bmod 4 to ensure a non-negative result between 0 and 3.

For example, i1i^{-1}: since ii1=1i \cdot i^{-1} = 1, we need the multiplicative inverse of ii. Multiplying numerator and denominator by i-i gives i1=1i=ii2=i1=ii^{-1} = \frac{1}{i} = \frac{-i}{-i^2} = \frac{-i}{1} = -i. The calculator confirms this because 1mod4=3-1 \bmod 4 = 3 and i3=ii^3 = -i.

Similarly, i2=1i2=11=1i^{-2} = \frac{1}{i^2} = \frac{1}{-1} = -1, matching remainder 2. And i3=1i3=1i=ii^{-3} = \frac{1}{i^3} = \frac{1}{-i} = i, matching remainder 1.

The zero exponent i0=1i^0 = 1 follows the standard convention that any nonzero number raised to the power 0 equals 1.

Connection to Complex Numbers and Euler's Formula

The four powers of ii correspond to four special points on the unit circle in the complex plane: 11 sits on the positive real axis, ii on the positive imaginary axis, 1-1 on the negative real axis, and i-i on the negative imaginary axis.

Using Euler's formula eiθ=cosθ+isinθe^{i\theta} = \cos\theta + i\sin\theta, each power of ii maps to a quarter turn:

i0=ei0=1i^0 = e^{i \cdot 0} = 1 (angle 00)

i1=eiπ/2=ii^1 = e^{i\pi/2} = i (angle 90°90°)

i2=eiπ=1i^2 = e^{i\pi} = -1 (angle 180°180°)

i3=ei3π/2=ii^3 = e^{i3\pi/2} = -i (angle 270°270°)

Multiplying by ii is equivalent to rotating a point 90° counterclockwise on the complex plane. Four such rotations return to the starting position — this is the geometric reason behind the length-4 cycle.

Related Concepts and Tools

The mod 4 cycle here is algebraically simple, but its geometric meaning becomes clear once you see it on the complex plane.

The direct geometric explanation lives in the Multiplication Visualizer. Each multiplication by ii is a 90° rotation — modulus stays at 1, angle increases by 90°. Four rotations return to the start. The cycle i,1,i,1i, -1, -i, 1 is just that rotation applied repeatedly, and you can reproduce it exactly by setting z1=iz_1 = i and z2=iz_2 = i there, then mentally chaining the result.

That rotation behavior is a special case of De Moivre's Theorem. In polar form, i=eipi/2i = e^{ipi/2}, so in=einpi/2i^n = e^{inpi/2} — which means the angle just increments by pi/2pi/2 each time and wraps around at 2pi2pi. Set z=iz = i in that tool and drag nn through 1, 2, 3, 4 to watch it happen visually.

If the polar notation eipi/2e^{ipi/2} is unfamiliar, Euler's Formula Explorer is the place to start. heta=pi/2 heta = pi/2 places you exactly at ii on the unit circle — and heta=pi heta = pi lands at 1-1, which is i2i^2. The four powers of ii are the four cardinal points of the unit circle, and that tool shows why.

The Polar & Rectangular Converter ties it together practically — convert ii, 1-1, i-i, and 11 to polar form and you'll see that all four have r=1r = 1 and angles that are exact multiples of 90°.