Skip to main content
Check Digit Calculator
Banking

LEI Check Digit Calculator

Calculate LEI check digits from an eighteen-character entity identifier. Convert letters to numbers and apply the Modulus 97 rule.

Last updated:

Banking & Financial Standards

Calculate legal entity identifier checks.

Length: 10 chars
Calculated Check Character / Checksum
--Ready
Complete Validated Sequence:
--
Arithmetic Steps & Mathematical Specification

Initialising algorithm engine for LEI Check Digit Calculator...

How LEI Check Digit Calculator Works?

The LEI Check Digit Calculator adds 00 to the 18-character payload. It converts letters to numbers, finds the remainder modulo 97 and subtracts it from 98. LEI means Legal Entity Identifier.

  1. 1Enter the 4-character LOU prefix, the 2 reserved characters, and the 12-character entity code.
  2. 2Append 00.
  3. 3Replace letters with numbers (A = 10 … Z = 35).
  4. 4Subtract the LEI remainder modulo 97 from 98.
  5. 5Pad to 2 digits and append as characters 19–20.

LEI Check Digit Calculator Formula

The LEI formula is Check = 98 − (num(payload + 00) mod 97), per ISO 17442 and ISO 7064 MOD 97-10.

Check = 98 − (num(LEI₁…₁₈ ‖ "00") mod 97)
valid ⇔ num(LEI) mod 97 = 1
  • LEI₁…₁₈ is the 18-character payload.
Worked example: 5493001KJTIIGC8Y1R
Numeric = 54930012019291818161283412700
mod 97 = 86
Check = 12
LEI = 5493001KJTIIGC8Y1R12

LEI Check Digit Calculator Conversion Table

The LEI conversion table lists LEI payloads with their check digits.

LOU prefixEntity partCheck digitsLEI
5493001KJTIIGC8Y1R125493001KJTIIGC8Y1R12
7LTWFZYICNSX8D621K867LTWFZYICNSX8D621K86
529900T8BM49AURSDO55529900T8BM49AURSDO55
213800ABCDEFGHIJKL82213800ABCDEFGHIJKL82
HWUPKR0MPOU8FGXBT394HWUPKR0MPOU8FGXBT394

What is LEI Check Digit Calculator?

An LEI Check Digit Calculator is a tool that computes the last 2 digits of a 20-character Legal Entity Identifier. An LEI identifies legal entities in financial transactions worldwide.

The Global Legal Entity Identifier Foundation (GLEIF) oversees about 40 Local Operating Units (LOU) that issue LEIs. Regulations such as MiFID II and EMIR require LEIs in transaction reports.

What are the uses of LEI Check Digit Calculator?

There are 3 main uses of the LEI Check Digit Calculator, including regulatory reporting, counterparty onboarding, and data checks.

  • Regulatory reporting: Firms validate LEIs in MiFID II, EMIR, and Dodd-Frank reports.
  • Counterparty onboarding: Compliance teams check LEIs on KYC forms.
  • Data checks: Data teams find mistyped LEIs before GLEIF lookups.