Skip to content
D DocNectar

Free Condition Number Calculator

Compute a matrix's condition number (the ratio of its largest to smallest singular value) for a 2x2 to 6x6 matrix.

100% Free No Signup Works on all devices

Built and fact-checked by the DocNectar team — see our editorial standards

Thanks for rating!

Key Features

Instant Calculation

Get accurate results in real time with our optimized algorithm.

Mobile Friendly

Fully responsive design. Works on all devices & screen sizes.

Privacy Focused

Your data stays on your device. We don't store any inputs.

100% Free

No hidden costs. This tool is completely free forever.

A matrix's condition number measures how sensitive solutions to Ax=b are to small errors in A or b — a large condition number means tiny input changes can cause wildly different outputs. This tool computes it via the same singular value decomposition used by the SVD calculator.

How it works

The matrix's singular values are found through SVD (via Jacobi rotations on AᵀA), and the condition number is simply the largest singular value divided by the smallest.

  1. Click Calculate to see your results.

Examples

A well-conditioned matrix

The identity matrix has all singular values equal to 1, giving a condition number of exactly 1 — the best possible case.

An ill-conditioned matrix

A matrix with singular values 100 and 0.01 has a condition number of 10,000 — small input errors could be amplified enormously.

Who should use it

  • Numerical linear algebra and scientific computing coursework.
  • Checking whether a matrix is safe to invert numerically before relying on the result.

Industry applications

  • Numerical analysis
  • Engineering simulation and scientific computing

Advantages

  • Reuses the same verified SVD engine as the site's SVD calculator.
  • Explicitly flags singular (infinite condition number) matrices.

Limitations

  • Limited to square matrices up to 6x6.

Common mistakes to avoid

  • Assuming a large determinant means a matrix is well-conditioned — determinant size and condition number are not directly related.

Best practices

  • Treat a condition number above roughly 100-1000 as a signal that numerical solutions (e.g. from Gaussian elimination) may lose significant precision.

Tips

  • If you're solving Ax=b and get suspiciously different answers from small changes in b, check A's condition number first — it's often the culprit.

Frequently asked questions

A condition number of 1 (the smallest possible value) means the matrix is perfectly well-conditioned — it doesn't amplify any errors in input data.
A singular matrix has a zero singular value, which makes the condition number infinite — this tool reports that case explicitly rather than dividing by zero.

Get new calculators and guides in your inbox

No spam — just new tools like Condition Number Calculator and practical guides.

Favorites