Quadratic Equation Solver

Quadratic Equation Solver lets you the discriminant b²−4b determines real or complex roots of ax²+bx+c=0. Enter your own values or load the worked example.

Method and calculation

The discriminant b²−4b determines real or complex roots of ax²+bx+c=0.

Inputs and settings

Quadratic Equation Solver accepts a (signed value); b (signed value); c (signed value).

Worked example

Quadratic Equation Solver example — a: 1; b: -5; c: 6. Computed output: { "roots": [ 3, 2 ] }

Output and limitations

Quadratic Equation Solver: Use finite inputs. Results use double-precision arithmetic.

Technical references: JavaScript numerical operations

Quadratic Equation Solver FAQs

Quadratic Equation Solver applies the following rule to your input: The discriminant b²−4b determines real or complex roots of ax²+bx+c=0. The worked example on this page uses the same processor as the result button.
Quadratic Equation Solver has these boundaries: Use finite inputs. Results use double-precision arithmetic. Start by checking the a field against the units or format shown.
Quadratic Equation Solver provides this sample: { "roots": [ 3, 2 ] }. Use the sample button to reproduce it, then replace the inputs with your own values.