Type the real part and the imaginary part of the first number in the two boxes under First Number (z₁); the formatted number appears under them. Learn more about the inputs
Pick an operation with the seven buttons: Addition, Subtraction, Multiplication, Division, Conjugate, Modulus or Power. Conjugate and Modulus hide the second number. Learn more about the operations
For a two-number operation, type the second number under Second Number (z₂). The result appears at once; nothing has to be clicked. Learn more about the arithmetic operations
Click Show Steps to open the step-by-step working under the result, and again to hide it. Learn more about the results
The two guide panels on the right explain complex numbers and the chosen operation; each ends with a link to the section below that explains it in full. Learn more about the guides
Click Clear All to empty both numbers and the result. Dividing by 0+0i shows the message Division by zero. Learn more about messages
Getting Started with the Complex Numbers Calculator
DemoTwo numbers, three operations
Step 0 of 4
The complex numbers calculator has three main sections: input panels on the left for entering your complex numbers, operation buttons in the middle for selecting calculations, and quick guide panels on the right showing formulas and explanations. The interface adjusts based on which operation you choose—some operations need two numbers while others need only one.
Start by looking at the First Number (z₁) input panel. You'll see two boxes with a plus sign and the letter i between them. The left box is for the real part (the regular number), and the right box is for the imaginary part (the coefficient of i). Enter any numbers including decimals and negatives.
Below your inputs, the calculator displays your complex number in standard form like 3+4i or −2−5i. This formatted display updates instantly as you type, helping you verify your input is correct before calculating. Watch this area to make sure the calculator interprets your numbers as you intended.
The Choose Operation section contains seven buttons for different calculations: Addition, Subtraction, Multiplication, Division, Conjugate, Modulus, and Power. Click any operation button to select it—the button turns blue when active. For Conjugate and Modulus, the second number panel disappears since these operations work on a single complex number. The result appears automatically below without needing to click Calculate: with 3+4i and 1+2i, Addition gives 4+6i and Multiplication −5+10i. The Power button is listed but does not compute yet; its guide explains the method. What the two parts of a complex number mean is explained in what are complex numbers.
Entering Complex Numbers in the Input Fields
DemoReal part, imaginary part, and the preview
Step 0 of 4
Click in the first input box under First Number (z₁) to enter your real part. Type any number: positive like 5, negative like −3, decimal like 2.5, or zero like 0. The real part represents the horizontal component on the complex plane—it's just a regular number without i.
Move to the second box to enter your imaginary part. This is the coefficient of i, so if you want 4i, type 4. For −3i, type −3. You don't need to type the i—the calculator adds it automatically. The imaginary part represents the vertical component on the complex plane.
For pure real numbers like 5, enter 5 in the real box and 0 in the imaginary box. For pure imaginary numbers like 3i, enter 0 in the real box and 3 in the imaginary box. The calculator handles all combinations: 2+3i, −4−7i, 6+0i, 0+5i.
When an operation requires a second complex number, the Second Number (z₂) panel appears on the right. Enter its real and imaginary parts the same way. The formatted preview below each panel shows exactly how the calculator interprets your input: (3+4i), (0−2i), or (5+0i). If the preview shows "Enter values," you haven't typed anything yet. For example, 5−3i added to 2i gives 5−i, and −3i+2i=−i. The standard form behind the two boxes is explained in what are complex numbers.
Using the Four Basic Arithmetic Operations
DemoAdd, subtract, multiply and divide the same two numbers
Step 0 of 4
Click the Addition (z₁ + z₂) button to add two complex numbers. Enter 3+2i in the first panel and 1+4i in the second. The calculator adds real parts together: 3+1=4. Then it adds imaginary parts: 2i+4i=6i. The result 4+6i appears immediately in the green result box below.
For Subtraction (z₁ - z₂), try (5+3i)−(2+1i). The calculator subtracts the second number's real part from the first: 5−2=3. Then imaginary parts: 3i−1i=2i. Result: 3+2i. Notice negative results work too: (1+1i)−(3+4i)=−2−3i.
Multiplication (z₁ × z₂) uses the FOIL method. Enter (2+3i) and (1+4i). The calculator multiplies: 2×1=2, 2×4i=8i, 3i×1=3i, and 3i×4i=12i2=−12 (remember i2=−1). Combining gives 2+8i+3i−12=−10+11i. Click Show Steps to see this breakdown.
Division (z₁ ÷ z₂) multiplies by the conjugate. For (1+2i)÷(3+4i), the calculator finds the conjugate of the denominator (3−4i), multiplies numerator and denominator by it, then simplifies. The result appears as a decimal like 0.44+0.08i. Division by zero (like ÷(0+0i)) shows an error: "Division by zero." With 1+2i and 3+4i the four buttons give 4+6i, −2−2i, −5+10i and 0.44+0.08i. The rules behind all four are in how complex number operations work.
Using Single-Number Operations: Conjugate and Modulus
DemoConjugate and modulus of one number
Step 0 of 5
Select Conjugate (z₁*) to find the complex conjugate. When you click this operation, the second number panel disappears—you only need one input. Enter 3+4i in the first panel. The conjugate flips the sign of the imaginary part: 3−4i. The real part stays the same.
Try negative imaginary parts too. Enter 5−2i and the conjugate becomes 5+2i. For pure imaginary 0+7i, the conjugate is 0−7i. For pure real 8+0i, the conjugate is 8−0i=8. The conjugate is useful for division and finding the modulus squared: z×z∗=∣z∣2.
Modulus (|z₁|) calculates the distance from the origin to your point in the complex plane. Enter 3+4i. The calculator computes 32+42=9+16=25=5. This uses the Pythagorean theorem—the modulus is always a positive real number.
Try 5+12i to get modulus 13 (since 52+122=25+144=169=132). For 1+1i, the modulus is 2≈1.4142. Pure imaginary 0+3i has modulus 3. Pure real 4+0i has modulus 4. Click Show Steps to see the a2+b2 calculation broken down step-by-step. Both operations are explained in understanding conjugate and modulus.
Reading Results and Step-by-Step Solutions
DemoResult, steps and Clear All
Step 0 of 4
After entering your numbers and selecting an operation, the result appears in the Result section at the bottom. For complex number answers, you'll see the formatted output like −10+11i, 3−2i, or 0.44+0.08i. The calculator displays large, bold text in green for successful calculations.
For modulus operations, the result is a single real number like 5.0000 or 13.0000, always with four decimal places. Other decimal results print as they are, such as 0.44+0.08i for a division; a division that does not terminate prints many decimals. With 2+3i and 1+4i, Addition gives 3+7i and Multiplication −10+11i.
Click the green Show Steps button to reveal the step-by-step solution. A white panel expands below the result showing each calculation stage. For addition, you'll see lines like "(3+2i)+(1+4i)", then "=(3+1)+(2+4)i", then "=4+6i". For multiplication, the steps show FOIL expansion, the i2=−1 substitution, and final combination.
The Clear All red button resets everything—both input panels empty, the result disappears, and the interface returns to its initial state. Use this when starting a completely new problem. The result updates automatically as you type new numbers, so you don't need to clear between similar calculations unless you want a fresh start. The FOIL working the steps show is explained in multiplying complex numbers.
Using the Quick Guide Panels
DemoThe operation guide follows your choice
Step 0 of 5
The right side of the calculator contains two helpful guide panels that stay visible as you scroll. The top panel, Complex Numbers Guide, displays general information about complex numbers: the standard form z=a+bi, what real and imaginary parts mean, example numbers, and the key property i2=−1.
This general guide is always visible regardless of which operation you select. Read it first if you're new to complex numbers—it explains the notation and basic concepts you need to understand your calculations. The guide includes bullet points and examples formatted with proper mathematical notation.
Below it, the Operation Guide panel changes based on your selected operation. When you click Addition, it shows the addition formula (a+bi)+(c+di)=(a+c)+(b+d)i, explains how it works, and provides an example. Switch to Multiplication and the panel updates to show FOIL method, the i2=−1 rule, and a multiplication example.
Each operation guide includes the relevant formula, step-by-step explanation of the method, important properties or rules, and at least one worked example. For Division, you'll see the conjugate multiplication technique. For Modulus, you'll see the distance formula ∣z∣=a2+b2. These guides help you understand what the calculator is doing behind the scenes without needing to leave the page. Each guide ends with a link to the section on this page that treats the operation in full; the Power guide describes De Moivre's method, although the button computes nothing yet. The conjugate method of division is explained in dividing complex numbers.
What Are Complex Numbers
Complex numbers extend the real number system by introducing i, the imaginary unit, defined as i=−1 or equivalently i2=−1. This allows us to take square roots of negative numbers and solve equations like x2+1=0, which has no real solutions but has complex solutions x=i and x=−i.
A complex number has the form z=a+bi where a is the real part and b is the imaginary part (both a and b are real numbers). For example, in 3+4i, the real part is 3 and the imaginary part is 4. Don't be confused by the name "imaginary"—these numbers are just as valid as real numbers, just more abstract.
Pure real numbers like 5 can be written as 5+0i (imaginary part is zero). Pure imaginary numbers like 3i can be written as 0+3i (real part is zero). Complex numbers with both parts nonzero, like 2+3i, represent points in the two-dimensional complex plane where the horizontal axis is real and vertical axis is imaginary.
Addition and subtraction treat complex numbers like binomials. Add real parts together and imaginary parts together separately: (3+4i)+(1+2i)=(3+1)+(4i+2i)=4+6i. Subtraction works the same: (5+3i)−(2+1i)=(5−2)+(3i−1i)=3+2i. Think of it as combining like terms.
Multiplication uses the distributive property (FOIL for binomials). Multiply (2+3i)(1+4i) by expanding: 2(1)+2(4i)+3i(1)+3i(4i)=2+8i+3i+12i2. Then substitute i2=−1: 2+11i+12(−1)=2+11i−12=−10+11i. The i2=−1 substitution is crucial.
Division requires the conjugate trick. To divide (a+bi)÷(c+di), multiply both numerator and denominator by the conjugate (c−di): c+dia+bi×c−dic−di. The denominator becomes (c+di)(c−di)=c2+d2, a real number, making the division straightforward.
The conjugatez∗=a−bi flips the imaginary sign. The modulus∣z∣=a2+b2 measures distance from the origin. These concepts connect: z×z∗=∣z∣2. Each operation has its own section above; the four are compared in the four operations side by side and their rules in properties of complex arithmetic.
Adding Complex Numbers
Two complex numbers are added part by part: (a+bi)+(c+di)=(a+c)+(b+d)i. Real parts go with real parts and imaginary parts with imaginary parts, exactly like combining like terms in 3x+2y.
Example: (3+2i)+(1+4i)=(3+1)+(2+4)i=4+6i. With negative parts the same rule holds: (5−3i)+2i=5−i. On the complex plane, addition is vector addition: the arrows for 3+2i and 1+4i placed head to tail end at 4+6i.
Addition is commutative and associative, and 0=0+0i changes nothing. The common mistake is to add a real part to an imaginary part: 3+4i is not 7 or 7i; the two parts stay separate because i is not a real number.
Subtraction is also done part by part: (a+bi)−(c+di)=(a−c)+(b−d)i. It is the same as adding the additive inverse −(c+di)=−c−di.
Example: (5+3i)−(2+i)=(5−2)+(3−1)i=3+2i. The result may have negative parts: (1+i)−(3+4i)=−2−3i, and (1+2i)−(3+4i)=−2−2i. On the plane, z1−z2 is the arrow from the point z2 to the point z1.
Subtraction is not commutative: z2−z1=−(z1−z2). The common mistake is to subtract only the real parts and copy the imaginary part, or to change the sign of the first number instead of the second.
Multiplication expands the product like two binomials and then uses i2=−1: (a+bi)(c+di)=ac+adi+bci+bdi2=(ac−bd)+(ad+bc)i.
Example: (2+3i)(1+4i)=2+8i+3i+12i2=2+11i−12=−10+11i. Another: (1+2i)(3+4i)=3+4i+6i+8i2=−5+10i. A number times its conjugate is real: (2−3i)(2+3i)=4−9i2=13.
Geometrically, multiplying by z scales by ∣z∣ and rotates by the angle of z; multiplying by i alone is a quarter turn, since i⋅1=i and i⋅i=−1. The common mistake is to forget that i2=−1 and leave 12i2 as a term, or to multiply only the real parts and only the imaginary parts.
To divide, multiply the numerator and the denominator by the conjugate of the denominator, which makes the denominator a real number: c+dia+bi=c2+d2(a+bi)(c−di).
Division by 0+0i is impossible, as for real numbers; the calculator reports Division by zero. The quotient z1/z2 can also be written z1⋅z2−1, where z2−1=z2ˉ/∣z2∣2 is the multiplicative inverse. The common mistake is to divide the real parts and the imaginary parts separately: 3+4i1+2i is not 31+42i.
The conjugate of a complex number z=a+bi is written zˉ or z∗ and equals a−bi. To find it, keep the real part the same and flip the sign of the imaginary part. The conjugate of 3+4i is 3−4i. The conjugate of 2−5i is 2+5i. For pure real 7+0i, the conjugate is 7−0i=7.
Conjugates are essential for division: multiplying by a conjugate eliminates the imaginary part in the denominator. They also satisfy z×zˉ=a2+b2, a real number. For 3+4i: (3+4i)(3−4i)=9−16i2=9+16=25. This equals ∣z∣2.
The modulus∣z∣=a2+b2 represents the distance from the origin (0,0) to the point (a,b) in the complex plane. For 3+4i, plot the point (3,4) and measure its distance from origin: 32+42=25=5. This is the Pythagorean theorem.
The modulus is always non-negative (zero or positive). For 0+0i, the modulus is 0. For all other complex numbers, it's positive. The modulus has useful properties: ∣z1×z2∣=∣z1∣×∣z2∣ and ∣z1÷z2∣=∣z1∣÷∣z2∣. The link between the two is proved in conjugate and modulus and the modulus rules in properties of modulus.
The Complex Conjugate
The conjugate of z=a+bi is zˉ=a−bi: the real part stays, the imaginary part changes sign. The conjugate of 3+4i is 3−4i, of 5−2i is 5+2i, and of a real number is the number itself.
On the complex plane the conjugate is the mirror image of z in the real axis. The product of a number and its conjugate is real and equals the squared modulus: (3+4i)(3−4i)=9−16i2=25=∣3+4i∣2. The sum z+zˉ=2a is real as well, and the difference z−zˉ=2bi is pure imaginary.
Conjugates make division possible, and the roots of a real polynomial come in conjugate pairs: if 2+3i solves x2−4x+13=0, so does 2−3i. The common mistake is to change both signs, which gives −z, the additive inverse, not the conjugate.
The modulus ∣z∣ of z=a+bi is its distance from the origin on the complex plane, ∣z∣=a2+b2, by the Pythagorean theorem applied to the point (a,b).
Examples: ∣3+4i∣=9+16=5, ∣5+12i∣=25+144=13, ∣1+i∣=2≈1.4142, and ∣−3i∣=3. The modulus of a real number is its absolute value, so the modulus extends the absolute value to the plane.
The modulus respects products and quotients, ∣z1z2∣=∣z1∣∣z2∣ and ∣z1/z2∣=∣z1∣/∣z2∣, but not sums: ∣z1+z2∣≤∣z1∣+∣z2∣, the triangle inequality. It is linked to the conjugate by zzˉ=∣z∣2. The common mistake is to compute a+b or a2+b2 without the square root: ∣3+4i∣ is 5, not 7 or 25.
A positive whole power is repeated multiplication: (1+i)2=1+2i+i2=2i, and (1+i)4=(2i)2=4i2=−4.
For larger exponents, De Moivre's theorem is quicker. Write z in trigonometric form, z=r(cosθ+isinθ) with r=∣z∣; then zn=rn(cosnθ+isinnθ). For 1+i: r=2 and θ=45∘, so (1+i)4=(2)4(cos180∘+isin180∘)=4⋅(−1)=−4, as before. The modulus is raised to the power and the angle is multiplied by it.
The Power button computes z1n for a whole number n from −100 to 100: the second box becomes the exponent, and the steps show the polar form and De Moivre's formula; for 1+i and n=4 the result is −4. A fractional exponent is refused with a message. The common mistake is to raise the real part and the imaginary part separately: (1+i)2 is not 1+i2=0.
Quadratic Equation Solver - Solve equations like x2+1=0 that have complex solutions. When the discriminant is negative, the roots are complex numbers. Use the complex calculator to verify and work with these solutions.
Polynomial Calculator - Factor and solve polynomials with complex roots. Every polynomial can be factored into linear factors over the complex numbers, following the Fundamental Theorem of Algebra.
Trigonometry Calculator - Complex numbers connect deeply with trigonometry through Euler's formula: eiθ=cosθ+isinθ. This links exponential, trigonometric, and complex functions.
Matrix Calculator - Matrices can have complex number entries. Use complex arithmetic for eigenvalues, eigenvectors, and matrix operations in quantum mechanics and signal processing.
Vector Calculator - Complex numbers can be viewed as two-dimensional vectors. Addition works like vector addition, and the modulus is the vector magnitude.
For theoretical background, explore complex number theory, complex plane visualization, polar form of complex numbers, De Moivre's theorem, Euler's formula, and applications in engineering and physics.