---
name: "acos"
type: command
status: ok
groups: ["Math - Geometry"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/acos
revid: 378425
updated: 2026-04-06T21:06:04Z
---

# acos

*Command · Math - Geometry · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

## Description

ArcCosine of a number, result in [Degrees](../topics/Number.md#degrees)

## Syntax

```sqf
acos x
```

**Parameters:**

- `x`: [Number](../topics/Number.md) in range -1..+1 - any other value returns [NaN](../topics/NaN.md)

**Returns:** [Number](../topics/Number.md)

## Examples

### Example 1

```sqf
_degrees = acos 0.5; // Returns 60
```

## See also

[atan](../commands/atan.md) · [asin](../commands/asin.md) · [sin](../commands/sin.md) · [cos](../commands/cos.md) · [tan](../commands/tan.md)

<sub>Source: [BI Community Wiki — acos](https://community.bistudio.com/wiki/acos) (revision 378425).</sub>
