Chilean RUT: what it is and how to test it
The RUT (Rol Único Tributario) is the identification number of people and companies in Chile, issued by the Servicio de Impuestos Internos and the Registro Civil. It is the number written on the identity card and asked in every online form, with a check digit that can be a digit or the letter K.
For tests only. These numbers have a correct format and check digit but belong to no real person or account. Never use them to deceive, to open accounts or to bypass a check. The numbers on this page come from the same generator as the tool, with a fixed seed so that the examples do not change; the tool creates new ones at every click.
Structure of the number
A body of 7 or 8 digits (roughly 1 million to 99 million), a hyphen and a check character, written 12.345.678-5. Companies and foundations use bodies from 50 million up.
The check digit, step by step
The digits of the body are taken from right to left and multiplied by the weights 2, 3, 4, 5, 6, 7, repeating the series if needed. The products are summed and the check character is 11 minus the remainder of the sum by 11: if the result is 11 it is 0, and if it is 10 it is written K.
Worked example with 7.566.228-9:
The digits are taken from right to left with the weights 2, 3, 4, 5, 6, 7 repeating:
| Position | Character | Value | Weight | Product |
|---|---|---|---|---|
| 1 | 8 | 8 | 2 | 16 |
| 2 | 2 | 2 | 3 | 6 |
| 3 | 2 | 2 | 4 | 8 |
| 4 | 6 | 6 | 5 | 30 |
| 5 | 6 | 6 | 6 | 36 |
| 6 | 5 | 5 | 7 | 35 |
| 7 | 7 | 7 | 2 | 14 |
Sum = 145; 145 mod 11 = 2; 11 - 2 = 9: the check digit is 9 (10 is written K and 11 is 0).
Valid examples
Five numbers generated by the tool with a fixed seed, each one accepted by its validator:
| Example (formatted) | Without mask | Validator |
|---|---|---|
7.566.228-9 | 75662289 | valid |
5.836.075-9 | 58360759 | valid |
24.617.454-7 | 246174547 | valid |
21.664.336-4 | 216643364 | valid |
25.242.417-2 | 252424172 | valid |
How the validator answers
The same first example, one with a changed ending and one truncated, checked by the validator:
| Value | Result | Reason |
|---|---|---|
7.566.228-9 | valid | - |
75662280 | invalid | the check digit should be 9 |
756622 | invalid | the check digit should be 8 |
Common mistakes
- The weights go from the right end of the body, not from the left: starting from the left gives the right result only by coincidence.
- A lowercase "k" is the same check character as "K": normalise the case before comparing, and remove the dots and the hyphen before computing.
Frequently asked questions
When is the check digit of a RUT a K?
When 11 minus the remainder of the weighted sum is 10. Two digits are not enough to write it, so Chile uses the letter K. A form that only accepts digits rejects roughly 1 in 11 valid RUT.
Is 12.345.678-5 a valid RUT?
By the check digit, yes: it is the common documentation example. It does not belong to a person we know of, but it is not reserved either, so keep it to tests.
Can I use a Chilean RUT number generated here in a real system?
No. A number such as 7.566.228-9 has a correct format and check, but nobody was issued it, and it may coincide with a real holder by chance. Use it in test environments, demos and automated tests that never leave your control.