Contact

SQRTPI Function (OpenOffice Calc)

Math Intermediate OpenOffice Calc

Learn the SQRTPI function in Apache OpenOffice Calc: Returns the square root of a number which has been multiplied by pi.

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

Availability and version history

  • Introduced: Documented by Apache OpenOffice 4.1.16; original introduction not established.
  • Availability: Supported in Apache OpenOffice 4.1.16, 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.

SQRTPI calculates the nonnegative square root of pi multiplied by a number: sqrt(pi*x). It is not pi times sqrt(x), and it is not the square root of x divided by pi. The pinned Analysis add-in implementation multiplies by its pi constant, applies square root and rejects a non-finite result.

Syntax and arguments

=SQRTPI(number)

One numeric argument is required. For real-valued results use number>=0; zero gives zero. Negative input does not have a real square root under this function. The inspected finite-result macro throws an illegal-argument exception for a non-finite result, but the native worksheet error display was not executed. Examples use English function names and semicolon argument separators.

Reproducible examples

Formula Expected result
=ROUND(SQRTPI(1);4) 1.7725
=SQRTPI(0) 0
=ROUND(SQRTPI(2);6) 2.506628
=ROUND(SQRTPI(4);6) 3.544908
=ROUND(SQRTPI(9);6) 5.317362
=ROUND(SQRTPI(0.25);6) 0.886227

The first formula preserves the original example and result. Its historical comparable LibreOffice 25.2 check was not an OpenOffice test. New values are independently checked reference expectations; no fresh native application or GUI result is claimed. Quoted results indicate text, including "" for zero-length text.

Practical worksheet: derive a circle circumference from its area

Enter circle areas 1, 4 and 9 in A2:A4, all in the same squared unit. In B2 enter =2*SQRTPI(A2) and fill down. Rounded to four decimals, the circumferences are 3.5449, 7.0898 and 10.6347 in the corresponding length unit. The relation follows from A=pir^2 and C=2pir, hence C=2sqrt(pi*A).

Do not label these results as radii. To derive a radius from area, the expression is SQRT(A2/PI()), which divides by pi before the root. Retain unit labels and the original areas so the meaning of the transformation is explicit.

Advanced applications

Check square scaling. SQRTPI(4x) equals 2SQRTPI(x) mathematically for x>=0. For x=1, the rounded values 3.544908 and twice 1.772454 are consistent at the stated display precision. Compare unrounded calculations with an appropriate tolerance rather than forcing an exact floating-point equality.

Recover the defining product. SQRTPI(x)^2 is mathematically pi*x. With x=2, the target is approximately 6.2831853072. This provides a useful magnitude check but does not prove that squaring a rounded displayed result will restore every digit of the input product.

Use a known radius control. For radius 3, the area is 9PI(). Applying 2SQRTPI to that area gives a circumference mathematically equal to 6*PI(), approximately 18.8496. This round trip checks both the formula arrangement and units.

Errors, edge cases and troubleshooting

Negative input belongs outside the real domain of SQRTPI. Do not silently take its absolute value unless the underlying problem explicitly calls for that transformation. A negative area may reveal an upstream data issue rather than a request for a positive square root.

Very large positive inputs can overflow in the intermediate multiplication by pi before the square root is taken. The mathematical result alone is therefore not a guarantee that the direct implementation can evaluate every magnitude. No extreme-value native test or universal overflow threshold is claimed.

SQRTPI is supplied by the Analysis add-in implementation recorded in the lifecycle evidence. Its numeric result is not a formatted unit-bearing quantity. Formatting controls decimal display but does not change the formula’s grouping. Text/blank coercion, locale-specific entry and imported array behavior are not certified by these scalar calculations. Preserve enough precision for later arithmetic, and apply rounding only at the stage required by the task.

Documentation and verification

See the Apache OpenOffice SQRTPI reference, 4.1.16 math help, core numeric predicates and aggregation, Roman conversion, and Analysis callbacks. The original core/help/Analysis snapshots were retrieved October 13, 2026 and re-read for this guide. The rounding wrapper, rounding implementation and Analysis headers were newly retrieved October 15, 2026; those separate records support the default corrected mode and finite-result checks. First introduction and final functioning version remain unknown, separate from documented 4.1.16 support. Source rules and independent arithmetic are not native tests.