# HYPOT

Calculates the hypotenuse of two numbers. The input can be any numeric values, and the return value is always a double. If either input is `null`, the function returns `null`. Hypotenuses of infinities are also `null`.

## Syntax

`HYPOT(number1, number2)`

### Parameters

#### number1

Numeric expression. If `null`, the function returns `null`.

#### number2

Numeric expression. If `null`, the function returns `null`.

## Examples

```esql
ROW a = 3.0, b = 4.0
| EVAL c = HYPOT(a, b)
```

Calculates the hypotenuse of a right triangle with sides `a = 3.0` and `b = 4.0`.
