Enter quadratic information

Select an input mode. Expressions may use fractions, parentheses, pi, e, and functions such as sqrt().

Vertex form
The visible fields change with the selected representation.
Use a letter or short identifier, such as x, t, or n.

Vertex form values

Enter the leading coefficient and the vertex coordinates.

y = a(x − h)² + k
Must not equal zero.

Factored or root form values

Factored mode reads the two factor expressions. Roots mode reads r₁ and r₂.

y = a(x − r₁)(x − r₂)
Example: x − 2 or 2x + 1.
Example: x + 3 or x − sqrt(2).

General equation sides

Enter each side separately. The calculator moves everything to the left.

Left side = Right side
Example: 2x^2 + 3x or 3(x − 1)^2.
Example: 7 or x + 4.

Three coordinate points

Each x-value must be distinct. Collinear points do not define a quadratic.

(x₁,y₁), (x₂,y₂), (x₃,y₃)
( )
( )
( )

Focus and directrix

Choose the directrix orientation, then enter the focus and line value.

(x − h)² = 4p(y − k)
This means y = d for vertical mode or x = d for horizontal mode.

Standard form coefficients

Analyze, graph, and convert an existing standard-form quadratic.

y = ax² + bx + c
All notations remain available in the result table.
Examples:

Calculation history and favorites

These lists are stored locally in this browser. They are not sent to a database.

Recent calculations

No calculations have been stored yet.

Favorites

Favorite results appear here.

Quadratic standard form guide

Review the formulas, conversion methods, interpretation rules, and common checks used by the calculator.

What standard form means

A quadratic function is commonly written as y = ax² + bx + c. A quadratic equation is often written as ax² + bx + c = 0. The coefficient a must not equal zero. Otherwise, the squared term disappears and the expression becomes linear.

Standard form arranges terms by descending powers. The squared term appears first. The linear term follows. The constant appears last. This arrangement makes the coefficients easy to identify and supports direct use of the discriminant and quadratic formula.

ax² + bx + c = 0, where a ≠ 0

The sign of a controls the opening direction. A positive a opens the parabola upward. A negative a opens it downward. The value c gives the y-intercept because substituting x = 0 leaves y = c.

Formula used for vertex form

Vertex form shows the vertex directly. It is written as y = a(x − h)² + k. The vertex is (h, k). Expanding the square converts the expression into standard form.

(x − h)² = x² − 2hx + h²
a(x − h)² + k = ax² − 2ahx + ah² + k

Therefore, b = −2ah and c = ah² + k. The calculator uses these relationships after safely evaluating the supplied values. Fractions and radicals may be entered as arithmetic expressions.

Formula used for roots and factors

When the roots are r₁ and r₂, a quadratic may be written as y = a(x − r₁)(x − r₂). Expanding the product creates the standard coefficients.

(x − r₁)(x − r₂) = x² − (r₁ + r₂)x + r₁r₂
a(x − r₁)(x − r₂) = ax² − a(r₁ + r₂)x + ar₁r₂

This gives b = −a(r₁ + r₂) and c = ar₁r₂. Equal roots produce a perfect-square factor. Distinct roots produce two different linear factors.

Formula used for three points

Three points with distinct x-values determine one quadratic unless the points are collinear. Each point is substituted into y = ax² + bx + c. That creates three linear equations in a, b, and c.

y₁ = ax₁² + bx₁ + c
y₂ = ax₂² + bx₂ + c
y₃ = ax₃² + bx₃ + c

The calculator solves the equivalent interpolation system. It also rejects duplicate x-values because they make the system invalid for a single-valued function.

Discriminant and roots

The discriminant is the quantity inside the square root of the quadratic formula. It identifies the number and type of roots before the roots are calculated.

Δ = b² − 4ac
Condition Meaning
Δ > 0 Two distinct real roots and two x-intercepts.
Δ = 0 One repeated real root touching the x-axis.
Δ < 0 Two complex conjugate roots and no real x-intercepts.

Quadratic formula

The quadratic formula solves every quadratic equation with real or complex coefficients when a is nonzero.

x = (−b ± √(b² − 4ac)) / (2a)

The plus sign gives one root. The minus sign gives the other. When the discriminant is negative, the square root contributes an imaginary component. The calculator reports the resulting conjugate pair.

Vertex, axis, and extreme value

The x-coordinate of the vertex is found from the coefficients. Substituting that coordinate back into the function gives the vertex y-coordinate.

h = −b / (2a)
k = ah² + bh + c

The axis of symmetry is x = h. When a is positive, k is the minimum function value. When a is negative, k is the maximum function value.

Focus and directrix

A vertical parabola in vertex form can be connected to its geometric definition using the focal parameter p.

p = 1 / (4a)
Focus = (h, k + p), Directrix: y = k − p

A horizontal parabola instead follows (y − k)² = 4p(x − h). It is quadratic in y and may fail the vertical-line test, so the calculator presents it as a conic equation rather than y = f(x).

How to use this calculator

Follow these steps for a reliable conversion and complete quadratic analysis.

  1. Select the input mode matching the information you already have. Choose vertex, factors, roots, a general equation, three points, focus and directrix, or standard coefficients.
  2. Enter all required values. You may use integers, decimals, fractions such as 3/4, parentheses, pi, e, and functions such as sqrt(2).
  3. Choose a variable name. The default is x. General-equation mode uses this name while reading both equation sides.
  4. Select the result format. Automatic format favors short fractions. Decimal format follows the chosen precision. Scientific notation helps with very large or small values.
  5. Choose descending or ascending term order. Descending order is the conventional standard presentation.
  6. Enable primitive integer normalization when you want fractions cleared and a common factor removed from an equation equal to zero.
  7. Press “Convert and analyze.” The main standard-form result appears above the form, followed by coefficients, roots, vertex information, equivalent forms, and calculation steps.
  8. Use the graph controls to zoom, pan, show or hide markers, and save a PNG image. Use the result controls to copy, print, save a PDF, export CSV, create a share link, or add a favorite.
Expression syntax: Use ^ for powers, * for explicit multiplication, and parentheses for grouping. Conventional entries such as 2x^2 and 3(x-1)^2 are also accepted.

Worked conversion examples

These examples show the expected algebraic path for each major input mode.

Starting information Key conversion Standard result Important property
y = 2(x − 3)² + 5 Expand x² − 6x + 9, multiply by 2, then add 5. y = 2x² − 12x + 23 Vertex is (3, 5).
y = (x − 2)(x + 3) Multiply the binomials and combine middle terms. y = x² + x − 6 Roots are 2 and −3.
2x² + 3x = 7 Subtract 7 from both sides. 2x² + 3x − 7 = 0 Δ = 65, so two real roots exist.
Points (−1, 6), (0, 1), and (2, 3) Solve the three coefficient equations. y = 2x² − 3x + 1 The graph passes through every supplied point.
Focus (0, 1), directrix y = −1 Vertex is (0, 0), p = 1, and x² = 4y. y = x²/4 The parabola opens upward.
a = 1, b = −4, c = 3 Analyze x² − 4x + 3. x² − 4x + 3 = 0 Roots are 1 and 3; vertex is (2, −1).
y = −3(x + 2)² + 7 Expand x² + 4x + 4 and distribute −3. y = −3x² − 12x − 5 Maximum value is 7.
y = 1/2(x − 4)(x + 2) Expand x² − 2x − 8, then multiply by 1/2. y = x²/2 − x − 4 Fraction output preserves simple exact values.
x² + 4x + 8 = 0 Already in standard form. x² + 4x + 8 = 0 Δ = −16, so roots are −2 ± 2i.
3(x − 1)² = 12 Expand the left and subtract 12. 3x² − 6x − 9 = 0 Normalized form is x² − 2x − 3 = 0.

Accuracy, validation, and supported syntax

The calculator uses a restricted arithmetic parser and never executes submitted text as application code.

Accepted numeric expressions

Values can include addition, subtraction, multiplication, division, remainders, powers, decimal notation, and nested parentheses. The constants pi and e are available. Supported functions include sqrt, abs, sin, cos, tan, ln, log, and exp.

Examples include 3/4, -sqrt(2), 2*pi, (5+1)/3, and 1.2e-4. Trigonometric functions use radians.

General equation validation

General-equation mode samples the safely evaluated expression and reconstructs its constant, linear, and squared coefficients. It then verifies the result at additional input values. Expressions that behave like higher-degree, rational, trigonometric, or non-polynomial functions are rejected.

This approach accepts expanded and unexpanded quadratics while avoiding unsafe dynamic evaluation.

Rounding behavior

Internal calculations use floating-point arithmetic. Display precision affects shown decimals, not the stored intermediate values. Automatic fraction formatting uses a continued-fraction approximation with bounded denominators.

For sensitive scientific work, retain the original exact inputs and verify rounded outputs using the desired precision standard.

Common validation messages

The calculator reports missing values, unsupported characters, unknown names, unbalanced parentheses, division by zero, invalid square roots, zero leading coefficients, duplicate point x-values, collinear points, and expressions that are not quadratic.

Correct the specific field described in the message, then submit the form again.

Understanding every reported result

Each output describes either the algebraic equation or the geometry of its parabola.

Coefficients a, b, and c

The leading coefficient a controls vertical stretching, compression, and reflection. Larger absolute values produce a narrower appearance. Values between zero and one produce a wider appearance. The linear coefficient b shifts the symmetry location together with a. The constant c is the y-intercept.

Roots and x-intercepts

Real roots are x-values where the graph reaches y = 0. They appear as x-intercepts. A repeated root means the parabola touches the axis at its vertex. Complex roots solve the equation algebraically but do not produce real coordinate intercepts.

Vertex and range

The vertex is the turning point. An upward-opening parabola has no upper bound and has a minimum. A downward-opening parabola has no lower bound and has a maximum. The range begins or ends at the vertex y-coordinate.

Increasing and decreasing intervals

An upward parabola decreases before the vertex and increases after it. A downward parabola increases before the vertex and decreases after it. The calculator reports open intervals because the derivative is zero at the turning point.

Equivalent forms

Standard form emphasizes coefficients and the y-intercept. Vertex form emphasizes the turning point and axis. Factored form emphasizes roots. Completed-square form matches vertex form and is useful for geometric interpretation.

Normalized equations

An equation equal to zero may be multiplied or divided by any nonzero constant without changing its roots. Normalization clears manageable denominators, divides integer coefficients by their greatest common divisor, and makes the leading coefficient positive.

Common conversion mistakes

Use these checks when comparing a manual solution with the calculator.

Forgetting the middle term

The square (x − h)² is not x² + h². It expands to x² − 2hx + h². The middle term is essential and its sign depends on the sign inside the binomial.

Distributing only once

In a(x − h)² + k, the coefficient a multiplies every term produced by the square. It does not multiply k because k sits outside that product.

Using roots with the wrong signs

A root r creates the factor (x − r). Therefore, a root of −3 creates (x + 3). The sign seen inside a factor is opposite the root value.

Moving terms without changing signs

To create an equation equal to zero, subtract the entire right side from the left. Every right-side term changes sign during that operation.

Accepting a = 0

A zero leading coefficient removes the squared term. The remaining expression is linear or constant. It should not be analyzed using quadratic formulas.

Rounding too early

Premature rounding can change the discriminant, roots, or vertex. Keep exact fractions or additional decimal places until the final presentation step.

Keyboard and accessibility features

The form supports standard keyboard navigation and several optional shortcuts.

Alt + Enter
Submit the calculator from anywhere on the page.
Alt + R
Load a random standard-form example.
Alt + C
Copy the current primary result.
Alt + G
Move focus to the graph section.
Alt + T
Toggle the page theme.
Tab
Move through all interactive controls in order.

Frequently asked questions

Answers to common questions about quadratic standard form and calculator behavior.

What is the standard form of a quadratic equation?

It is ax² + bx + c = 0, where a is not zero. For a function, the matching form is y = ax² + bx + c.

Can the calculator accept fractions?

Yes. Enter fractions with a slash, such as 3/4 or -5/2. Automatic formatting also attempts to return short fraction representations.

Can I enter square roots?

Yes. Use syntax such as sqrt(2), -sqrt(5), or (1+sqrt(3))/2. Real square roots require nonnegative arguments.

Why must the leading coefficient be nonzero?

When a equals zero, the x² term disappears. The equation is then linear or constant, so quadratic analysis no longer applies.

Why does a negative discriminant produce complex roots?

The quadratic formula then requires the square root of a negative number. Using i = √−1 produces a complex conjugate pair.

What happens when the three points are collinear?

They define a line rather than a true quadratic. The calculator rejects that case because the resulting leading coefficient is zero.

How does primitive integer normalization work?

It clears manageable fraction denominators, divides by the greatest common integer factor, and changes all signs when needed to make a positive leading coefficient.

Does normalization change the roots?

No. Multiplying or dividing an equation by a nonzero constant creates an equivalent equation with exactly the same solutions.

Can the calculator analyze complex roots?

Yes. It reports complex conjugate roots when the discriminant is negative. The real graph still has no x-intercepts in that case.

Can a horizontal parabola be written as y = ax² + bx + c?

Not generally. A horizontal parabola is quadratic in y and is written as (y − k)² = 4p(x − h).

How is the graph range selected?

The graph centers near the vertex and estimates a useful scale from the vertex, roots, intercept, focus, directrix, and supplied points. You can then zoom or pan.

How do I save the result as a PDF?

Choose “Print or save PDF.” In the browser print dialog, select the PDF destination provided by your operating system or browser.

Where is calculation history stored?

Recent calculations and favorites are stored in local browser storage. They remain on the device until cleared by the user or browser.

Is typed equation text executed as code?

No. A restricted mathematical parser reads allowed numbers, operators, constants, functions, and the selected variable. Unsupported tokens are rejected.

Why might an automatic fraction differ from my exact symbolic form?

Automatic fractions approximate floating-point results with bounded denominators. Select suitable precision and retain original exact inputs for strict symbolic work.

What is the difference between a root and an x-intercept?

A real root is the x-coordinate of an x-intercept. Complex roots solve the equation but do not correspond to real graph points.

Done.

Related Calculators

Algebra CalculatorEquation CalculatorInterval Notation CalculatorLogical Sets CalculatorPI Product Notation CalculatorPolynomials CalculatorRational Expressions CalculatorTesting Solutions CalculatorWord Problems Calculatorangle to decimal calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.