How India's 6-digit PIN code works, digit by digit

Six digits route a letter from anywhere to one of about 1.65 lakh post offices. They were never meant to find your door, which is why DIGIPIN now exists.

The domed General Post Office building at BBD Bag in Kolkata
Photo: Rangan Datta Wiki, CC BY-SA 4.0, via Wikimedia Commons

An Indian PIN code is a six-digit sorting address read from left to right: the first digit names one of nine postal zones (eight regional zones plus 9 for the Army Postal Service), the second narrows it to a sub-zone, the third fixes the sorting district, and the last three identify the delivery post office. It tells the mail system which post office should deliver a letter, not which house it goes to. India Post's 2025 DIGIPIN fills that gap with a 10-character code for every 3.8 m square of the country.

Key takeaways
  • First three digits get a letter to the right sorting district; the last three pick the delivery post office.
  • 9 zones: 1 to 8 are regions, and 9 is the Army Postal Service.
  • One PIN covers about 179 sq km and 1.35 lakh households on average (Bhattacharya et al., 2018 estimate), so it cannot find a door.
  • 30 to 40% of PINs on shipments are written wrongly, sending parcels to the wrong hub.
  • DIGIPIN (May 2025) splits India 4 × 4, ten times over, into cells about 3.8 m wide.

The system began on 15 August 1972, introduced by Shriram Bhikaji Velankar, then an additional secretary in the Ministry of Communications. It was meant to cut the confusion of look-alike place names, many scripts and incomplete addresses.

Half a century later, the same six digits still drive sorting at India Post and at every courier and e-commerce warehouse. This post decodes the digits, shows what the PIN does and does not do, and explains the maths of DIGIPIN.

1,64,999post offices on 31 March 2025
9first-digit postal zones, including the Army
~3.8 mDIGIPIN grid cell, level 10
$10–14 bnyearly cost of poor addresses (2018 estimate)

What does each digit of a PIN code mean?

Each digit narrows the search by one step of the postal hierarchy, from zone to sorting district to the delivery office. The table below follows India Post's structure as summarised on Wikipedia.

PositionWhat it identifiesHow many possibilities
1st digitPostal zone (1 to 8 regional, 9 Army Postal Service)9
2nd digitSub-zone, usually a postal circle or part of oneUp to 10 per zone
3rd digitSorting district, read together with the first twoUp to 10 per sub-zone
4th digitService route within the sorting district (0 often marks the core area)Up to 10
5th and 6th digitsThe delivery post office on that route (01 is often the head office)Up to 100

Read it as three plus three

Read as three plus three, the PIN is simpler: the first three digits get a letter to the right sorting district, and the last three get it to the right delivery post office inside it.

Because the first three digits define the sorting district, the theoretical maximum is 9 × 10 × 10 = 900 sorting districts. The last three digits allow up to 1,000 delivery offices in each, far more capacity than India Post needs.

794002 zone7 = East sub-zone79 = Northeast sortingdistrict 794 last three digits:the delivery post office Example: 794002, the PIN painted on the Sasatgre branch office, West Garo Hills, Meghalaya
Decoding a real PIN. The first three digits get mail to a sorting district; the last three pick the delivery office within it.

What a PIN can and cannot tell a courier

  • It can route a parcel to the right zone, state, sorting hub and delivery office, even when the address is in a script the sorter cannot read.
  • It cannot separate villages, streets or houses served by the same office: all of them share one code.
  • It cannot balance work inside a delivery area, because every parcel with that PIN lands in the same pile.
The story

In 2018, Santanu Bhattacharya, Ramesh Raskar and colleagues set out what PIN-based sorting looks like on the ground, using data from Delhivery, one of India's largest e-commerce couriers. A typical PIN-based delivery centre had a "throw", or delivery radius, of 4 to 20 km. In one example they mapped, two delivery bikers worked out of the same centre: one rode about 22 km in a shift, the other about 104 km, almost five times as far, because nothing in the six digits told the centre how its parcels were spread. When Delhivery switched from PIN-based to locality-based sorting, with smaller centres covering 1 to 3 km each, last-mile productivity rose by 40 to 60%.

Bhattacharya et al., arXiv 1802.04625: Economic Impact of Discoverability of Localities and Addresses in India (2018)

Which states fall in which PIN zone?

The first digit divides India into eight geographic zones plus the Army Postal Service, which uses 9 for field post offices. The mapping below is from the Wikipedia summary of India Post's zone list.

First digitZoneStates and union territories
1NorthDelhi, Haryana, Himachal Pradesh, Punjab, Chandigarh, Jammu and Kashmir, Ladakh
2NorthUttar Pradesh, Uttarakhand
3WestGujarat, Rajasthan, Dadra and Nagar Haveli and Daman and Diu
4WestMaharashtra, Goa, Madhya Pradesh, Chhattisgarh
5SouthAndhra Pradesh, Telangana, Karnataka
6SouthTamil Nadu, Kerala, Puducherry, Lakshadweep
7EastWest Bengal, Odisha, the northeastern states, Sikkim, Andaman and Nicobar Islands
8EastBihar, Jharkhand
9Army Postal ServiceField post offices and APS (90 to 99)

Some ranges show how the second digit carves up a zone:

  • 11 is Delhi, and 12 and 13 are Haryana.
  • 40 to 44 are Maharashtra, with 403 for Goa.
  • 60 to 66 are Tamil Nadu, with 605 for Puducherry.

A handful of oddities exist, such as the PIN used for India's Antarctic mail, which is routed through Goa.

Front of the India Post branch office at Sasatgre in West Garo Hills, Meghalaya, with its PIN code 794002 painted on the board
The Sasatgre branch office in West Garo Hills, Meghalaya, with its PIN on the signboard. Branch offices like this make up most of India's postal network.Photo: This Photo was taken by Timothy A. Gonsalves. Feel free to use my photos, but please mention me as the author. I would, CC BY-SA 4.0, via Wikimedia Commons

How many post offices does a PIN point to?

India Post ran 1,64,999 post offices on 31 March 2025, of which 1,39,908 were branch post offices and 25,091 were departmental offices (head and sub post offices), according to its postal network page. About 1,49,385 were rural and 15,614 urban. On average, one post office serves 7,339 people and 19.92 sq km.

India Post offices by type, 31 March 2025
See the data as a table
Post offices
Branch post offices139908
Departmental (head and sub) post offices25091

Source: India Post: Postal network

The split matters for decoding. A PIN identifies a delivery office rather than a village, so several villages can sit under one six-digit code. That is the root of the "same PIN, different place" confusion that couriers deal with daily.

For how to look up your code and your DIGIPIN, see how to find your PIN code and DIGIPIN, and for the founding story, how Velankar's PIN code began in 1972.

Rubber cancellation seals with wooden handles on a counter in the Marathahalli post office in Bengaluru
Cancellation seals at the Marathahalli post office in Bengaluru. The PIN still drives the sorting that happens behind counters like this.Photo: Subhashish Panigrahi, CC BY-SA 4.0, via Wikimedia Commons

Why isn't a PIN code enough to find an address?

Because a PIN covers a large area and depends on a written address that is often incomplete. The 2018 analysis by Bhattacharya and colleagues estimated that the average PIN covers about 179 sq km, with roughly 1,35,000 households, and that 30 to 40% of PINs on shipments are written incorrectly, which sends parcels to the wrong hub.

Indian addresses also lean on landmarks rather than house numbers, a habit explored in why Indian addresses use landmarks. The same paper shows one Bengaluru house written in several formats across official documents, with the community, road and locality each spelled two or three ways.

A PIN tells the network which office should deliver. It was never designed to tell the delivery rider which door.
Economic Impact of Discoverability of Localities and Addresses in IndiaSantanu Bhattacharya, Sai Sri Sathya, Kabir Rustogi and Ramesh Raskar · arXiv 1802.04625 · 2018

The authors model the cost of poor addressing across logistics, manufacturing and emergency services, using industry data including Delhivery's operations. They estimate that bad addresses cost India US$10–14 billion a year, about 0.5% of GDP, and report that when Delhivery switched from PIN-based to locality-based sorting, last-mile productivity rose 40–60%. Limit: the cost figure extrapolates from a few industries and company data, so treat it as an order-of-magnitude estimate.

Read the paper (free)
GeoIndia: A Seq2Seq Geocoding Approach for Indian AddressesBhavuk Singhal et al. (Meesho) · EMNLP 2024 Industry Track · 2024

Meesho's team trained language models (Flan-T5 and Llama-3-8b variants, about 29 models, one per state) to turn free-text Indian addresses into hierarchical H3 map cells, pre-training on about 67 million addresses and treating PIN codes as special tokens. In several states they cut mean distance error by more than 50% and 99th-percentile error by more than 85% against Google Maps. They also show that wrong PIN codes are a major source of geocoding error. Limit: it is a company's system tested on its own delivery data.

Read the paper (free)

How does DIGIPIN work?

DIGIPIN divides a box around India into a 4 × 4 grid, then divides each cell into 4 × 4 again, ten times, and writes one of 16 symbols per level, so 10 symbols pin down a cell about 3.8 m wide.

The Department of Posts built it with IIT Hyderabad and ISRO's National Remote Sensing Centre; the final technical document was released in March 2025 and India Post introduced the code on 27 May 2025. The bounding box runs from 63.5°E to 99.5°E and 2.5°N to 38.5°N on the WGS84 datum (EPSG:4326), wide enough to take in the mainland and the island territories.

The ten levels, step by step

  1. Level 1. The 36° × 36° box splits into 16 cells of 9° × 9°, about 1,000 km a side. One symbol says which.
  2. Each further level. Every cell splits into 16 again, so the side shrinks by 4 each time.
  3. Level 6. After six symbols, cells are about 1 km a side, roughly the scale of a neighbourhood.
  4. Level 10. The side is 36° ÷ 410, as worked out below.
\[ \frac{36^\circ}{4^{10}} = \frac{36^\circ}{1{,}048{,}576} = 3.43 \times 10^{-5}\,^\circ \approx 3.43\times10^{-5} \times 111{,}320\ \text{m} \approx 3.8\ \text{m} \]
DIGIPIN: pick one of 16 cells, then split that cell againLevel 1: 9° cellsabout 1,000 km a sideLevel 2: 2.25° cellsabout 250 km a sideLevel 3: about 62 km... and so on to level 10Side shrinks 4 times per level: 36° ÷ 4¹⁰ ≈ 3.8 m at level 10One symbol per level, 16 possible symbols, 10 levels = a 10-character code
DIGIPIN is nested grids. Each character picks one of 16 cells, and the next character picks one of 16 inside it, so ten characters narrow India to a square a few metres wide.

Symbols, spirals and why the code never changes

The 16 symbols are 2 to 9 plus C, F, J, K, L, M, P and T; in March 2025 G, W and X were swapped for C, F and T to avoid confusion when read aloud or handwritten. The labels follow an anticlockwise spiral so that neighbouring symbols are neighbouring cells. The total number of possible codes is 1610, about 1.1 lakh crore.

Calculated in this post from the 10-character code and 16 symbols described in the National Level Addressing Grid article: 1610 = 1,099,511,627,776, about 1.1 lakh crore.

Because a code is computed from latitude and longitude, it needs no database and never changes. That is the key difference from a PIN: a PIN is an administrative label that India Post assigns, while a DIGIPIN is pure geometry.

A cell is about 4 m wide only at the equator; east-west widths shrink slightly with latitude, which is why India Post describes the cells as "approximately" 4 m. Use this to check the cell size at your own latitude.

DIGIPIN cell size at any level

FeaturePIN code (1972)DIGIPIN (2025)
Length6 digits10 characters from 16 symbols
What it identifiesDelivery post officeA grid square about 3.8 m wide
How it is assignedAdministratively by India PostComputed from latitude and longitude
Changes when offices reorganise?Can changeNever; the grid is fixed
PrivacyPublic area codePoints to a location, not a person

What is DHRUVA, and does it replace the PIN?

No. DHRUVA (Digital Hub for Reference and Unique Virtual Address) is a proposed layer above DIGIPIN that lets you share a short, consent-based address label, like an email ID, linked to your descriptive address and DIGIPIN.

The Ministry of Communications announced the DHRUVA policy document in May 2025, and reports since then describe a draft amendment to the Post Office Act, 2023 to give it a legal base. In May 2026, Onmanorama reported a first pilot in which speed post items went to 30 users in five states addressed only with a name and a digital ID, with a nationwide rollout expected in about a year and a half after further trials.

PIN codes stay; they remain the sorting key the whole network runs on. Writing a complete address still matters, as covered in how to write an Indian address.

A new red India Post letter box outside the Koramangala post office in Bengaluru
A newer India Post letter box at Koramangala, Bengaluru. Letters dropped here are still sorted by the six-digit PIN.Photo: Subhashish Panigrahi, CC BY-SA 3.0, via Wikimedia Commons

More data-backed answers to everyday Indian questions are on Kyun.

Questions people ask

What does the first digit of a PIN code mean?

It is the postal zone. Digits 1 to 8 are geographic zones (for example 5 covers Andhra Pradesh, Telangana and Karnataka, and 7 covers West Bengal, Odisha and the Northeast), and 9 is the Army Postal Service.

Why do Indian addresses include a PIN code?

Because it is the key the postal and courier networks sort by. Without it, a letter must be routed by place name, and India has many places with the same or similar names written in different scripts.

Can two villages have the same PIN code?

Yes. A PIN identifies a delivery post office, and one office can serve many villages and several branch offices. That is normal, not an error.

Will DIGIPIN replace PIN codes?

No. DIGIPIN is a precise location code that works alongside the PIN. The PIN remains the sorting code for mail; DIGIPIN helps the last few metres of delivery and services such as emergency response.

Who invented the PIN code system?

Shriram Bhikaji Velankar, an additional secretary in the Union Ministry of Communications, is credited with it. It was introduced on 15 August 1972.

Sources

  1. Bhattacharya, S. et al., arXiv: Economic Impact of Discoverability of Localities and Addresses in India (2018) (source for the Delhivery story, 179 sq km, 30–40% wrong PINs)
  2. Singhal, B. et al., EMNLP 2024 Industry Track: GeoIndia, a Seq2Seq geocoding approach for Indian addresses (2024)
  3. India Post: Postal network (data as on 31 March 2025)
  4. India Post: DIGIPIN (accessed 2026)
  5. Wikipedia: National Level Addressing Grid (DIGIPIN), summarising the March 2025 technical document (accessed 2026)
  6. Wikipedia: Postal Index Number (accessed 2026)
  7. Onmanorama: India Post moves towards precision delivery with digital IDs (2026)
  8. Onmanorama: India's postal power, 1.65 lakh post offices (2026)
  9. The Week: What is DIGIPIN? (2025)
  10. Quora: Why do Indian addresses sometimes have PIN codes in them?
PIN codeIndia PostDIGIPINDHRUVApostal zonesaddressinggeocoding
Sapta

Sapta (Saptarshi Sarkar) is a mechanical engineer turned marketer in Bengaluru and a solo touring rider. He writes the seven Saptaverse blogs. Work with him or read more of Whyblog.

Keep reading in Whyblog

From the other blogs