Completing the Square
Rewrite a quadratic in vertex form.
ax² + bx + c = a(x − h)² + k
Open calculatorInteractive mathematics suite
AllMath is a growing collection of interactive math and science calculators that show the formulas, substitutions, and steps behind every answer—from pre-algebra and calculus to chemistry, physics, unit conversions, and beyond.
Enter values directly into familiar formulas, choose the precision you need, and see both the answer and the working—free, with no account required.
Explore by topicExplore topic 01
Solve equations, work with quadratics, factor expressions, and explore functions and proportions.
Rewrite a quadratic in vertex form.
ax² + bx + c = a(x − h)² + k
Open calculatorFind a variation constant or an unknown.
Direct: y = kx; inverse: y = k/x
Open calculatorClassify the roots of a quadratic.
D = b² − 4ac
Open calculatorSolve a linear equation with fractional coefficients.
(ax + b) / m = (cx + d) / n
Open calculatorFind real or complex quadratic roots.
x = (−b ± √(b² − 4ac)) / 2a
Open calculatorFind the vertex of a parabola.
h = −b / 2a; k = f(h)
Open calculatorFind b from a line or point and slope.
Ax + By + C = 0; y-intercept = −C / B
Open calculatorExpand a binomial with Pascal coefficients.
(a + b)ⁿ = Σ C(n,k)aⁿ⁻ᵏbᵏ
Open calculatorSafely substitute into an algebraic function.
f(x) → f(value)
Open calculatorSolve one unknown in a/b = c/d.
a / b = c / d ⇒ ad = bc
Open calculatorClassify and solve a 2×2 system.
ax + by = c; dx + ey = f
Open calculatorSolve a 2×2 system by determinants.
x = Dₓ / D; y = Dᵧ / D
Open calculatorSolve linear and quadratic polynomial equations.
ax² + bx + c = 0
Open calculatorFactor integer quadratic expressions.
ax² + bx + c = a(x − r₁)(x − r₂)
Open calculatorConvert line equation forms.
y − y₁ = m(x − x₁)
Open calculatorGaussian elimination for a 3×3 system.
[A | b] → RREF([A | b])
Open calculatorEvaluate the current function at x=0.
y-intercept = (0, f(0))
Open calculatorFit y=ax²+bx+c through three points.
y = ax² + bx + c
Open calculatorBoundary style and shading guidance.
Ax + By ≶ C
Open calculatorEvaluate log base b.
logₑ(x) = ln(x) / ln(b)
Open calculatorExplore topic 02
Calculate slopes, midpoints, line equations, and distances on two- and three-dimensional coordinate planes.
Find the midpoint of two 2D points.
M = ((x₁ + x₂) / 2, (y₁ + y₂) / 2)
Open calculatorFind slope from two points.
m = (y₂ − y₁) / (x₂ − x₁)
Open calculatorFind 2D distance.
d = √((x₂ − x₁)² + (y₂ − y₁)²)
Open calculatorDistance from a point to Ax+By+C=0.
d = |Ax₀ + By₀ + C| / √(A² + B²)
Open calculatorBuild a circle equation from center and radius.
(x − h)² + (y − k)² = r²
Open calculatorClassify a point as inside, on, or outside.
(x − h)² + (y − k)² compared with r²
Open calculatorRewrite y=f(x−h)+k and explain its graph shift.
y = f(x − h) + k
Open calculatorDistance between two 3D points.
d = √((Δx)² + (Δy)² + (Δz)²)
Open calculatorUse a cross product to test three points.
(x₂−x₁)(y₃−y₁) − (y₂−y₁)(x₃−x₁) = 0
Open calculatorMidpoint between two 3D points.
M = ((x₁+x₂)/2, (y₁+y₂)/2, (z₁+z₂)/2)
Open calculatorBuild a sphere equation.
(x−h)² + (y−k)² + (z−ℓ)² = r²
Open calculatorCreate line equations from two points.
m = (y₂−y₁)/(x₂−x₁); y−y₁=m(x−x₁)
Open calculatorDistance between parallel standard-form lines.
d = |C₂ − C₁| / √(A² + B²)
Open calculatorExplore topic 03
Measure triangles, circles, polygons, and solids with their standard geometric formulas.
Solve for a missing side of a right triangle.
a² + b² = c²
Open calculatorAreas of common plane shapes.
A = length × width, πr², or bh / 2
Open calculatorSurface areas of common solids.
SA = sum of every exterior face area
Open calculatorCircumference from radius or diameter.
C = 2πr = πd
Open calculatorSolve standard triangle cases.
c² = a² + b² − 2ab cos C
Open calculatorLateral areas of common solids.
LA = perimeter × height (or slant height)
Open calculatorFind a regular polygon apothem.
a = s / (2 tan(π/n))
Open calculatorConical and pyramidal frustum measurements.
V = πh(R² + Rr + r²) / 3
Open calculatorProperties of standard-form conic sections.
Circle, ellipse, parabola, and hyperbola standard forms
Open calculatorExplore topic 04
Investigate patterns, finite and infinite series, prime numbers, modular arithmetic, and scientific notation.
Sum a convergent geometric series.
S∞ = a / (1 − r)
Open calculatorArithmetic and geometric terms and sums.
aₙ = a₁ + (n − 1)d or a₁rⁿ⁻¹
Open calculatorTest an integer efficiently for primality.
n is prime when its only positive factors are 1 and n
Open calculatorFind the Euclidean quotient and nonnegative remainder.
a = bq + r, 0 ≤ r < b
Open calculatorConvert scientific and ordinary notation.
N = a × 10ⁿ, 1 ≤ |a| < 10
Open calculatorArithmetic, geometric, infinite, or explicit sums.
Sₙ = Σaₖ
Open calculatorReduce radicals to exact simplest form.
√n = a√b
Open calculatorGenerate Fibonacci terms and find an exact nth term.
Fₙ = Fₙ₋₁ + Fₙ₋₂
Open calculatorTest or generate integer right-triangle triples.
a² + b² = c²
Open calculatorApply a safely parsed recurrence to a starting value.
xₙ₊₁ = f(xₙ)
Open calculatorExplore topic 05
Analyze data and matrices, evaluate trigonometric relationships, and calculate with vectors.
Descriptive statistics for a data list.
x̄ = Σx / n
Open calculatorWork with 2×2 or 3×3 matrices.
A⁻¹ = adj(A) / det(A)
Open calculatorRegression line, r, and r².
ŷ = mx + b
Open calculatorEvaluate six trigonometric functions.
sin θ, cos θ, tan θ and their reciprocals
Open calculatorGeometric mean of positive values.
GM = (x₁x₂⋯xₙ)¹⁄ⁿ
Open calculatorMagnitude and atan2 direction of a vector.
|v| = √(x² + y²); θ = atan2(y,x)
Open calculatorAdd multiple 2D or 3D vectors.
⟨x₁,y₁⟩ + ⟨x₂,y₂⟩ = ⟨x₁+x₂,y₁+y₂⟩
Open calculatorConvert between decimal degrees and degrees, minutes, seconds.
decimal = degrees + minutes / 60 + seconds / 3600
Open calculatorSolve three linear equations and display every determinant.
x = Dₓ/D; y = Dᵧ/D; z = D_z/D
Open calculatorExplore topic 06
Convert everyday and scientific measurements with explicit source and target units.
Convert between common length units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common area units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common volume units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common mass units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common time units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common speed units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common acceleration units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common angle units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common temperature units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common force units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common pressure units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common energy units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common power units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common torque units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common density units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common frequency units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common electric current units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common voltage units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common resistance units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common charge units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common capacitance units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common data storage units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common fuel economy units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common flow rate units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorConvert between common cooking measurements units with a visible conversion factor.
target value = source value × conversion factor
Open calculatorExplore topic 07
Solve foundational chemistry relationships with formulas, validation, and shown work.
Calculate chemical equation balancing with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate moles, mass, and molar mass with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate particles and avogadro’s number with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate percent composition with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate empirical formula with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate molecular formula with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate molarity with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate molality with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate dilution with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate stoichiometry with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate limiting reactant with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate theoretical yield with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate percent yield with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate chemistry density with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate ideal gas law with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate combined gas law with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate boyle’s law with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate charles’s law with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate gay-lussac’s law with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate dalton’s law with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate specific heat and calorimetry with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate phase-change heat with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate ph and poh with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate henderson-hasselbalch equation with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate beer-lambert law with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate first-order reaction rate with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate chemistry half-life with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate arrhenius equation with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate radioactive decay with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate nernst equation with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorExplore topic 08
Explore mechanics, waves, optics, electricity, thermodynamics, and modern physics.
Calculate velocity and acceleration with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate constant-acceleration kinematics with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate projectile motion with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate newton’s second law with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate weight with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate friction with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate hooke’s law with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate centripetal motion with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate physics work with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate kinetic and potential energy with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate physics power with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate efficiency with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate momentum with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate impulse with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate collisions with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate angular velocity and acceleration with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate physics torque with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate rotational energy with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate angular momentum with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate gravitation with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate orbital velocity and period with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate escape velocity with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate wave speed with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate frequency and period with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate simple harmonic motion with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate pendulum period with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate sound intensity and decibels with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate snell’s law with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate lens and mirror equations with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate magnification with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate ohm’s law with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate electric power with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate series and parallel resistance with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate physics capacitance with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate rc charging and discharging with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate coulomb’s law with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate electric field and potential with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate magnetic force with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate faraday’s law with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate transformer ratios with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate thermodynamics with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate thermal expansion with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate relativity with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate photon energy with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate de broglie wavelength with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate photoelectric effect with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorExplore topic 09
Calculate astronomical distances, stellar properties, geodesy, earthquakes, and atmospheric pressure.
Calculate light-travel distance with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate parallax distance with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate distance modulus with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate luminosity and flux with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate wien’s law with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate stefan-boltzmann law with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate great-circle distance with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate earthquake magnitude and energy with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate atmospheric pressure vs altitude with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorExplore topic 10
Model populations, genetics, dilution, decay, and microscopy for educational use.
Calculate exponential population growth with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate logistic population growth with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate doubling time with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate hardy-weinberg equilibrium with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate serial dilution with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate biological half-life and decay with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate microscopy magnification with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorExplore topic 11
Apply common electronics, circuits, machines, and materials relationships.
Calculate voltage divider with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate led current-limiting resistor with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate rc time constant with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate rl time constant with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate resonant frequency with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate ac rms with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate gear ratio with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate mechanical advantage with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate stress with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate strain with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculatorCalculate young’s modulus with validated inputs, formula substitution, and worked steps.
Use the relationship shown in the interactive formula panel.
Open calculator