Condition Number Calculator

Quick answer

The condition number calculator computes cond(A) = ‖A‖·‖A⁻¹‖ for a 2 × 2 or 3 × 3 matrix in the 1-norm, 2-norm, ∞-norm, Frobenius or max norm.

Condition number cond(A)
14.93303437
‖A‖
5.464985704
‖A⁻¹‖
2.732492852
A⁻¹
⎡ −2 1 ⎤ ⎣ 3/2 −1/2 ⎦

The condition number measures how sensitive the solution of Ax = b is to small changes in A or b. A condition number of 10ᵏ means you can lose about k digits of accuracy, which matters in numerical computing and data fitting.

How to use the Condition Number Calculator

  1. Choose the matrix size. The matching grid of fields appears.
  2. Enter the entries row by row (a₁ b₁ c₁ is the first row, a₂ b₂ c₂ the second, and so on).
  3. Read the result; integer matrices give exact fractions.

Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.

How it works

The inverse is computed exactly and both norms are evaluated in the chosen norm. In the 2-norm, cond(A) is the ratio of the largest to the smallest singular value.

Formula

cond(A) = ‖A‖ · ‖A⁻¹‖ (∞ if A is singular)

Worked example

Inputs: Matrix size: 2 × 2; a₁: 1; b₁: 2; a₂: 3; b₂: 4; Matrix norm: 2-norm.
Results: Condition number cond(A) = 14.93303437; ‖A‖ = 5.464985704; ‖A⁻¹‖ = 2.732492852; A⁻¹ = ⎡ −2 1 ⎤
⎣ 3/2 −1/2 ⎦.

Key terms

Ill-conditioned
Very sensitive to small changes in the data.

Frequently asked questions

What is a good condition number?

Close to 1. Values above about 10¹² are ill-conditioned in double precision.

What does an infinite condition number mean?

The matrix is singular.

Which norm should I use?

The 2-norm is most common; others give similar orders of magnitude.

Is the condition number the same as the determinant?

No, a tiny determinant does not by itself mean ill-conditioning.

Sources

  1. Wolfram MathWorld: Condition number
  2. MIT OpenCourseWare: 18.06 Linear Algebra (Gilbert Strang)
  3. Jim Hefferon: Linear Algebra (free textbook)

Cite this calculator

Speedy Calculator. (2026). Condition Number Calculator. Speedy Calculator. https://speedycalculator.com/calculators/math/condition-number/