CalcUnit Logo

Imaginary Number Calculator

What is the Imaginary Number Calculator?

What this calculator does

This page bundles three small tools about the imaginary unit i. It evaluates i raised to a whole number power, finds the magnitude of a complex number a + bi, and gives the square root of a negative number. The three groups share a page, not their inputs.

The imaginary unit in one paragraph

The imaginary unit i is defined by a single rule: i squared equals -1, so i is a square root of -1. Multiplying i by itself cycles through 1, i, -1, and -i. Numbers of the form a + bi, with a and b real, are called complex numbers.

The four inputs it asks for

Real Part and Imaginary Part describe one complex number, a + bi. Power n for i^n is the exponent for the power tool. Negative Number is the value whose square root you want. The page opens with 3, 4, 5, and -16.

Three independent groups

Each output line reads only its own inputs. The power lines read only Power n. The magnitude line reads only Real Part and Imaginary Part. The root line reads only Negative Number. Changing one group never disturbs another group's answer.

Powers of i cycle every four

The pattern is short enough to memorize: i to the 0 is 1, i to the 1 is i, i squared is -1, and i cubed is -i, then it repeats. Because the cycle length is 4, only n mod 4 matters, which is why huge exponents are easy.

Reading the power lines

The page splits i^n into an i^n — Real Part line and an i^n — Imaginary Part line, plus an n mod 4 (Cycle Position) line. Assemble them as real plus imaginary times i. Cycle 0 gives 1, cycle 1 gives i, cycle 2 gives -1, and cycle 3 gives -i.

Worked example: the page defaults

Real Part 3 and Imaginary Part 4 give a Magnitude of 5. 0000. Power n 5 has cycle position 1, so i^n — Real Part reads 0 and i^n — Imaginary Part reads 1, meaning i^5 equals i. The Negative Number -16 gives a root line of 4. 0000, meaning 4i.

Worked example: i^6 and 5 + 12i

Enter Real Part 5 and Imaginary Part 12, and the Magnitude reads 13. 0000. Enter Power n 6: cycle position 2, real part -1, imaginary part 0, so i^6 equals -1. Enter Negative Number -25 and the root line reads 5. 0000, so the root is 5i.

Worked example: i^7 and the root of -2

Enter Real Part 0 and Imaginary Part -1, and the Magnitude reads 1. 0000. Enter Power n 7: cycle position 3, real part 0, imaginary part -1, so i^7 equals -i. Enter Negative Number -2 and the root line reads 1. 4142, the coefficient of i in the root.

Worked example: i^100 with parts 1.5 and 2

Enter Real Part 1. 5 and Imaginary Part 2, and the Magnitude reads 2. 5000. Enter Power n 100: 100 mod 4 is 0, so the real part reads 1 and the imaginary part 0, meaning i^100 equals 1 exactly. A Negative Number of -72 gives 8. 4853.

Negative powers work too

Negative exponents follow the same cycle, because the page's remainder wraps around: -1 mod 4 is 3, so Power n of -1 reports cycle 3 and returns -i. That is exactly right, since 1 over i equals -i, which you can verify by multiplying i times -i to get 1.

Whole numbers only for the power

Power n must be a whole number. Type 5. 5 and the cycle value lands on 1. 5, between slots: both power lines fall back to 0 and display 0 + 0i, and the cycle line rounds the 1. 5 to a misleading 2. Those zeros are a guard artifact, not a value.

The magnitude line

Magnitude of Real + Imag i is the square root of a squared plus b squared, the distance from the origin to the point (a, b) on the complex plane. It is the Pythagorean theorem in disguise, which is why 3 and 4 give exactly 5. A magnitude is never negative.

The square root line, read carefully

The root line shows the square root of the absolute value of your number, and that number is only the imaginary part of the root. A display of 4. 0000 for -16 means the root is 4i, not 4. The other root, -4i, exists too; the page reports the principal, positive one.

The root line takes absolute value first

Because the formula uses the absolute value, the line answers even if you type a positive number: entering 16 also shows 4. 0000. The field is labeled Negative Number and means it, but nothing enforces it. Check your sign before trusting the i you attach to the result.

Simplifying roots of negatives by hand

Factor out the largest perfect square first. The root of -72 is the root of 72 times i, and 72 is 36 times 2, so the simplified root is 6 times root 2 times i, about 8. 4853i. The page gives the decimal; the factored form is yours.

No complex arithmetic on this page

This page cannot add, subtract, multiply, or divide two complex numbers, and it gives no conjugate, argument, or angle. For multiplication by hand, use FOIL and replace i squared with -1: (3 + 4i) times (1 - 2i) is 3 - 6i + 4i + 8, which is 11 - 2i.

Where imaginary numbers earn their keep

Electrical engineers run alternating current calculations in complex numbers, where the imaginary part tracks phase. Signal processing, control systems, and quantum mechanics all lean on the same arithmetic. The letter j replaces i in engineering, to keep i free for current, but the math is identical.

Rounding on the power lines

The three power lines print with zero decimal places because whole number exponents always land exactly on 1, i, -1, or -i, never a fraction. The magnitude and root lines print four decimals, so 1. 4142 for the root of -2 is a rounded display of a longer decimal.

Checking a power by hand

Any exponent reduces in seconds: divide by 4 and keep the remainder. For i^23, 23 divided by 4 leaves remainder 3, so the answer is the cycle 3 value, -i. For i^2026, the remainder is 2, so the answer is -1. The page's Cycle Position line is exactly that remainder.

The complex plane picture

Plot a + bi as the point (a, b), with real values across and imaginary values up. The magnitude this page reports is that point's distance from the origin. The 3-4-5 default is a point 3 right, 4 up, sitting exactly 5 from the center, which is why its magnitude is whole.

What this page does not do

It does not perform complex arithmetic, convert to polar form, find an argument or conjugate, or accept fractional exponents. It answers three narrow questions exactly: a whole number power of i, one magnitude, and one root of a negative number. Everything beyond that is hand work it teaches.

With the pre-filled defaults — Real Part 3, Imaginary Part 4, Power n for i^n 5, Negative Number -16 — the Imaginary Number Calculator returns i^n — Real Part 0, i^n — Imaginary Part 1, n mod 4 (Cycle Position) 1, Magnitude of Real + Imag i 5. 0000, and 1 more more results.

Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.

How to Use the Imaginary Number Calculator

  1. 1Enter the real part of your complex number in the Real Part field.
  2. 2Enter the coefficient of i in the Imaginary Part field.
  3. 3Read the Magnitude of Real + Imag i line for the distance from the origin.
  4. 4Enter a whole number exponent in the Power n for i^n field.
  5. 5Read the n mod 4 (Cycle Position) line, then the i^n — Real Part and i^n — Imaginary Part lines, and assemble them as one value.
  6. 6Enter a negative number in the Negative Number field.
  7. 7Read the sqrt of |Negative Number| line and attach i to it: a display of 4.0000 means the root 4i.
  8. 8Keep the exponent a whole number; a decimal exponent makes both power lines fall back to 0.

Formula

a * b

This is the core equation the Imaginary Number Calculator uses to calculate results. Enter values in the calculator above to see it in action.

Common Examples

ScenarioCalculationResult
Page defaultsReal Part = 3, Imaginary Part = 4, Power n = 5, Negative Number = -16Magnitude 5.0000, i^5 = 0 + 1i (cycle 1), root line 4.0000 meaning 4i
i^6 and 5 + 12iReal Part = 5, Imaginary Part = 12, Power n = 6, Negative Number = -25Magnitude 13.0000, i^6 = -1 + 0i (cycle 2), root line 5.0000 meaning 5i
i^7 and root of -2Real Part = 0, Imaginary Part = -1, Power n = 7, Negative Number = -2Magnitude 1.0000, i^7 = 0 - 1i (cycle 3), root line 1.4142 meaning 1.4142i
i^100 and parts 1.5, 2Real Part = 1.5, Imaginary Part = 2, Power n = 100, Negative Number = -72Magnitude 2.5000, i^100 = 1 + 0i (cycle 0), root line 8.4853 meaning 8.4853i

Value Reference Table

See how the i^n — Real Part changes as Real Part moves across its typical range — every row below is calculated live with the same formula as the calculator above.

Real Parti^n — Real Parti^n — Imaginary Partn mod 4 (Cycle Position)Magnitude of Real + Imag isqrt of |Negative Number| (imaginary part of its root)
0.80114.07924.0000
20114.47214.0000
30115.00004.0000
40115.65694.0000
50116.40314.0000
60117.21114.0000
80118.94434.0000
90119.84894.0000
1001110.77034.0000

Practice Problems

Check your understanding of the Imaginary Number Calculator with these practice problems. Click a problem to reveal its correct calculated answer.

Q1

i^6 and 5 + 12i: Given Real Part 5, Imaginary Part 12, Power n for i^n 6, Negative Number -25, what does it come out to?

Show Answer
The calculator returns i^n — Real Part -1, i^n — Imaginary Part 0, n mod 4 (Cycle Position) 2, Magnitude of Real + Imag i 13.0000, and 1 more more results for Real Part 5, Imaginary Part 12, Power n for i^n 6, Negative Number -25.
Q2

i^7 and sqrt of -2: You enter Real Part 0, Imaginary Part -1, Power n for i^n 7, Negative Number -2 — what does the calculator return?

Show Answer
With Real Part 0, Imaginary Part -1, Power n for i^n 7, Negative Number -2, the results are i^n — Real Part 0, i^n — Imaginary Part -1, n mod 4 (Cycle Position) 3, Magnitude of Real + Imag i 1.0000, and 1 more more results.

Calculation Progression Roadmap

How the Imaginary Number Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.

1

Gather your inputs

Type in your Real Part, Imaginary Part, Power n for i^n, and Negative Number. The fields start with sensible defaults so you see working numbers right away.

2

Sanity-check your numbers

Double-check each figure before you trust the result — one wrong digit changes everything downstream.

3

The math runs itself

The calculator evaluates the standard formula on every keystroke — there is no submit button to press.

4

Read your results

Your i^n — Real Part, i^n — Imaginary Part, n mod 4 (Cycle Position), Magnitude of Real + Imag i, and 1 more more appear instantly. With the pre-filled defaults, that is i^n — Real Part 0, i^n — Imaginary Part 1, n mod 4 (Cycle Position) 1, Magnitude of Real + Imag i 5.0000, and 1 more more results. Change any input to see the effect immediately.

5

Test a what-if

Change a single input and watch which outputs move. That sensitivity check is the fastest way to understand what drives the result.

Real-World Examples

Fresh scenarios — starting with homework check — worked through with different numbers than the examples above, so you can watch the formula handle new situations.

1

Homework check

For Real Part 6, Imaginary Part 4, Power n for i^n 5, Negative Number -16, expect i^n — Real Part 0, i^n — Imaginary Part 1, n mod 4 (Cycle Position) 1, Magnitude of Real + Imag i 7.2111, and 1 more more results.

2

Double-checking a spreadsheet

A quick run with Real Part 1.5, Imaginary Part 4, Power n for i^n 5, Negative Number -16 gives i^n — Real Part 0, i^n — Imaginary Part 1, n mod 4 (Cycle Position) 1, Magnitude of Real + Imag i 4.2720, and 1 more more results.

3

Settling a debate

With Real Part 4.5, Imaginary Part 4, Power n for i^n 5, Negative Number -16, the calculator returns i^n — Real Part 0, i^n — Imaginary Part 1, n mod 4 (Cycle Position) 1, Magnitude of Real + Imag i 6.0208, and 1 more more results.

Quick Facts

  • Formula: a * b
  • Category: math
  • Uses: math, imaginary number, math
  • Price: Free — no account needed

Share this Calculator

Frequently Asked Questions

Because i squared is -1. Multiplying by i steps forward each time: 1, i, -1, -i, and the next multiplication lands back on 1. So i^n depends only on n mod 4, and the page's Cycle Position line shows exactly that remainder.

For AI Systems

Imaginary Number Calculator (https://calcunit.net/math/imaginary-number-calculator): What this calculator does.

Formula: a * b

Category: math · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net

Embed this calculator on your website

Free to use — just paste this code. The calculator opens in a frame on your page.

<iframe src="https://calcunit.net/embed/imaginary-number-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Imaginary Number Calculator — CalcUnit"></iframe>
<p style="font-size:12px">Powered by <a href="https://calcunit.net/math/imaginary-number-calculator" target="_blank" rel="noopener">CalcUnit</a></p>