Skip to main content
MedCalc
Mail a PDF copy of this page to:
(Your email address will not be added to a mailing list)
working
Show menu

ABS function

Description

Absolute value. ABS(x) returns the absolute value of the number x.

ABS function$$ |x| = \begin{cases} x, & \mbox{if } x \ge 0 \\ -x, & \mbox{if } x < 0 \end{cases} $$

Examples

ABS(-5) equals 5

ABS(5) equals 5

Calculator

ABS()

Graph

ABS function
Function: ABS()
  X-axis Y-axis
Minimum:
Maximum:
 

Related functions