yCalculator

Quadratic Formula Calculator

Last updated: April 2026

Coefficients

x^2 - 5x + 6 = 0

Δ = -5² - 4 × 1 × 6 = 1

Two distinct real solutions

Solutions

x1

3

x2

2

Factored form

(x - 3)(x - 2) = 0

Sum of roots

5

Product of roots

6

Step-by-step working
  1. Identify coefficients: a = 1, b = -5, c = 6
  2. Delta = b^2 - 4ac
  3. Delta = (-5)^2 - 4(1)(6)
  4. Delta = 25 - 24 = 1
  5. x = (-b +/- sqrt(Delta)) / 2a
  6. x = (5 +/- 1) / 2
  7. x1 = 3, x2 = 2
  8. Verification x=3: 1(9) + -5(3) + 6 = 0
  9. Verification x=2: 1(4) + -5(2) + 6 = 0

The quadratic formula explained

The quadratic formula solves any equation in the form ax² + bx + c = 0, even when it cannot be factored neatly.

What is the discriminant?

The discriminant, b² - 4ac, tells you how many roots the quadratic has and whether they are real or complex.

How to factor quadratic equations

If the roots are simple integers, the equation can often be written as a product of two brackets.

Vertex form and parabolas

Vertex form shows the turning point of the parabola directly. If a is positive it opens upward; if a is negative it opens downward.

About this calculator

The Quadratic Formula Calculator solves equations in the form ax^2 + bx + c = 0. It is useful for algebra homework, graphing parabolas, physics problems, optimisation examples, and checking whether a quadratic has two real roots, one repeated root, or complex roots. Use this expanded guide when the Quadratic Formula Calculator result needs to be explained, checked, or reused in another calculation. It is especially useful for students and technical users solving quadratic equations and interpreting roots. The best habit is to treat the calculator as a method checker: write down the formula, enter the values, then compare the result with a rough mental estimate or a simpler example.

Quadratic Formula Calculator formula and method

The calculator substitutes a, b, and c into the quadratic formula. It also evaluates the discriminant, b^2 - 4ac, because the discriminant controls the number and type of roots. The calculator follows the mathematical rule selected by the inputs. To make the result reliable, keep the definitions clear and check whether the problem is asking for whether roots are real or complex, which coefficients belong in the formula, how the roots relate to a parabola graph. If two methods seem possible, run a small example first and confirm which convention the question expects.

  • x = (-b +/- sqrt(b^2 - 4ac)) / (2a)
  • discriminant = b^2 - 4ac
  • axis of symmetry = -b / (2a)
  • reliable answer = correct formula + compatible units + sensible rounding
  • manual check = substitute values into the formula before rounding

How to use the Quadratic Formula Calculator

  1. Choose the calculation mode or shape that matches the problem, then gather a coefficient, b coefficient, c coefficient.
  2. Check units, notation, and whether the question expects an exact value, decimal approximation, percentage, or rounded answer.
  3. Enter known values only once and keep a note of any assumed value so the calculation can be repeated.
  4. Review the main outputs: root 1, root 2, discriminant.
  5. Run a simple test case you can verify mentally to make sure the input order and units are correct.
  6. Adjust precision or rounding only at the end unless the problem specifically asks for rounded intermediate values.
  7. Compare the result with algebra formula sheet or course specification when the answer is for coursework, engineering, statistics, coding, or a formal report.
  8. Read the problem once for the goal and once for the inputs: a coefficient, b coefficient, c coefficient, precision setting.
  9. Draw a quick diagram, table, number line, or expression tree if the relationship is easier to see visually.
  10. Check restrictions before calculating, such as non-zero denominators, compatible dimensions, valid probabilities, or allowed number bases.
  11. Enter the values in the same order used by the formula.
  12. Review the outputs: root 1, root 2, discriminant, root type.
  13. Compare the answer with a rough estimate so obvious input errors are caught early.
  14. Round the final answer to the precision requested by the problem or report.

Worked example

Solve a quadratic

Input: 2x^2 - 5x - 3 = 0.

Calculation: a = 2, b = -5, c = -3. Discriminant = 25 + 24 = 49. x = (5 +/- 7) / 4.

Result: The roots are x = 3 and x = -0.5.

Repeated root scenario

Input: x^2 - 6x + 9 = 0.

Calculation: Discriminant = 36 - 36 = 0, so both roots equal -b / 2a = 3.

Result: The equation has one repeated real root, x = 3.

Complex roots scenario

Input: x^2 + 4x + 8 = 0.

Calculation: Discriminant = 16 - 32 = -16.

Result: There are no real roots; complex-number mode is needed.

What this calculator is solving

The Quadratic Formula Calculator is for students and technical users solving quadratic equations and interpreting roots. It turns the known values into a structured calculation so you can focus on the method, units, and interpretation rather than doing every arithmetic step by hand.

For best results, write the formula first, substitute the numbers second, and then round the final answer. That habit makes it easier to spot mistakes and explain the result later.

InputWhat it representsCheck before calculating
a coefficientA known value, selected method, or setting used by the calculator.Confirm the unit, sign, order, and whether the value is measured, estimated, or exact.
b coefficientA known value, selected method, or setting used by the calculator.Confirm the unit, sign, order, and whether the value is measured, estimated, or exact.
c coefficientA known value, selected method, or setting used by the calculator.Confirm the unit, sign, order, and whether the value is measured, estimated, or exact.
precision settingA known value, selected method, or setting used by the calculator.Confirm the unit, sign, order, and whether the value is measured, estimated, or exact.
equation formA known value, selected method, or setting used by the calculator.Confirm the unit, sign, order, and whether the value is measured, estimated, or exact.

How to read the result

Math results can look precise even when the inputs are rounded or estimated. A calculator can produce many decimal places, but the useful answer is the one that matches the accuracy of the original problem.

root 1
Read this output with its unit, sign, and rounding rule. If the output feeds into another calculation, keep extra precision until the final answer.
root 2
Read this output with its unit, sign, and rounding rule. If the output feeds into another calculation, keep extra precision until the final answer.
discriminant
Read this output with its unit, sign, and rounding rule. If the output feeds into another calculation, keep extra precision until the final answer.
root type
Read this output with its unit, sign, and rounding rule. If the output feeds into another calculation, keep extra precision until the final answer.
axis of symmetry
Read this output with its unit, sign, and rounding rule. If the output feeds into another calculation, keep extra precision until the final answer.

Practical uses

The same formula can support classroom work, spreadsheet checks, programming tasks, construction estimates, lab reports, data analysis, and quick sanity checks. The important part is matching the calculator method to the situation.

whether roots are real or complex
Use the calculator to compare the result with an expected range. If the answer is far outside that range, revisit the inputs before trusting the number.
which coefficients belong in the formula
Use the calculator to compare the result with an expected range. If the answer is far outside that range, revisit the inputs before trusting the number.
how the roots relate to a parabola graph
Use the calculator to compare the result with an expected range. If the answer is far outside that range, revisit the inputs before trusting the number.

Precision, units, and notation

Most wrong answers come from small setup errors: mixing units, reversing an input order, using degrees when radians are expected, rounding too early, or treating a percentage as a whole number. Make the notation explicit before entering values.

CheckWhy it matters
UnitsLengths, areas, volumes, rates, and angles must use compatible units.
OrderCoordinate pairs, matrix rows, base/exponent values, and numerator/denominator positions are order-sensitive.
RoundingIntermediate rounding can change final results, especially in statistics and scientific notation.
DomainSome operations are undefined or restricted, such as division by zero or square roots of negative numbers in real-number mode.

Common mistakes and edge cases

Use the edge cases below as a checklist before relying on the result. They are especially important when a result will be copied into homework, a spreadsheet, code, a design note, or a report.

The a coefficient cannot be zero for a quadratic.
If this applies, rerun the calculation with corrected inputs or use a more specific calculator for the next step.
Negative b values require careful substitution.
If this applies, rerun the calculation with corrected inputs or use a more specific calculator for the next step.
A negative discriminant gives complex roots.
If this applies, rerun the calculation with corrected inputs or use a more specific calculator for the next step.
Equations may need rearranging before coefficients are entered.
If this applies, rerun the calculation with corrected inputs or use a more specific calculator for the next step.

Manual check strategy

A calculator is fastest when the setup is already clear. For the Quadratic Formula Calculator, start by naming each variable and writing the formula before entering numbers. This prevents common mistakes such as swapping coordinates, using a diameter as a radius, adding probabilities that should be multiplied, or using a formula for the wrong shape.

After calculating, use estimation. If an area is smaller than one of its dimensions, a probability is above 100%, a distance is negative, or a sample size is a decimal response count, the answer needs another look.

equation statement
Use this to keep the calculation traceable. In math work, the record is often the original expression, diagram, dataset, or formula convention rather than a formal document.
coefficient notes
Use this to keep the calculation traceable. In math work, the record is often the original expression, diagram, dataset, or formula convention rather than a formal document.
graph sketch
Use this to keep the calculation traceable. In math work, the record is often the original expression, diagram, dataset, or formula convention rather than a formal document.
rounding requirement
Use this to keep the calculation traceable. In math work, the record is often the original expression, diagram, dataset, or formula convention rather than a formal document.
complex-number instruction
Use this to keep the calculation traceable. In math work, the record is often the original expression, diagram, dataset, or formula convention rather than a formal document.

Inputs that deserve extra care

Many math mistakes are not arithmetic mistakes. They happen before calculation starts: a unit is mixed, a coordinate is reversed, a base is misunderstood, or a rounded value is reused too early.

InputWhy it mattersQuick check
a coefficientIt controls the formula, operation, or interpretation of the answer.Check unit, sign, order, domain, and whether the value is exact or rounded.
b coefficientIt controls the formula, operation, or interpretation of the answer.Check unit, sign, order, domain, and whether the value is exact or rounded.
c coefficientIt controls the formula, operation, or interpretation of the answer.Check unit, sign, order, domain, and whether the value is exact or rounded.
precision settingIt controls the formula, operation, or interpretation of the answer.Check unit, sign, order, domain, and whether the value is exact or rounded.
equation formIt controls the formula, operation, or interpretation of the answer.Check unit, sign, order, domain, and whether the value is exact or rounded.

Interpreting the answer

The answer should match the kind of quantity being calculated. A length should have length units, an area should have square units, a probability should sit between 0 and 1, and a count should usually be a whole number.

root 1
Check whether this output is an exact value, an approximation, a rounded display value, or an intermediate result for a later step.
root 2
Check whether this output is an exact value, an approximation, a rounded display value, or an intermediate result for a later step.
discriminant
Check whether this output is an exact value, an approximation, a rounded display value, or an intermediate result for a later step.
root type
Check whether this output is an exact value, an approximation, a rounded display value, or an intermediate result for a later step.
axis of symmetry
Check whether this output is an exact value, an approximation, a rounded display value, or an intermediate result for a later step.

When to use a related calculator

Many math tasks are chained. A circle area may feed into a volume calculation, a z-score may feed into a probability check, and a factorisation may feed into an LCM or ratio problem. If the next step uses a different rule, switch calculators rather than forcing one page to do everything.

Quality checklist

Before copying the result, check the edge cases below. They catch the errors that most often make a correct-looking answer wrong.

The a coefficient cannot be zero for a quadratic.
If this warning applies, correct the setup and calculate again before using the result.
Negative b values require careful substitution.
If this warning applies, correct the setup and calculate again before using the result.
A negative discriminant gives complex roots.
If this warning applies, correct the setup and calculate again before using the result.
Equations may need rearranging before coefficients are entered.
If this warning applies, correct the setup and calculate again before using the result.

Important edge cases

  • The a coefficient cannot be zero for a quadratic.
  • Negative b values require careful substitution.
  • A negative discriminant gives complex roots.
  • Equations may need rearranging before coefficients are entered.

Limitations

This guide is for general educational information only. The calculator gives a mathematical estimate or exact arithmetic result from the inputs. It cannot decide whether a modelling assumption, measurement, sample, or real-world interpretation is appropriate. This guide is for general educational information only. The calculator follows standard mathematical rules, but it cannot know whether the model is appropriate for the real-world situation. Measurements, samples, assumptions, and data quality still need human judgement.

  • Use exact values where the problem gives them and delay rounding until the final answer.
  • Check units, domains, and definitions before using the answer in a technical or academic setting.
  • Compare the result with algebra formula sheet or course specification where the calculation is part of formal coursework, engineering, statistics, coding, or research work.
  • Check algebra formula sheet or course specification if the calculation must follow a specific course, exam board, software, engineering, or research convention.
  • Use exact values until the final step where possible.
  • For high-stakes technical work, verify results independently and document the formula used.

Frequently asked questions

Can I use the Quadratic Formula Calculator for homework?

Yes, but use it to check your method rather than simply copy the final answer. Write down the formula, substitution, and rounding rule.

Why does my answer differ from a textbook or spreadsheet?

Common reasons are rounding, unit conversion, input order, degree versus radian mode, or a different formula convention.

Should I round intermediate steps?

Usually no. Keep extra precision during the calculation and round the final answer to the required number of decimal places or significant figures.

What is the discriminant?

It is b^2 - 4ac. It shows whether a quadratic has two real roots, one repeated root, or complex roots.

What if a equals zero?

Then the equation is not quadratic. It becomes linear if b is not zero.

Do I enter signs with coefficients?

Yes. For 2x^2 - 5x - 3, b is -5 and c is -3.

Can every quadratic be solved this way?

Yes, the quadratic formula applies to all quadratic equations, including those with complex roots.

Why are there two answers?

A parabola can cross the x-axis twice, once, or not at all in real-number mode.

Related calculators

  • Exponent and Root Calculator
  • Scientific Calculator
  • Logarithm Calculator
  • Triangle Calculator

What does this mean?

This calculator is designed to help you understand the likely number before you make a decision or start an application.

Your result should be checked against official UK guidance, especially if your circumstances include dependants, exemptions, prior leave, or a complex immigration history.

Treat the figure as a planning tool rather than legal advice. Where the answer affects an application deadline or major payment, speak to an authorised adviser.

Related Math calculators

math calculators

Triangle Calculator

Solve any triangle using SSS, SAS, ASA, AAS, SSA, right triangle, and Pythagorean theorem modes

Calculate ->

math calculators

Area Calculator

Calculate the area of common 2D shapes with formula substitutions and unit conversions

Calculate ->

math calculators

Volume Calculator

Calculate volume for common 3D shapes with formulas, cubic units and litre conversions

Calculate ->