Plotline

Absolute value

Loading…

Graph an Absolute Value Function

The graph of y = |x| is a V-shape with its vertex at the origin; y = |x − h| + k is the same V moved so its vertex is at (h, k).

Graph of the V-shaped y = |x| with its corner at the origin, and of y = |x − 2| + 1 shifted right 2 and up 1.
y = |x| (purple) and y = |x − 2| + 1 (red), vertex (2, 1).

At a glance

What it isGraph absolute value functions online. See the V-shape of y = |x| and move the vertex with sliders in y = |x − h| + k. Free graphing calculator.
TypeInteractive guide with a calculator
LevelHigh school and college
PriceFree, with no account or sign-up
Works offlineYes, after the first visit; installs as an app
Made byAalok (aalok.builds@gmail.com)
Last updated1 November 2026

Key facts

Parent functiony = |x|
Vertex of y = a|x − h| + k(h, k)
Slopes of the two sides+a on the right, −a on the left
DomainAll real numbers
Range of y = |x|y ≥ 0

Why is the graph a V shape?

|x| leaves positive numbers unchanged and turns negative numbers positive, so the left half of the line y = x is reflected above the x-axis.

How to use it in Plotline

  1. The graph of y = |x| and y = |x − h| + k with sliders for h and k is already loaded above. Edit the equation in the list to change it.
  2. Drag the graph to move around, scroll or pinch to zoom, and tap the crosshair to reset the view.
  3. Hover over or tap the curve to read the coordinates of any point.
  4. Press Enter to add another equation and compare graphs in different colors.

Frequently asked questions

How do I type absolute value?

Type the vertical bar key | around the expression, for example y = |x − 2|, or use the |a| key on Plotline’s keypad.

Is it free?

Yes. The graphing calculator is free with no account and no sign-up: plot as many equations as you like, use sliders, save graphs in your browser and share them by link. It installs as an app and keeps working offline.

Learn more

Related

Free calculators

Plotline is an independent project and is not affiliated with Desmos, Texas Instruments or Casio.