India's PIN code, the six-digit Postal Index Number, was introduced on 15 August 1972. It was designed under Shriram Bhikaji Velankar, an additional secretary in the Union Ministry of Communications and a senior member of the Posts and Telegraphs Board, to make sorting mail possible in a country where thousands of places share similar names and addresses are written in many languages. The first digit names one of nine zones, the first three name a sorting district, and the last three name the delivery post office.
- 15 August 1972: the PIN code came into force on the 25th anniversary of Independence.
- Shriram Bhikaji Velankar, a Communications Ministry official and Sanskrit poet, is credited as its father.
- 23,344 post offices at Independence grew to 1,64,999 by March 2025, 90.5% of them rural.
- 6 digits: zone, sub-zone, sorting district, then the delivery office.
- DIGIPIN (2025) adds a 10-character code for every 4 m square; it does not replace the PIN.
Few government systems have lasted fifty years almost unchanged and become more useful with time. The PIN code is one. It was built for postmen and sorting clerks, and today it decides whether a food delivery app will serve your street.
This is the story of where it came from, how it works, and what India Post has added on top of it with DIGIPIN.
Who invented the PIN code in India?
The PIN code was introduced by Shriram Bhikaji Velankar, then an additional secretary in the Union Ministry of Communications and a senior member of the Posts and Telegraphs Board. It came into force on 15 August 1972, the 25th anniversary of Independence.
Like most large government systems it was the work of a department, but Velankar is the official credited with it, and he is often called the father of the PIN code.
Velankar's own life was unusual for a postal administrator. He was also a Sanskrit poet and scholar, and he founded Dev Vani Mandiram, a Mumbai group that promoted Sanskrit in India and abroad. A year after his six digits went live, he chaired INDIPEX 1973, a world philatelic exhibition in New Delhi with about 120 countries taking part. He retired from government service on 31 December 1973. In 1996 he received the President's Award for his contribution to Sanskrit, and he died in Mumbai three years later. The man who gave India's letters a number was honoured, late in life, for his work on one of its oldest languages, according to an account published by The Indian Express on the PIN code's 50th anniversary.
History of the PIN code, summarising The Indian Express (17 Aug 2022)
Why did India need a PIN code in 1972?
India needed the PIN code because its postal network had grown faster than the ability of sorters to remember it. At Independence the country had 23,344 post offices, mostly in towns.
Over the next 25 years the network spread into villages, and a sorting clerk in a big mail office had to know which of tens of thousands of offices served a given village, often written in a language the clerk could not read.
Three problems a number solved
- Look-alike names. Many Indian places share the same or similar names, and an address with a badly written district could go to the wrong one.
- Many scripts. A clerk who cannot read Odia or Tamil can still read 7 or 6 and send the letter in the right direction.
- Memory limits. Each sorting office only needs to read the next digit, not memorise the whole map.
India was following a global trend. The United States introduced its five-digit ZIP code on 1 July 1963, after mail had passed through as many as 17 sorting points on a long journey.
How does the six-digit PIN code work?
Each digit of a PIN narrows the location, from a large region down to a single delivery post office. The first digit is the zone, the second the sub-zone, the third (together with the first two) the sorting district, and the last three identify the post office that delivers the mail.
Take 560001:
- 5 is the southern zone.
- 56 is Karnataka.
- 560 is the Bengaluru sorting district.
- 001 is the General Post Office.
| First digit | Zone | States and union territories |
|---|---|---|
| 1 | North | Delhi, Haryana, Punjab, Himachal Pradesh, Chandigarh, Jammu and Kashmir, Ladakh |
| 2 | North | Uttar Pradesh, Uttarakhand |
| 3 | West | Rajasthan, Gujarat, Dadra and Nagar Haveli and Daman and Diu |
| 4 | West | Maharashtra, Goa, Madhya Pradesh, Chhattisgarh |
| 5 | South | Andhra Pradesh, Telangana, Karnataka |
| 6 | South | Tamil Nadu, Kerala, Puducherry, Lakshadweep |
| 7 | East | West Bengal, Odisha, Sikkim, the Northeastern states, Andaman and Nicobar Islands |
| 8 | East | Bihar, Jharkhand |
| 9 | Army Postal Service | Field post offices and APS (not a geographic zone) |
The zones follow mail flows more than state borders, which is why Goa shares a first digit with Maharashtra and why Sikkim and the Northeast share 7 with West Bengal. The Army Postal Service has its own first digit, 9, and its codes do not follow the geographic pattern.
A deeper look at the structure and its quirks is in how the PIN code system works.
How big is the network the PIN code serves?
On 31 March 2025, India Post ran 1,64,999 post offices, of which 1,49,385 were rural and 15,614 urban, according to the Department of Posts. Each office served on average 7,339 people and an area of about 19.92 square kilometres.
Most of these are branch post offices in villages, often run by Gramin Dak Sevaks, of whom there were 2,78,633.
See the data as a table
| Post offices | |
|---|---|
| Branch post offices | 139908 |
| Sub post offices | 24281 |
| Head post offices | 810 |
Source: Department of Posts, network statistics; Parliamentary Standing Committee report · Total 1,64,999. Departmental offices (head plus sub) number 25,091.
The network has kept growing even as letters declined. India Post says:
- it opened more than 4,900 new branch post offices between 2017 and 2022 in districts affected by Left Wing Extremism;
- it opened more than 5,700 new post offices in unbanked villages in 2023-24.
These offices now handle savings accounts, pensions and parcels more than personal letters. Use this to see how many DIGIPIN squares fit inside one office's area.
How many DIGIPIN cells fit in an area?
What is DIGIPIN, and will it replace the PIN code?
DIGIPIN is a 10-character code for any 4 m by 4 m square of India, and it adds to the PIN code rather than replacing it. The Department of Posts built it with IIT Hyderabad and the National Remote Sensing Centre of ISRO, released the first specification in March 2025 and a technical revision in May 2026.
The code is worked out from latitude and longitude, so it needs no database of houses, and the Department says it stores no personal information.
The design in one paragraph
DIGIPIN draws a 36° by 36° box from 63.5°E to 99.5°E and 2.5°N to 38.5°N, which covers India and its sea area. It splits the box into a 4 by 4 grid and labels each of the 16 cells with one character. It then splits the chosen cell into 16 again, ten times.
After ten levels each cell is 36° divided by 4¹⁰, about 0.0000343°, which is roughly 3.8 metres of latitude. Sixteen symbols at ten levels allow 16¹⁰, or about 1.1 trillion, codes.
The PIN code tells the postal system which office should deliver. DIGIPIN tells the delivery person which door.
For the many Indian addresses that rely on "near the temple" or "behind the water tank", the second problem is the harder one, as I explain in why Indian addresses use landmarks. To find yours, see how to find your PIN code and DIGIPIN.
This is the official standard for DIGIPIN, published openly with source code under the Apache 2.0 licence. It defines the bounding box (2.5°N to 38.5°N, 63.5°E to 99.5°E), the 4 by 4 symbol grid, the ten levels of subdivision and the rule that a DIGIPIN is always written as a continuous 10-character code without hyphens. The reference code encodes a latitude and longitude into a DIGIPIN and decodes a DIGIPIN back to the centre of its cell, and the example in the repository decodes a code to central Bengaluru at about 12.97°N, 77.59°E. The limit: a DIGIPIN identifies a square of ground, not a building or a flat, so multi-storey addresses still need a floor and door number.
Read the standard (free)The authors studied free-text shipping addresses typed by customers in India, which rarely follow a fixed format. They cleaned the text with edit-distance and phonetic algorithms and compared Word2Vec, TF-IDF, Bi-LSTM and BERT-style models for classifying addresses into sub-regions of North and South Indian cities. A RoBERTa model pre-trained on a large address corpus reached about 90% accuracy with little preprocessing, and the authors suggest using it for pincode suggestion and geocoding. The limit: it is a short workshop paper that does not report its dataset size on the abstract page or test pincode prediction directly. It shows why the PIN alone is not enough for last-mile delivery.
Read the paper (free)
Why does the PIN code still matter when nobody writes letters?
The PIN code matters more now because e-commerce, food delivery, banks and government schemes all use it as the first filter for location:
- an online store checks your PIN to decide whether it delivers and how long it will take;
- banks and insurers use it in KYC;
- logistics companies build their hubs around PIN-based sorting, the same logic the postal system used in 1972 with clerks and pigeonholes.
Where the six digits run out
The limits are also clear. One PIN can cover a dense city neighbourhood of tens of thousands of people or a huge rural area with dozens of villages. That is why private couriers keep their own location data, why apps ask you to drop a pin on a map, and why DIGIPIN was built.
Velankar's six digits solved the sorting problem of the 1970s; the delivery problem of the 2020s needs a finer grid on top.
It is worth noticing how often India's everyday systems have been built this way: a public, shared layer that private businesses then use. The PIN code, the UPI payment system and the STD booth network each followed that pattern in their own decade.
Even on a long ride into remote country, every village you pass is mapped to a branch post office and its PIN; the ride blog's Northeast touring guide covers that frontier.

What's new
- India's postal network stands at 1.65 lakh post offices, nearly 90% rural, on World Post Day Onmanorama, Oct 2026
- India Post publishes the May 2026 technical revision of DIGIPIN, fixing it as a continuous 10-character code Department of Posts (GitHub), May 2026
- What DIGIPIN is and how the Department of Posts built it with IIT Hyderabad and ISRO The Week, 2025
Questions people ask
Who invented the PIN code in India?
Shriram Bhikaji Velankar, an additional secretary in the Union Ministry of Communications and a senior member of the Posts and Telegraphs Board, is credited with introducing it. He was also an award-winning Sanskrit poet.
When was the PIN code introduced in India?
On 15 August 1972, the 25th anniversary of Independence. It marked its 50th anniversary on 15 August 2022.
What does PIN stand for?
Postal Index Number. It is a six-digit code that identifies the zone, sub-zone, sorting district and delivery post office for an address.
What does the first digit of a PIN code mean?
It is the postal zone. Digits 1 to 8 are geographic zones covering groups of states, and 9 is reserved for the Army Postal Service and field post offices.
Is DIGIPIN replacing the PIN code?
No. The Department of Posts describes DIGIPIN as an extra layer. Your postal address and PIN stay the same; DIGIPIN adds a 10-character code for the exact 4 m square where you live.
Sources
- History of the PIN code, summarising The Indian Express (17 Aug 2022). Source for Velankar's career, INDIPEX 1973, his retirement, his 1996 award, the 23,344 post offices at Independence and the US ZIP code date.
- Asianet Newsable: PIN code turns 50 (2022)
- Wikipedia: Postal Index Number, citing the Publications Division's India 1974 yearbook. Source for zone digits and structure.
- India Post: Postal network statistics (as on 31 Mar 2025). Source for post office counts, population and area served, and new offices.
- Parliamentary Standing Committee on Communications and IT: report with post office counts by type (2025)
- Department of Posts: DIGIPIN Technical Specification and Architecture Standard (2025, revised May 2026), with the reference source code.
- Mangalgi S. et al.: Deep Contextual Embeddings for Address Classification in E-commerce, arXiv 2007.03020 (2020)
- The Week: What is DIGIPIN (2025)
- Onmanorama: India's postal power, 1.65 lakh post offices (2026)
