1. Home
  2. Functions
  3. Math
  4. ABS

ABS function

Returns the absolute value of a number (the number without its sign).

Syntax

=ABS(number)

Arguments

ArgumentRequiredDescription
numberRequiredThe number

How to use ABS

ABS takes 1 required argument. Type =ABS( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=ABS(-4)Result 4
=ABS(2.5)Result 2.5

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.