eNB / gNB ID calculator
Convert an LTE, 5G NR or UMTS cell ID to its eNB/gNB and sector, or the other way around.
eNB ID106,770
Sector / cell ID1
The formula
A cell identity packs a node ID (eNB, gNB, or RNC-eNB) and a local sector/cell number into one integer. This site's own import pipeline (README §3) uses the same bit split to cluster raw cells into physical sites:
- LTE:
eNB = CellID ≫ 8,sector = CellID mod 256(28-bit ECI, low 8 bits are the cell). - 5G NR:
gNB = CellID ≫ 12,cell = CellID mod 4096(36-bit NCI, low 12 bits are the cell). - UMTS:
RNC-eNB = CellID ≫ 16,cell = CellID mod 65536.
Worked example: LTE Cell ID 27333121 → eNB 106770, sector 1 (since 27333121 = 106770 × 256 + 1).