│ Vertical Line Equation Calculator

Find the equation of a vertical line through a given x-coordinate.

No ratings yet — be the first

Enter details

Vertical line
x =
  • X Coordinate

Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy

Fill in the details and click Calculate to see your results.

Formula at a glance

Vertical Line formula: x = c
How the vertical line works: x = c

Rate this calculator

Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it: ★ ★ ★ ★ ★

📘 About the Vertical Line Equation Calculator

A vertical line goes straight up and down; every point on it has the same x-coordinate, so its equation is x = a.

Its slope is undefined because the run (change in x) is zero.

🧮 Formula

Equation
x = c

Where

  • c = fixed x-coordinate
Vertical line: x = c.

✏️ Worked example

Through x = 5

You enter
X Coordinate5
You get
Vertical line x =5

x = 5.

🧭 How to use this calculator

What you enter

  • X Coordinate

What you get

  • Vertical line x =

💡 Common uses

  • Coordinate geometry homework and revision
  • Analytic geometry calculations
  • Checking graph and line calculations

❓ Frequently asked questions

What is the slope of a vertical line?

Undefined.

What is the equation of a vertical line through (5, 2)?

x = 5.