Skip to content
Calculator Tools
Matrix Calculators

Identity Matrix Calculator

Generate an n × n identity matrix (ones on the diagonal, zeros elsewhere) and multiples of it.

Enter values

Results update as you type.

Result

1·I3

[ 1 0 0 ] [ 0 1 0 ] [ 0 0 1 ]

About the Identity Matrix Calculator

Generate an n × n identity matrix (ones on the diagonal, zeros elsewhere) and multiples of it.

Also known as: identity matrix, unit matrix, i matrix.

How to use this calculator

  1. Enter size n, scale (k·i).
  2. The result updates instantly as you type — press Calculate (or Enter) at any time.
  3. Review the breakdown shown under the main result.
  4. Use Copy result or Share to save the answer or send a link with your inputs.

Formula

Iᵢⱼ = 1 if i = j, else 0

Worked example

Using the values pre-filled in the calculator above:

  • Size n = 3
  • Scale (k·I) = 1

the calculator returns:

  • 1·I3: [ 1 0 0 ] [ 0 1 0 ] [ 0 0 1 ]