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
- Enter size n, scale (k·i).
- The result updates instantly as you type — press Calculate (or Enter) at any time.
- Review the breakdown shown under the main result.
- 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 ]