🇪🇨 ECUADOR · TAX ID

RUC validator (free) — Ecuador

The RUC (Registro Único de Contribuyentes) is Ecuador's tax identifier issued by SRI. It has 13 digits with three algorithm variants depending on entity type: natural person, public entity, or private company. This tool validates format and check digit for all three types client-side.

Validates locally — your data never leaves your browser. No tracking on input. Format and check-digit validation only.

Validates locally — your data never leaves your browser. No tracking on input.

How RUC (Ecuador) validation works

A 13-digit Ecuadorian RUC starts with a 2-digit province code (01-24 or 30) and a 3rd digit that selects the algorithm variant: 0-5 (natural person), 6 (public entity), or 9 (private/foreign company). The last 3 digits are the establishment code (001, 002, …).

Natural person (digit 3 = 0-5): the first 10 digits are the cédula. Validate with a Luhn-like Mod-10 algorithm: weights [2,1,2,1,2,1,2,1,2] applied to the first 9 digits; if a doubled digit > 9, subtract 9; sum; check digit is (10 − sum mod 10) % 10. Establishment must be 001.

Public entity (digit 3 = 6): apply Mod-11 with weights [3,2,7,6,5,4,3,2] to the first 8 digits; check digit at position 9 = (11 − sum mod 11), wrapping 11 → 0. Private/foreign company (digit 3 = 9): same Mod-11 but with weights [4,3,2,7,6,5,4,3] over the first 8 digits.

This tool also validates the province code (digits 1-2 must be 01-24 or 30) and rejects unknown variants. It does not verify whether the RUC is active with SRI.

Frequently asked questions

Why are there three different algorithms?

Ecuador's RUC unifies three pre-existing numbering schemes: the cédula for natural persons, a Mod-11 with one weight set for public entities, and a different Mod-11 for private companies. SRI kept the legacy algorithms when consolidating them into the 13-digit RUC.

What does the establishment code mean?

Digits 11-13 identify the establishment (sucursal, planta, oficina). 001 is the main office; additional establishments get 002, 003, etc. Natural persons always have 001.

Does this validator confirm the RUC is active with SRI?

No. Format and check-digit validation only. Confirming active status requires a query to SRI's public RUC service.

Can I validate RUC via API?

Yes. Normadata's Verify API validates Ecuadorian RUC for all three variants alongside Peru's RUC, CUIT, RUT and 17 other Latin American tax IDs.

Want RUC validation in your app?

The Normadata Verify API validates Ecuadorian RUC alongside 17 other Latin American tax IDs with a single JSON call.

See the Verify API