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
Three steps forward is one step back: i³ = −i is also 1/i. Learn more about remainder 3 · All four states





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 full cycles vanishing with zero left over.

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 = ithe cycle restarting.

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 — this is the tool's opening example.

Each remainder state produces its own unique cycle diagram highlighting, and each has a dedicated section below with the diagram frozen in that state.

Remainder 0: Full Cycles Vanish

When the exponent is a multiple of 4, nothing survives the reduction: i100=1i^{100} = 1, exactly as if no multiplication had happened at all.
cycle of4i1ii2−1i3−ii41ShortcutDivide exponent by 4and use the remainder:r = 1→ ir = 2→ −1r = 3→ −ir = 0→ 1r = n mod 4i100 → 100 mod 4 = 01
i¹⁰⁰ — remainder 0, frozen

The left node glows: 100 ÷ 4 = 25 with nothing left over, so twenty-five full cycles vanish and i¹⁰⁰ = 1.

The frozen computation is 100÷4=25100 \div 4 = 25 remainder 00: twenty-five complete trips around the cycle and not a single step more. Each trip contributes a factor of i4=1i^4 = 1, and 1251^{25} is still 11 — a hundred multiplications collapsing to nothing, as the step-by-step walkthrough shows line by line.

This state is the identity of the cycle, and it explains the other three: every power of ii is "some full cycles, then a short remainder walk". Remainder 0 is the case where the walk has length zero. One step further takes you to remainder 1.

Remainder 1: The Cycle Restarts

An exponent one step past a multiple of 4 lands back on ii itself: i17=ii^{17} = i, seventeen multiplications with the effect of one.
cycle of4i1ii2−1i3−ii41ShortcutDivide exponent by 4and use the remainder:r = 1→ ir = 2→ −1r = 3→ −ir = 0→ 1r = n mod 4i17 → 17 mod 4 = 1i
i¹⁷ — remainder 1, frozen

The top node glows: 17 = 4×4 + 1, four silent cycles and one leftover quarter-step — seventeen multiplications with the effect of one.

The frozen computation reads 17=4×4+117 = 4 \times 4 + 1: four vanishing cycles and a single leftover step. The top node of the cycle diagram lights up, which is the diagram's way of saying the sequence has begun again.

Remainder 1 is why the pattern is periodic rather than merely finite — the cycle does not stop at i4=1i^4 = 1, it starts over from there. Every exponent congruent to 1(mod4)1 \pmod 4, whether 55, 1717, or 10011001, is geometrically a single quarter-turn.

Remainder 2: The Definition Itself

Two steps into the cycle sits the identity everything else is built on: i82=i2=1i^{82} = i^2 = -1.
cycle of4i1ii2−1i3−ii41ShortcutDivide exponent by 4and use the remainder:r = 1→ ir = 2→ −1r = 3→ −ir = 0→ 1r = n mod 4i82 → 82 mod 4 = 2−1
i⁸² — remainder 2, frozen

The right node glows: 82 mod 4 = 2 lands on −1, the defining value of the imaginary unit — half the cycle equals negation.

The frozen computation is 82=4×20+282 = 4 \times 20 + 2: twenty silent cycles, then the two-step walk 1i11 \to i \to -1. Whatever the exponent, remainder 2 always lands on the number whose existence defines ii in the first place — i2=1i^2 = -1 is not derived from anything, it is the starting axiom, as the cycle explanation lays out.

Half the cycle equals negation: multiplying by i2i^2 flips any number to its opposite. That is the algebraic shadow of a 180°180° rotation, and it is why even powers of ii are always real (±1\pm 1) while odd powers are always imaginary (±i\pm i).

Remainder 3: The Opening Example

The tool opens on i323i^{323} — a deliberately unwieldy exponent that the mod-4 shortcut dispatches in one line: remainder 33, so i323=ii^{323} = -i.
cycle of4i1ii2−1i3−ii41ShortcutDivide exponent by 4and use the remainder:r = 1→ ir = 2→ −1r = 3→ −ir = 0→ 1r = n mod 4i323 → 323 mod 4 = 3−i
i³²³ — remainder 3, frozen

The tool’s opening state: 323 = 4×80 + 3, and the bottom node glows on −i — three steps forward, which is also one step back.

The frozen computation is 323=4×80+3323 = 4 \times 80 + 3: eighty full cycles and a three-step walk 1i1i1 \to i \to -1 \to -i, ending at the bottom node. Three hundred twenty-three multiplications, and the answer was decided entirely by the last two digits' remainder.

Remainder 3 has a second reading worth knowing: three steps forward is one step back, so i3=i1i^3 = i^{-1} — the multiplicative inverse of ii. That equivalence is exactly the negative exponent rule seen from the other side of the cycle.

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 i4=1i^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.