To find the length of the hypotenuse of a right triangle, we can use the Pythagorean theorem, which states:
\[ c^2 = a^2 + b^2 \]
where \(c\) is the length of the hypotenuse, and \(a\) and \(b\) are the lengths of the legs of the triangle.
In this case, the lengths of the legs are 5 inches and 12 inches. We can plug these values into the equation:
\[ c^2 = 5^2 + 12^2 \]
Calculating \(5^2\) and \(12^2\):
\[ c^2 = 25 + 144 \] \[ c^2 = 169 \]
Now, to find \(c\), we take the square root of both sides:
\[ c = \sqrt{169} = 13 \]
Thus, the length of the hypotenuse is \(\boxed{13}\) inches.