ATAN in Collabora Office: Convert a Slope Ratio into a Principal Angle
Use inverse tangent in Collabora Office for slope ratios, degree output and quadrant-aware alternatives.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Quick answer: ATAN returns the principal angle whose tangent is the supplied ratio. The result is in radians, between −π/2 and π/2. =DEGREES(ATAN(1)) is expected to return approximately 45 degrees.
Availability and version history
- Introduced: documented in Collabora Office 26.04 Help; the original introduction version is not established by the reviewed history.
- Availability: the official ATAN reference documents support in Calc’s 26.04 desktop manual.
- Scope: this evidence does not establish identical behavior in Collabora Online, mobile clients or older releases.
- Checked: October 14, 2026 against the captured 26.04 manual. Examples were calculated independently; no native Collabora execution was performed.
Syntax and interpretation
=ATAN(number)
The input is a tangent ratio, such as signed rise divided by horizontal run. It is not an angle measured in degrees. Finite real inputs have principal angles strictly between −90 and +90 degrees.
Use =DEGREES(ATAN(A2)) when the report needs a degree value. The official help states the principal interval and the radian output; adding DEGREES is an explicit unit conversion.
Example 1: test simple ratios
Enter −1, 0, 0.25, 0.5, 1 in A2:A6. In B2 enter and fill down:
=DEGREES(ATAN(A2))
Expected B2:B6: approximately −45, 0, 14.036243468, 26.565051177, 45 degrees.
Without the conversion, =ATAN(1) is approximately 0.785398163, which is Ï€/4 radians. A value of about 0.785 is not a wrong answer to a 45-degree question if the formula’s output unit was radians.
Example 2: distinguish percent slope from angle
For a mathematical rise of 3 units over a positive horizontal run of 12 units:
=3/12
=DEGREES(ATAN(3/12))
Expected results: 0.25 and approximately 14.036243468 degrees. The ratio can be formatted as 25%, but that does not make the angle 25 degrees.
These are illustrative geometry values, not a construction recommendation. Keep rise and run in the same unit, and specify the sign convention before applying the ratio to measured data.
Example 3: negative and large ratios
=DEGREES(ATAN(-0.5))
=DEGREES(ATAN(100))
Expected results: approximately −26.565051177 and 89.427061302 degrees. A large finite ratio approaches a vertical direction but does not equal 90 degrees mathematically.
The function is not limited to input ratios between −1 and 1. That is an inverse-sine or inverse-cosine restriction, not an ATAN restriction. Use the documented function that matches the actual ratio.
Advanced example: retain the slope sign in a helper table
Enter rises 3, 0, −3 in D2:D4 and a common positive run 12 in F1. In E2 enter and fill down:
=DEGREES(ATAN(D2/$F$1))
Expected E2:E4: approximately 14.036243468, 0, −14.036243468 degrees. The absolute reference keeps the run fixed while the signed rise changes.
If F1 is zero, the division fails before ATAN has a valid ratio. Do not interpret that as evidence that inverse tangent cannot describe a vertical direction; use a coordinate-aware formulation instead.
Advanced example: see the quadrant information lost by division
Both coordinate pairs (4,4) and (−4,−4) have y/x = 1. Applying ATAN to either ratio returns a principal angle of about 45 degrees.
=DEGREES(ATAN(4/4))
=DEGREES(ATAN((-4)/(-4)))
Both expected results are 45. Yet the second point lies in the opposite direction. In Collabora’s x-first syntax:
=DEGREES(ATAN2(-4;-4))
Expected result: approximately −135 degrees. ATAN2 uses the two signed coordinates separately. Do not copy a programming-language atan2 argument order without checking it.
Inverse checks and precision
=TAN(ATAN(0.25)) is expected to return approximately 0.25. That composition verifies the mathematical direction inside a simple example; it does not establish that a measured rise/run pair was accurate.
ATAN(TAN(angle)) need not restore an angle outside the principal interval, because tangent repeats every π radians. A repeated ratio has several possible original angles.
Preserve enough precision in the ratio, label radian and degree columns distinctly and test a positive, zero and negative input. Use TAN for angle-to-ratio conversion rather than exchanging the two function names.
References and verification
- Collabora Office 26.04 Help: ATAN — direct product-specific definition and syntax.
- Editorial testing standards.
The examples use semicolon argument separators. Displayed decimals are rounded expected values, not exact native outputs. Mathematical identities are explanatory calculations; product support is limited to the cited documentation scope.