SQL Flow Field Guide

ACOS

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

math

What changes

Input
numeric arguments
Output or change
numeric value
Return type
float

Syntax at a glance

ACOS ( float_expression )

Work example

Calculate inverse cosine for a normalized numeric input.

Test domain limits and the largest expected input. Keep degree and radian units explicit.

Check your work ACOS returns an angle from zero to pi radians when its input is in range.

Open Microsoft Learn for full syntax, permissions, and details for your version.