1. Home
  2. Math
  3. Absolute Value Calculator

Quick guide

What This Calculator Does

This absolute value calculator separates three common tasks:

  • Single number: calculate |x|, such as |-12.5| = 12.5.
  • Basic expression: mark absolute-value sections inside arithmetic, such as |-3| + |4| = 7.
  • Two-number difference: calculate |a-b|, turning a signed difference into number-line distance, such as |5-12| = 7.

The page updates automatically and shows supporting values such as the original result, distance, and magnitude. It is useful for learning, checking work, and quick real-number calculations—not for full algebra or symbolic solving.

When to Use It

  • You need the size of a negative or positive real number, such as |-8|.
  • You want to interpret |a-b| as distance between two points on a number line.
  • You need to check a short arithmetic expression with absolute-value bars.
  • You want original values and simple hints when explaining the concept.

Inputs Explained

Single Number |x|

Enter one finite real number. A positive input stays the same, a negative input loses its sign, and 0 remains 0.

Basic Expression

Read the full guide

Frequently Asked Questions

Which modes does this page support?

It supports single-number |x|, basic expressions with matching absolute-value bars, and two-number |a-b| difference mode.

Why can absolute value represent distance?

|x| is the distance from x to zero on a number line, while |a-b| is the distance between a and b, so the result is never negative.

Which expression syntax is supported?

Use numbers, decimals, spaces, parentheses, and +, -, *, or /; wrap absolute-value sections in matching | | bars.

Can I enter variables, functions, or complex numbers?

No. This page is not a full symbolic calculator and does not support variables, functions, percent, powers, scientific notation, complex modulus, or implicit multiplication.

Does the result update automatically?

Yes. The page recalculates when inputs change, while the Calculate button remains available as an explicit trigger; the current inputs are also kept in shareable URL parameters.

计算器工具网
OneCalculators

Provides various useful online calculation tools to help you quickly solve calculation problems in daily life and work.

Links

  • About Us
  • Terms of Use
  • Privacy Policy
  • Disclaimer
  • Contact Us
  • Sitemap
  • Release Notes

Calculator Categories

  • Mathematics
  • Financial Calculators
  • Health Calculators
  • Legal Calculators
  • Unit Converters
  • Date & Time

Contact Us

Contact UsGitHubTwitter

© 2026 Calculator Tools. All rights reserved.

Monitor your Domain Rating with FrogDRLaunched on FazierGood AI Tools

Absolute Value Calculator: |x| & Distance

Calculate a single real number's absolute value, a basic bar-delimited arithmetic expression, or the absolute difference between two numbers.

Inputs & Mode

Inputs & Mode

Calculation Mode

Results

Results

Absolute Value
0
Calculation Mode
Single Number |x|
Absolute Value (Distance from 0)
Magnitude