Complex Number Calculator
Calculate complex number operations with step-by-step formulas. Enter real and imaginary parts to get started.
Result
Calculation History
- Your calculations will appear here.
Note: The argument is displayed in degrees. The principal argument lies between −180° and 180°. Division and reciprocal operations are undefined when their denominator is zero.
A Complex Number Calculator is an online mathematical tool that helps you perform calculations involving complex numbers quickly and accurately. It can be used to add, subtract, multiply, and divide complex numbers, as well as calculate their modulus, conjugate, argument, reciprocal, and polar form. Instead of solving every problem manually, you can enter the real and imaginary parts of a complex number and obtain the result in seconds.
Complex numbers are an important part of mathematics and are widely used in algebra, engineering, physics, electrical circuits, signal processing, and other scientific fields. Understanding how to work with them makes it easier to solve advanced mathematical problems.
This Complex Number Calculator is designed for students, teachers, engineers, and anyone who wants to perform complex number calculations online. It provides a simple way to check answers, understand mathematical operations, and practice complex number problems.
What Is a Complex Number Calculator?
A Complex Number Calculator is an online tool designed to solve mathematical problems involving complex numbers. A complex number contains two parts: a real part and an imaginary part.
A complex number is generally written in the following form:
z = a + bi
Here:
z represents the complex number.
a represents the real part.
b represents the imaginary coefficient.
i represents the imaginary unit, where i² = −1.
For example, consider the complex number 3 + 2i. In this number, 3 is the real part, 2 is the imaginary coefficient, and i is the imaginary unit.
The calculator allows you to enter the real and imaginary parts of one or two complex numbers, select an operation, and calculate the result. Depending on the selected operation, it can provide the answer in rectangular form, calculate the modulus or argument, or express a number in polar form.
Using an online calculator is particularly helpful when calculations involve negative numbers, decimal values, or several arithmetic steps.
What Can You Calculate With This Tool?
The Complex Number Calculator supports several commonly used operations.
1. Addition of Complex Numbers
Adding complex numbers involves adding their real parts together and their imaginary coefficients together.
Suppose two complex numbers are:
z₁ = 3 + 2i
z₂ = 1 + 4i
The addition formula is:
z₁ + z₂ = (a + c) + (b + d)i
Substituting the values:
z₁ + z₂ = (3 + 1) + (2 + 4)i
Therefore:
z₁ + z₂ = 4 + 6i
The calculator performs these steps automatically and displays the resulting complex number.
2. Subtraction of Complex Numbers
Subtraction follows a similar process, but the second complex number is subtracted from the first.
The general formula is:
z₁ − z₂ = (a − c) + (b − d)i
For example:
z₁ = 5 + 7i
z₂ = 2 + 3i
Subtract the real parts and imaginary coefficients separately:
z₁ − z₂ = (5 − 2) + (7 − 3)i
The result is:
z₁ − z₂ = 3 + 4i
This operation is useful for simplifying complex expressions and checking algebraic calculations.
3. Multiplication of Complex Numbers
Multiplying complex numbers requires the distributive property of multiplication. The important rule is that i² = −1.
The formula for multiplication is:
z₁ × z₂ = (ac − bd) + (ad + bc)i
For example:
z₁ = 3 + 2i
z₂ = 1 + 4i
Multiply the two expressions:
(3 + 2i)(1 + 4i)
Expand the expression:
= 3 + 12i + 2i + 8i²
Since i² = −1:
= 3 + 14i − 8
Combine the real and imaginary parts:
z₁ × z₂ = −5 + 14i
The calculator applies the same formula to produce the result without requiring you to expand the expression manually.
4. Division of Complex Numbers
Dividing complex numbers generally involves multiplying the numerator and denominator by the conjugate of the denominator. This removes the imaginary part from the denominator.
The formula is:
z₁ / z₂ = [(ac + bd) + (bc − ad)i] / (c² + d²)
Consider the following example:
z₁ = 3 + 2i
z₂ = 1 + i
The conjugate of the denominator is 1 − i.
Multiply the numerator and denominator by 1 − i:
(3 + 2i)(1 − i) / [(1 + i)(1 − i)]
Simplifying the numerator gives 5 − i, while the denominator becomes 2.
Therefore:
z₁ / z₂ = 2.5 − 0.5i
The calculator uses the division formula to calculate the real and imaginary parts directly. Division by zero is undefined, so the second complex number cannot have both its real and imaginary parts equal to zero.
Additional Complex Number Calculations
Beyond basic arithmetic, complex numbers have several useful properties that can be calculated with this tool.
5. Modulus of a Complex Number
The modulus represents the distance of a complex number from the origin on the complex plane. It is always non-negative.
For a complex number z = a + bi, the modulus is calculated using:
|z| = √(a² + b²)
For example:
z = 3 + 4i
|z| = √(3² + 4²)
|z| = √(9 + 16)
Therefore:
|z| = 5
The modulus is useful in geometry, vector calculations, electrical engineering, and other mathematical applications.
6. Complex Conjugate
The complex conjugate of a number is obtained by changing the sign of its imaginary part while keeping the real part unchanged.
If:
z = a + bi
Then:
z̅ = a − bi
For example, the conjugate of 4 + 3i is 4 − 3i.
Similarly, the conjugate of 5 − 2i is 5 + 2i.
Complex conjugates are especially useful when dividing complex numbers, calculating magnitudes, and simplifying expressions involving imaginary quantities.
7. Argument of a Complex Number
The argument of a complex number is the angle between the positive real axis and the line joining the origin to the corresponding point on the complex plane.
It is commonly represented by θ.
For a nonzero complex number:
z = a + bi
The principal argument can be calculated using:
θ = atan2(b, a)
The calculator expresses the argument in degrees.
For example, consider:
z = 1 + i
Both the real part and the imaginary coefficient are equal to 1. Therefore, the principal argument is:
θ = 45°
The argument depends on the position of the complex number in the complex plane. Using both coordinates, as in the atan2 function, helps determine the correct quadrant.
The argument of zero is undefined because the complex number 0 + 0i has no direction from the origin.
8. Polar Form of a Complex Number
A complex number can be expressed in rectangular form or polar form.
The rectangular form is:
z = a + bi
The polar form is:
z = r(cos θ + i sin θ)
Here, r represents the modulus and θ represents the argument of the complex number.
Consider:
z = 3 + 4i
The modulus is:
r = √(3² + 4²) = 5
The argument is approximately:
θ = 53.13°
Therefore, the polar form is approximately:
z = 5(cos 53.13° + i sin 53.13°)
Polar form is particularly useful for multiplication, division, powers, and roots of complex numbers.
9. Square of a Complex Number
The square of a complex number is obtained by multiplying the number by itself.
For z = a + bi, the formula is:
z² = (a² − b²) + 2abi
For example:
z = 2 + 3i
z² = (2 + 3i)²
Expand the expression:
z² = 4 + 12i + 9i²
Since i² = −1:
z² = 4 + 12i − 9
Therefore:
z² = −5 + 12i
The calculator uses this formula to calculate the square of the first complex number.
10. Reciprocal of a Complex Number
The reciprocal of a nonzero complex number is the number that produces 1 when multiplied by the original number.
For z = a + bi, the reciprocal is:
1/z = (a − bi)/(a² + b²)
For example:
z = 1 + i
1/z = (1 − i)/(1² + 1²)
Therefore:
1/z = (1 − i)/2
The reciprocal is:
1/z = 0.5 − 0.5i
The reciprocal of zero is undefined. The calculator checks for this condition before performing the calculation.
How to Use the Complex Number Calculator
Using this online tool is straightforward. Follow these steps to calculate your answer.
Enter the first complex number: Type its real part into the Real Part field and its imaginary coefficient into the Imaginary Coefficient field.
Enter the second complex number: For operations involving two complex numbers, enter the real part and imaginary coefficient of the second number.
Select an operation: Choose addition, subtraction, multiplication, division, modulus, conjugate, argument, polar form, square, or reciprocal from the operation menu.
Click Calculate: The calculator processes the entered values and displays the result.
Review the formula: The result section displays the relevant mathematical formula and additional information when applicable.
Copy your result: Use the Copy Result button to copy the calculation for notes, assignments, or further mathematical work.
Use additional controls: The Swap Numbers button exchanges the two complex numbers, while Load Example fills the fields with sample values. The Reset button clears the input fields, and Clear History removes the saved calculation history.
For modulus, conjugate, argument, polar form, square, and reciprocal calculations, the tool uses the first complex number. The second number is primarily needed for addition, subtraction, multiplication, and division.
Understanding the Calculator’s Input Fields
The calculator uses four numerical inputs to represent two complex numbers.
| Input | Meaning |
|---|---|
| Real part (a) | Real component of the first complex number |
| Imaginary coefficient (b) | Coefficient of i in the first complex number |
| Real part (c) | Real component of the second complex number |
| Imaginary coefficient (d) | Coefficient of i in the second complex number |
For example, to enter 6 − 3i, type 6 in the real part field and −3 in the imaginary coefficient field.
You should enter the coefficient of i, not the complete imaginary term. If the complex number is 6 − 3i, enter −3 rather than −3i.
The imaginary unit i is automatically included when the calculator displays the final answer.
Applications of Complex Numbers
Complex numbers are used in many areas of mathematics, science, and engineering.
Mathematics and Algebra
Complex numbers help solve polynomial equations that do not have real solutions. They also play an important role in algebra, trigonometry, and advanced mathematical analysis.
Electrical Engineering
Complex numbers are frequently used to represent alternating current (AC) circuits. They help engineers work with impedance, voltage, current, and phase relationships.
Physics
Complex numbers appear in wave equations, oscillations, quantum mechanics, and other areas of theoretical and applied physics.
Signal Processing
Engineers use complex numbers in Fourier analysis, digital signal processing, and frequency-domain calculations. These methods help analyze audio, communication signals, and other types of data.
Control Systems
Complex numbers are useful for analyzing system stability, oscillations, and the behaviour of dynamic systems. They help engineers study poles, zeros, and frequency responses.
These applications demonstrate why learning complex number operations is valuable for students and professionals working with mathematics and technical subjects.
Benefits of Using an Online Complex Number Calculator
An online calculator makes complex number calculations more convenient and accessible.
Saves time: The tool performs arithmetic operations quickly, reducing the need for repetitive manual calculations.
Helps check answers: Students can compare their manually calculated results with the calculator’s output to identify mistakes.
Supports multiple operations: Addition, subtraction, multiplication, division, modulus, conjugate, argument, polar form, square, and reciprocal calculations are available in one place.
Reduces arithmetic errors: Automatic calculations help avoid common mistakes when handling negative values, imaginary coefficients, and multiplication formulas.
Works on mobile devices: The responsive layout adjusts to smaller screens, allowing users to calculate complex numbers on smartphones, tablets, and desktop computers.
Useful for learning: Displayed formulas help users connect the numerical result with the mathematical rule used to obtain it.
No additional software required: The calculator runs directly in a compatible web browser.
Although the calculator can help verify results, understanding the formulas remains important. Students should use the tool to support learning rather than replace the process of studying mathematical concepts.
Important Notes When Calculating Complex Numbers
For accurate results, keep a few mathematical rules in mind.
First, remember that i² = −1. This rule is essential when multiplying or squaring complex numbers.
Second, distinguish between the imaginary part and the imaginary coefficient. In 4 + 7i, the imaginary coefficient is 7, while the imaginary term is 7i.
Third, division is only defined when the denominator is a nonzero complex number. If both components of the second complex number are zero, division cannot be performed.
Fourth, the modulus is always zero or positive. It represents a distance and therefore cannot be negative.
Finally, the argument is an angle, and different conventions may express it in degrees or radians. This calculator displays arguments in degrees and uses the principal argument convention. Small rounding differences may occur when numerical results contain decimal values.
Conclusion
The Complex Number Calculator is a useful online tool for performing essential complex number calculations quickly and conveniently. It supports addition, subtraction, multiplication, division, modulus, conjugate, argument, polar form, square, and reciprocal operations.
By entering the real and imaginary coefficients, users can obtain results without manually repeating every arithmetic step. The displayed formulas also make it easier to understand how each calculation works.
Whether you are learning complex numbers for the first time, preparing for examinations, checking algebraic answers, or solving engineering problems, this calculator provides a practical way to work with complex numbers. For the best learning experience, combine its results with a clear understanding of the mathematical formulas and rules behind each operation.
FAQs
1. What is a Complex Number Calculator?
A Complex Number Calculator is an online mathematical tool used to perform calculations involving complex numbers. It can add, subtract, multiply, and divide complex numbers, as well as calculate their modulus, conjugate, argument, reciprocal, square, and polar form. Users enter the real and imaginary coefficients of one or two complex numbers and select the required operation. The calculator processes the values and displays the result. It is useful for students, teachers, engineers, and anyone studying mathematics. It also helps verify manually calculated answers and understand the formulas used in complex number operations.
2. How do you calculate complex numbers?
To calculate complex numbers, first identify their real and imaginary parts. A complex number is generally written as z = a + bi, where a is the real part, b is the imaginary coefficient, and i is the imaginary unit. For addition and subtraction, operate on the real parts and imaginary coefficients separately. Multiplication requires expansion and the rule i² = −1. Division usually involves multiplying by the conjugate of the denominator. An online Complex Number Calculator simplifies these processes by applying the appropriate formula automatically and displaying the result.
3. What is the formula for adding complex numbers?
The formula for adding two complex numbers is z₁ + z₂ = (a + c) + (b + d)i. Here, z₁ = a + bi and z₂ = c + di. To add them, combine their real parts and then combine their imaginary coefficients. For example, adding 3 + 2i and 1 + 4i gives (3 + 1) + (2 + 4)i, which equals 4 + 6i. The Complex Number Calculator performs this calculation automatically, making it easier to solve problems and check answers involving positive or negative real and imaginary values.
4. How do you multiply two complex numbers?
To multiply two complex numbers, use the distributive property and remember that i² = −1. The general formula is (a + bi)(c + di) = (ac − bd) + (ad + bc)i. For example, multiplying 3 + 2i by 1 + 4i gives 3 + 12i + 2i + 8i². Replacing i² with −1 and simplifying produces −5 + 14i. A Complex Number Calculator applies this formula automatically. It is particularly useful when the numbers contain negative values or decimals, which can make manual calculations more challenging.
5. How do you divide complex numbers?
Dividing complex numbers involves multiplying the numerator and denominator by the conjugate of the denominator. For z₁ = a + bi and z₂ = c + di, the result is [(ac + bd) + (bc − ad)i] / (c² + d²). The denominator becomes a real number after simplification. For example, (3 + 2i) / (1 + i) equals 2.5 + 0.5i. Division is undefined when the second complex number is zero, meaning both its real and imaginary components are zero. The calculator checks for this condition before performing the operation.
6. What is the modulus of a complex number?
The modulus of a complex number represents its distance from the origin on the complex plane. For z = a + bi, the formula is |z| = √(a² + b²). For example, the modulus of 3 + 4i is √(3² + 4²), which equals 5. The modulus is always non-negative because it represents a distance. It is widely used in mathematics, physics, electrical engineering, and signal processing. A Complex Number Calculator determines the modulus automatically by using the real part and imaginary coefficient of the selected complex number.
7. What is the conjugate of a complex number?
The complex conjugate is obtained by changing the sign of the imaginary part while leaving the real part unchanged. If z = a + bi, its conjugate is z̅ = a − bi. For example, the conjugate of 5 + 3i is 5 − 3i, while the conjugate of 2 − 7i is 2 + 7i. Complex conjugates are useful when dividing complex numbers, calculating magnitudes, and simplifying mathematical expressions. The Complex Number Calculator calculates the conjugate automatically, helping users understand this important property without performing the sign change manually.
8. What is the argument of a complex number?
The argument of a complex number is the angle between the positive real axis and the line connecting the origin to the number’s position on the complex plane. It is commonly represented by θ. For a nonzero complex number z = a + bi, the argument can be calculated using θ = atan2(b, a). For example, the argument of 1 + i is 45 degrees. The Complex Number Calculator displays the principal argument in degrees, generally between −180° and 180°. The argument of zero is undefined because zero has no direction from the origin.
9. What is the difference between rectangular form and polar form?
Rectangular form expresses a complex number as z = a + bi, using its real and imaginary components. Polar form expresses the same number as z = r(cos θ + i sin θ), where r is the modulus and θ is the argument. For example, 3 + 4i has a modulus of 5 and an argument of approximately 53.13 degrees. Its polar form is approximately 5(cos 53.13° + i sin 53.13°). Rectangular form is convenient for addition and subtraction, while polar form is often useful for multiplication, division, powers, and roots of complex numbers.
10. Who can use a Complex Number Calculator?
A Complex Number Calculator can be used by students, teachers, engineers, researchers, and anyone learning complex number mathematics. Students can use it to practise algebra and verify homework answers, while teachers can demonstrate different complex number operations. Engineering students may find it useful when studying alternating current circuits, impedance, and signal processing. Researchers can also use complex number calculations in physics and applied mathematics. The tool is accessible through a web browser and can be used on mobile phones, tablets, and computers. For effective learning, users should also understand the mathematical formulas behind the calculated results.

















