Hypot
  • 27 May 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Hypot

  • Dark
    Light
  • PDF

Article Summary

Calculate the hypotenusea of a list of numbers, i.e. the square root of the sum of squares of the numbers.

Function signature

HYPOT(values: Array) => Number
ParameterDescription
ValuesList of numeric values

Examples

FormulaReturn value
HYPOT([10, 20, 30])37.416573867739416
HYPOT([3, 4])5
HYPOT([])0

Was this article helpful?

What's Next