Skip to main content

Absolute Value Calculator

Find the absolute value (distance from zero) of a number — or a whole list of numbers at once. Enter one or more real numbers, separated by commas, spaces, or new lines, and see each one's sign and absolute value in a table.

Input

Output

Result
NumberSignAbsolute Value
No data yet
Was this helpful?

More ways to use this tool

REST API

curl -X POST https://api.iotools.cloud/v1/tool/absolute-value-calculator \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "numbers": "-12.5"
  }'

Swap in your own key from your account. The tool's fields are the body — no wrapper.

Ask an AI agent

Use the IOTools `absolute-value-calculator` tool (Absolute Value Calculator) on this input:

YOUR_INPUT_HERE

Paste this at any agent connected to the IOTools MCP server, then add your input.

Embed widget

<iframe
  src="https://iotools.cloud/embed/absolute-value-calculator/"
  width="100%" height="520" frameborder="0" scrolling="no" loading="lazy"
  title="Absolute Value Calculator — iotools.cloud"
  sandbox="allow-scripts allow-forms allow-same-origin allow-downloads allow-popups allow-popups-to-escape-sandbox"
  allow="clipboard-write"
  style="width:100%;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden"></iframe>
<script src="https://iotools.cloud/embed.js" async></script>

Drop this into your own page — free, no key required, just a link back.

Cost per API/MCP callFrom 5 credits
Need more credits?View pricing

Also available with

Guides

The Absolute Value Calculator finds |x| — the distance of a number from zero on the number line — for one number or a whole list at once. Enter one or more real numbers, separated by commas, spaces, or new lines, and it instantly returns each number's sign and absolute value in a table.

It's built for students checking homework, anyone cleaning up a dataset of signed values (deltas, temperature changes, errors), or checking a batch of numbers in one pass instead of one at a time.

How to use it

  1. Enter one or more numbers (up to 500 at a time) in the Numbers field, separated by commas, spaces, or new lines. Decimals and negative numbers are both supported.
  2. Read the Result table: each number, whether it's negative, positive, or zero, and its absolute value.

Results update automatically as you type. For example, entering -12.5, 7, -3.2 returns 12.5, 7, and 3.2.

What is absolute value?

The absolute value of a number is its distance from zero, always expressed as a non-negative number. For a positive number or zero, the absolute value is the number itself; for a negative number, it's the number with its sign flipped. Written mathematically, |x| = x if x ≥ 0, and |x| = -x if x < 0.

Why does absolute value matter?

Absolute value shows up anywhere the size of a difference matters more than its direction — measuring error margins, temperature swings, distances on a number line, or the magnitude of a financial gain or loss regardless of whether it was positive or negative.

Privacy

This calculator runs entirely in your browser. Your numbers are never uploaded, logged, or stored — the computation happens locally on your device.

absolute valueabsdistance from zeromathnegative numberbatch

Love the tools? Lose the ads.

One payment clears every ad from your account, for good. No subscription, no tracking.