Axis of Symmetry Calculator (with Steps & Examples)

Axis of symmetry calculator finds x = -b/2a instantly. Enter standard, vertex, or factored form for the axis, vertex, and graph with full steps.

Kushagra VermaCreator: Kushagra VermaParker RowlandReviewer: Parker Rowland

Axis of Symmetry Calculator

The axis of symmetry of a parabola is the vertical line through its vertex, found with x = −b ÷ 2a. Enter your quadratic in any of the three common forms and this calculator gives the axis, the vertex, the direction it opens, the roots, and a graph.

The axis of symmetry is the vertical line x = -b/2a that cuts a parabola into two matching halves. Type your quadratic into the calculator above in standard, vertex, or factored form and it returns the axis, the vertex, which way the curve opens, the roots, and a graph. This page covers the formula for each form, worked equations, the negative-sign mistake that costs most marks, and quick-reference tables.

What Is the Axis of Symmetry?

The axis of symmetry is a vertical line that divides a parabola into two identical halves. Fold the curve along this line and the two sides land exactly on top of each other. Every point on the left has a mirror twin on the right, sitting at the same height and the same distance from the line.

For any quadratic function, this line always runs straight through the vertex, the turning point of the parabola. That is the shortcut: find the axis, and you have the x-coordinate of the vertex.

The answer is always written as an equation, never just a number:

x = constant

So an answer of “the axis of symmetry is 3” is technically incomplete. The correct form is x = 3. This is the format teachers and answer keys expect, and it is the format this calculator returns.

What Is the Axis of Symmetry Formula?

For a quadratic written in standard form ax² + bx + c, the axis of symmetry formula is:

x = -b / (2a)

That is it. You only need two of the three coefficients. Here is what each one does:

  • a sets how wide or narrow the parabola is, and whether it opens up (a > 0) or down (a < 0).
  • b shifts the parabola sideways and, together with a, fixes the axis.
  • c is the y-intercept. It has no effect on the axis of symmetry at all.

Quick rule: The constant c never appears in x = -b/2a. If your equation is x² + 6x + 5 and you change the 5 to 500, the axis of symmetry does not move. Only a and b matter.

How Do You Find the Axis of Symmetry Step by Step?

Finding the axis of symmetry by hand takes four short steps. Take the equation 2x² + 8x + 3 as an example.

  1. Write it in standard form. Make sure it reads ax² + bx + c. Here it already does: 2x² + 8x + 3.
  2. Identify a and b. The number in front of x² is a = 2. The number in front of x is b = 8. Ignore the 3.
  3. Plug into x = -b/(2a). That gives x = -8 / (2 × 2) = -8 / 4.
  4. Simplify and write the equation. x = -2. The axis of symmetry is x = -2.

The same four steps work for every standard-form quadratic, no matter how large or negative the coefficients get. If you would rather skip the arithmetic, the quadratic formula calculator and the tool above both handle the numbers for you and show each step. The formula is x = −b ÷ 2a because that value lands exactly halfway between the two roots, which is what the axis of symmetry is.

Why Is the Axis of Symmetry -b/2a and Not b/2a?

The formula is x = -b/(2a), with a minus sign in front of b. Dropping that minus sign flips your answer to the wrong side of the graph.

The mistake: writing x = b/2a instead of x = -b/2a. If b = 8 and a = 2, the correct axis is x = -8/4 = -2. Forget the minus and you get +2, which is the mirror image, and wrong.

Where does the negative sign come from? The vertex of a parabola is the point where the curve stops falling and starts rising (or the reverse). Using calculus, that turning point sits where the derivative 2ax + b equals zero. Solving 2ax + b = 0 gives x = -b/(2a). The negative sign is baked into the algebra, not optional.

A simple memory trick: the b in the formula always carries the opposite sign of what you see in the equation. If the equation has +8x, you use -8 in the formula. If it has -12x, you use +12. Get the sign of b right and the rest is just division.

What Is the Equation of the Axis of Symmetry?

For a quadratic in standard form ax² + bx + c, that equation is x = -b/(2a). It always comes out in the form x = value, it always passes through the vertex, and it never depends on the constant c.

Three points to remember about this equation:

  • It is always written as x = something, because the axis is a vertical line.
  • It gives you the x-coordinate of the vertex directly. Substitute that x back into the equation to get the vertex’s y-coordinate.
  • It works for every parabola that opens up or down, whatever the coefficients.

How Do You Find the Axis of Symmetry in Vertex Form?

Vertex form is the easiest case of all. When a quadratic is written as a(x – h)² + k, the vertex sits at (h, k) and the axis of symmetry is simply:

x = h

No formula, no division. You read the answer straight off the equation. The one catch is the sign inside the bracket, which flips.

  • y = (x – 2)² + 1 → the axis is x = 2.
  • y = (x – 1)² – 4 → the axis is x = 1.
  • y = 5(x + 1)² – 8 → the bracket is (x + 1), so h = -1 and the axis is x = -1.
  • y = (x + 2)² – 1 → the axis is x = -2.

Notice how (x + 1) gives x = -1, not x = 1. The bracket hides a subtraction: (x + 1) is really (x – (-1)), so h = -1. Read the sign carefully and vertex form becomes the fastest form to work with.

How Do You Find the Axis of Symmetry in Factored Form?

When a parabola is written in factored form a(x – r₁)(x – r₂), the two roots r₁ and r₂ are the x-intercepts, the spots where the curve crosses the x-axis. Because the parabola is symmetric, the axis of symmetry sits exactly halfway between them:

x = (r₁ + r₂) / 2

You are just averaging the two roots. For example, the function f(x) = -5(x + 7)(x – 5) has roots at x = -7 and x = 5. The axis of symmetry is (-7 + 5) / 2 = -2 / 2 = -1, so x = -1. This midpoint method is quick whenever you already know where the parabola crosses the x-axis.

Axis of Symmetry Formula for Every Form

The formula changes slightly depending on how your quadratic is written. This table shows all three at a glance so you can match your equation to the right method.

Form of the equationWhat it looks likeAxis of symmetry
Standard formax² + bx + cx = -b / (2a)
Vertex forma(x – h)² + kx = h
Factored forma(x – r₁)(x – r₂)x = (r₁ + r₂) / 2

Axis of Symmetry Worked Examples

These are common textbook equations, each worked with the formula x = -b/(2a) and the answer is written in the correct x = value form. Match your homework problem to the closest example below.

Standard-Form Equations

  • y = x² + 6x + 5: a = 1, b = 6, so x = -6/2 = x = -3.
  • y = x² + 6x + 17: a = 1, b = 6, so x = -6/2 = x = -3 (the constant does not change it).
  • y = x² + 4x + 6: a = 1, b = 4, so x = -4/2 = x = -2.
  • y = 3x² – 12x + 7: a = 3, b = -12, so x = 12/6 = x = 2.
  • y = 4x² + 16x + 32: a = 4, b = 16, so x = -16/8 = x = -2.
  • y = 2x² + 20x + 68: a = 2, b = 20, so x = -20/4 = x = -5.
  • y = 5x² + 40x + 64: a = 5, b = 40, so x = -40/10 = x = -4.
  • y = 3x² – 42x + 156: a = 3, b = -42, so x = 42/6 = x = 7.

Downward-Opening Parabolas (negative a)

  • y = -3x² + 12x: a = -3, b = 12, so x = -12/-6 = x = 2 (here c = 0).
  • y = -3x² + 18x – 45: a = -3, b = 18, so x = -18/-6 = x = 3.
  • y = -3x² – 42x – 159: a = -3, b = -42, so x = 42/-6 = x = -7.
  • y = -x² + 10x – 18: a = -1, b = 10, so x = -10/-2 = x = 5.
  • y = -x² – 12x – 38: a = -1, b = -12, so x = 12/-2 = x = -6.
  • y = -4x² – 40x – 84: a = -4, b = -40, so x = 40/-8 = x = -5.
  • y = -4x² – 8x: a = -4, b = -8, so x = 8/-8 = x = -1.

Multiple-Choice Style Questions

  • f(x) = x² + 4x + 6: the axis is x = -2.
  • f(x) = -x² + 6x – 4: a = -1, b = 6, axis is x = 3.
  • f(x) = -4x² + 16x – 15: a = -4, b = 16, axis is x = 2.
  • p(x) = -2x² – 24x + 18: a = -2, b = -24, axis is x = -6.
  • p(x) = -3x² – 24x + 18: a = -3, b = -24, axis is x = -4.
  • h(x) = -2x² + 12x – 3: a = -2, b = 12, axis is x = 3.
  • h(x) = 5x² + 40x + 64: a = 5, b = 40, axis is x = -4.

Vertex-Form Questions

  • f(x) = (x – 2)² + 1: axis is x = 2.
  • y = (x – 1)² – 4: axis is x = 1.
  • f(x) = 5(x + 1)² – 8: axis is x = -1.
  • f(x) = (x + 2)² – 1: axis is x = -2.

Axis of Symmetry Quick-Reference Table

Scan this table to check an answer fast. Each row shows the equation, its a and b values, and the resulting axis of symmetry.

Equationa, bAxis of symmetry
x² + 6x + 51, 6x = -3
2x² + 8x + 32, 8x = -2
3x² – 12x + 73, -12x = 2
4x² + 16x + 324, 16x = -2
-2x² + 4x – 1-2, 4x = 1
-3x² + 12x-3, 12x = 2
-3x² + 18x – 45-3, 18x = 3
-x² + 10x – 18-1, 10x = 5
-4x² – 40x – 84-4, -40x = -5
3x² – 42x + 1563, -42x = 7

How Do You Find b When the Axis of Symmetry Is Given?

Some problems flip the question around. They tell you the axis of symmetry and one coefficient, then ask you to find b. You solve it by rearranging the same formula.

Take this classic: the axis of symmetry of f(x) = ¼x² + bx + 10 is x = 6. Find b.

  1. Start with x = -b/(2a) and substitute what you know: 6 = -b / (2 × ¼).
  2. Simplify the denominator: 2 × ¼ = ½, so 6 = -b / (½).
  3. Multiply both sides by ½: -b = 6 × ½ = 3.
  4. So b = -3.

The trick is to treat -b/(2a) as an equation you can rearrange, not just a one-way formula. Whatever the axis and a values are, isolate b and solve.

What Are the Most Common Axis of Symmetry Mistakes?

Six errors account for most wrong answers. Watch for these:

  • Dropping the negative sign. Writing b/2a instead of -b/2a flips your answer to the wrong side of the graph. It flips your answer to the wrong side of the graph.
  • Using the c value. The constant term plays no part in the axis of symmetry. Only a and b go into the formula.
  • Confusing it with the quadratic formula. The axis is x = -b/(2a). The quadratic formula for the roots is longer and includes a square root. They are not the same thing.
  • Writing a bare number. The answer must be an equation, x = value, because the axis is a line, not a point.
  • Reading vertex-form signs backwards. In a(x – h)², a bracket of (x + 3) means h = -3, so the axis is x = -3, not x = 3.
  • Giving the y-value instead. The axis of symmetry is about the x-coordinate of the vertex only. The vertex’s height does not belong in the answer.

Why Does the Axis of Symmetry Pass Through the Vertex?

A parabola is a symmetric curve, and its vertex is the single point where it turns around. Because the two arms of the parabola rise (or fall) at matching rates on either side, the only line that splits it into mirror halves must run through that turning point. That is why finding the axis of symmetry also gives you the vertex’s x-coordinate.

To get the full vertex, take the axis value and substitute it back into the original equation. For y = x² + 6x + 5, the axis is x = -3. Plug -3 back in: y = (-3)² + 6(-3) + 5 = 9 – 18 + 5 = -4. So the vertex is (-3, -4). If you want the same parabola written in line form for graphing, the slope intercept form calculator handles the linear pieces.

Frequently Asked Questions (FAQs)

How Do You Test a Function for Symmetry?

Replace every x with -x and compare the result to the original.

If f(-x) equals f(x), the graph is symmetric about the y-axis and the function is even. If f(-x) equals -f(x), it is symmetric about the origin and the function is odd. If neither matches, the function has no symmetry of either type.

Take f(x) = x² – 4. Replacing x gives (-x)² – 4, which is x² – 4 again, so the graph mirrors across the y-axis. Take f(x) = x³. Replacing x gives -x³, which is the negative of the original, so the graph has origin symmetry instead.

Is the Axis of Symmetry the Same as the Line of Symmetry?

For a parabola, yes. Both names describe the line that splits the curve into two mirror halves.

The two terms separate once you move from graphs to shapes. A square has four lines of symmetry. A rectangle has two. A parabola has exactly one, and that one line is what “axis of symmetry” refers to.

How Do You Find the Vertex From the Axis of Symmetry?

The axis gives you the x-coordinate of the vertex for free. Substitute it back into the original equation to get the y-coordinate.
For y = 2x² – 8x + 5, the axis is x = 2. Putting x = 2 into the equation gives 2(4) – 16 + 5, which is -3. The vertex is (2, -3).

How Do You Find the Axis of Symmetry From a Graph?

Read the x-value directly below or above the vertex. That number is the axis.
If the vertex is hard to pin down, pick any two points sitting at the same height on the curve and take the midpoint of their x-values. For points at x = 1 and x = 7, the axis is x = 4.

Does Every Parabola Have an Axis of Symmetry?

Yes, and exactly one.
For the standard form y = ax² + bx + c the axis is the vertical line x = -b/2a. A parabola that opens left or right is written x = ay² + by + c, and its axis is the horizontal line y = -b/2a.

What Is the Axis of Symmetry of a Horizontal Parabola?

Use y = -b/2a instead of x = -b/2a.
For x = y² – 6y + 2, a is 1 and b is -6. The axis is y = 3. The formula is the same, the letters swap because the curve opens sideways.

Can a Function Have More Than One Line of Symmetry?

A quadratic cannot. Other functions can.
y = cos x is symmetric about x = 0, then again at x = π, x = 2π, and every multiple after that. A constant function like y = 5 is symmetric about every vertical line you can draw. Parabolas are the strict case with one line and no more.

What Is a Point of Symmetry, and Does a Parabola Have One?

A point of symmetry is a centre the graph can rotate around by 180 degrees and land on itself.
Odd functions have one. y = x³ rotates onto itself around the origin. A parabola does not have a point of symmetry. It has an axis, which is a mirror line rather than a rotation centre.

What Happens if a Is Zero?

There is no axis of symmetry, because there is no parabola.
With a = 0 the x² term disappears and the equation becomes linear. The formula -b/2a also breaks, since dividing by zero is undefined. The calculator needs a to be any value other than zero.

Try these next

  • Kushagra Verma

    Researcher | BSc. CS + Financial Math

    Kushagra Verma is a researcher with a BSc in Computer Science and Financial Mathematics, focusing on data-driven analysis and real-world applications.

  • Parker Rowland

    Former Math Teacher

    Parker Rowland is a Former math teacher, author, and ed tech enthusiast focused on clear math explanations, practical problem solving & effective learning.