Contact

Zoho Sheet IMABS: Find a Complex Number Magnitude

Complex Intermediate Zoho Sheet

Learn IMABS magnitude calculation, exact syntax, documented examples, numeric audits and common troubleshooting.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer. =IMABS("2+3j") returns approximately 3.605551275, the magnitude of the complex number. Magnitude is the distance from zero in the complex plane and is always nonnegative.

Availability and version history

  • Introduced: The original introduction version and date are not established by the checked sources.
  • Availability: Currently documented in Zoho Sheet’s rolling web-service help; no numbered release or retirement endpoint is established.
  • Scope: English-language web-service documentation. Mobile and offline-client parity is outside the verified scope.
  • Checked: October 14, 2026, against the official IMABS reference. Documentation and independent numerical checks; no native Zoho Sheet test.

Syntax and the magnitude formula

=IMABS(complex_number)

The required argument is text representing a complex number, either a quoted literal or a cell reference. Zoho documents both i and j examples. There is no optional precision, sign or unit argument.

For z=a+bi, the magnitude is (a²+b²)^0.5. Both coefficients contribute. IMABS therefore differs from ABS applied only to the real coefficient or only to the imaginary coefficient. It also differs from a phase angle: a length and an angle measure different properties of the same complex value.

Worksheet: calculate four magnitudes

Create a new sheet named Magnitudes. Enter Complex number and Magnitude in A1:B1. Put these strings in A2:A5 as text without enclosing quotation marks. Enter =IMABS(A2) in B2 and fill through B5.

Row A: Complex number Expected B, rounded to 9 decimals Basis
2 2+3j 3.605551275 √13; Zoho’s published example
3 1-4i 4.123105626 √17; Zoho’s published example
4 5j 5 Zoho’s published example
5 3+4i 5 √(9+16)

Enter =IMABS("2+3j") in D2 as a direct literal control. More displayed digits do not change the underlying mathematical target: √13 is about 3.605551275463989, while √17 is about 4.123105625617661. The table’s rounded decimal strings are not a promised cell-display format.

Why the components are not substitutes

On Magnitudes, enter Real, Imaginary and Component squares in E1:G1. Put =IMREAL(A2) in E2, =IMAGINARY(A2) in F2 and =E2^2+F2^2 in G2. Fill E2:G2 through row 5.

Row Expected E Expected F Expected G
2 2 3 13
3 1 -4 17
4 0 5 25
5 3 4 25

G should match the square of B mathematically. The pure imaginary row happens to have magnitude equal to the size of its imaginary coefficient. Testing only that row could hide a mistaken formula. The 3+4i row is a clearer control because neither component equals the magnitude.

Advanced: compare measured impedance levels

Create a separate sheet named Measurements so the first dataset is preserved. Enter Real input, Imaginary input, Complex, Magnitude, Arithmetic magnitude, Relative magnitude and Unit in A1:G1. Enter these numeric pairs in A2:B4, and put the text ohms in G2:G4:

Row A B
2 3 4
3 3 -4
4 6 8

Enter C2 =COMPLEX(A2;B2;"j"), D2 =IMABS(C2), E2 =(A2^2+B2^2)^0.5 and F2 =D2/$D$2. Fill C2:F2 through row 4.

Expected D and E values are 5, 5, 10. The relative magnitudes in F are 1, 1, 2. The dollar signs keep every ratio tied to D2, the baseline magnitude of 5. Without them, a copied denominator could move to a different row and change the meaning of the comparison.

The first two measurements have equal magnitude despite opposite imaginary signs. The third has twice the baseline magnitude. Keep the components visible if sign or direction matters; magnitude alone cannot distinguish the first two observations.

The model supplies the physical interpretation and units. A complex-number function does not verify that its inputs actually describe impedance or that all rows use compatible units.

Zero baselines and sensible comparisons

The ratio example uses a nonzero baseline. If the baseline magnitude is zero in your own data, there is no defined relative ratio to compute. Diagnose that case before dividing rather than replacing it with a plausible-looking number. This is a mathematical restriction on the ratio; the IMABS reference does not establish every downstream division error.

For a separate check of the advanced example, put =D4/D2 in I2 and =D4-D2 in I3. Expected results are 2 and 5, respectively. A ratio is unitless; the difference retains the measurement unit. Label the report accordingly.

For decimal data, compare IMABS(z)^2 against the sum of the extracted component squares using a tolerance appropriate to the scale. Exact equality of displayed text can fail simply because formatting rounds one result differently.

Troubleshooting and boundaries

  • A negative result: Mathematical magnitude cannot be negative. Inspect whether the formula uses a signed component or adds a minus sign outside IMABS.
  • Invalid type: Zoho lists invalid arguments under #VALUE!; inspect raw strings and appended labels. The page does not publish a complete grammar for unusual complex text.
  • Formula/reference errors: Check quoted literals, spelling and deleted references when diagnosing the listed #NAME! and #REF! categories.
  • Precision: The help’s rounded examples do not establish an exact internal precision limit. Display formatting and numeric value are different things.

The semicolons in the construction formula follow Zoho’s English documentation. Retain raw inputs and numeric checks after importing or exporting a workbook; identical function names do not guarantee identical string parsing in every editor.

COMPLEX builds a complex value; IMREAL and IMAGINARY recover its components. IMARGUMENT returns its angle rather than its length.

Official references: IMABS, COMPLEX, IMREAL and IMAGINARY.