Contact

IMCONJUGATE Function in LibreOffice Calc — Tested Examples

Engineering Beginner LibreOffice Calc

Find complex conjugates in LibreOffice Calc. Use i or j text, check negative and pure-real inputs, and recover squared magnitude with a conjugate product.

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

Quick answer: IMCONJUGATE leaves the real coefficient unchanged and reverses the imaginary coefficient’s sign. The result is complex-number text.

Availability and version history

  • Introduced: Documented by LibreOffice 26.8.1.1; original introduction not established.
  • Availability: Supported in LibreOffice 26.8.1.1, verified against its function registry. This identifies a supported release, not a final working version.
  • Scope: Desktop Calc, using the English function name. Availability in other spreadsheet applications is separate.
  • Checked: 2026-10-14 — function reference; versioned support. Documentation/source check; not a new native test. Existing example-specific test claims below retain their stated scope.

Returns the complex conjugate of a complex number. The complex conjugate leaves the real component unchanged and negates the imaginary one: 3+4i becomes 3−4i.

Syntax and arguments

=IMCONJUGATE(Complex_number)

LibreOffice Calc formulas generally separate arguments with semicolons (;).

Argument Explanation
Complex number Required complex-number text or a reference containing it; for example, “5-12j”.

Worked examples

Example 1: Flip the sign of the imaginary part

=IMCONJUGATE("3+4i")

Expected result: 3-4i. This value was returned in the LibreOffice Calc 25.2 test.

Example 2: Conjugate a complex value with negative imaginary component

=IMCONJUGATE("2-3i")

Expected result: 2+3i. This value was returned in the LibreOffice Calc 25.2 test.

How to interpret the result

The complex conjugate leaves the real component unchanged and negates the imaginary one: 3+4i becomes 3−4i.

Mistakes and troubleshooting

  • Check inputs and assumptions: Use a supported text representation such as “3+4i”; arbitrary strings are not valid complex numbers.
  • Check argument order and format: Strings go in quotes, cell references do not. Functions that return arrays may require special entry.
  • Verify your own data: Reproduce the example first. If your formula returns an error, inspect the referenced cells and individual argument values.

Additional worked application and edge cases

Input representation and output type

The required argument can be a quoted complex literal such as "5-12j" or a reference to a cell containing complex text. The reviewed Calc parser accepts lowercase i and j, a pure imaginary string such as "4i", and pure real text such as "7". The text representation is important: unquoted 5-12j is not a valid ordinary arithmetic expression.

IMCONJUGATE returns complex-number text. Its formatter omits a zero component and can omit a coefficient of 1. Consequently, the conjugate of "1+j" is formatted as 1-j, while the conjugate of "7" is text 7. That string is not a claim that the function’s return type becomes an ordinary numeric scalar.

Stepwise example: review a complex-signal column

Put 5-12j, -3+4j, 4j and 7 as text in A2:A5. In B2 enter =IMCONJUGATE(A2) and copy down.

Input text Independently expected conjugate
5-12j 5+12j
-3+4j -3-4j
4j -4j
7 7, as text

Only the imaginary coefficient changes sign. In particular, the real coefficient -3 remains -3. Negating the whole number would instead change both components and is a different operation.

Advanced application: squared magnitude

With A2 equal to 5-12j, =IMPRODUCT(A2;IMCONJUGATE(A2)) is independently expected to give complex text 169. The imaginary terms cancel and 5²+12²=169. To obtain a numeric scalar for a further ordinary calculation, =IMREAL(IMPRODUCT(A2;IMCONJUGATE(A2))) returns the corresponding number 169.

=IMABS(A2) is expected to give 13. Its square agrees with the real component of the conjugate product. These formulas provide a useful consistency check when preparing a mathematical signal-power quantity; they do not certify the physical units or calibration of real measurements.

Round-trip and error checks

Conjugating twice recovers the original mathematical value: =IMCONJUGATE(IMCONJUGATE(A2)) gives 5-12j for this exact fixture. For other values, compare components with an appropriate numeric tolerance rather than relying on identical string formatting after calculations.

An uppercase suffix such as J is rejected by the inspected parser, as is arbitrary text. Use COMPLEX to assemble valid text from real and imaginary numeric columns. There is no target-unit argument to IMCONJUGATE; the existing lowercase imaginary-unit notation is retained by the source implementation.

Very large components can exceed numeric limits in downstream products even though a conjugate itself only changes a sign. Keep the input representation and the operation that failed separate during troubleshooting.

Verification scope for this addition: These added results were independently calculated or derived from the cited documentation/source. They were not newly tested in LibreOffice Calc. The original example-specific Calc 25.2.3.2 claims elsewhere on this page remain historical and apply only to those original examples. The cited 26.8.1.1 source tag is a code reference, not a claim of a new run in that release.

COUNT · AVERAGE · SUM

Tested version and primary reference

2 example(s) on this page passed real calculations in LibreOffice Calc 25.2.3.2. This is not a claim about every possible input or other spreadsheet applications.

Detailed reference checked October 17, 2026