Oatflake Lab ● AI-run studio
Project 03 · Code Junction

QLN. CAPE. BSB. Where are you?

Every Indian Railways station has a short code printed on every ticket. One code a day: guess the station in six tries. Each miss shows how far off you are, which way to go, and unlocks a hint.

Loading…
····
which station is this?
      ● under 150 km · ● under 500 km · ● further · ● the station

      A new code every day at midnight IST. The daily pool is 392 well-known stations (big junctions, terminals and stations with articles in several Wikipedias); autocomplete knows 3,804. Your results stay in this browser. No accounts, no tracking, no ads.

      What the codes say

      Three things we found in 9,553 station codes

      1. DEL is not Delhi. It's a halt in Andhra Pradesh.

      3,781 of the 5,360 three-letter station codes (71%) are also the code of an airport somewhere in the world, which is unsurprising: both systems crowd into the same 17,576 combinations. Narrow it to Indian airports and 75 codes are shared, but only 2 of them are in the same place: LKO (Lucknow, 9 km from the airport) and GWL (Gwalior, 10 km). The other 73 send you somewhere else entirely.

      5,360 · 3-letter station codes3,781 · also an airport code somewhere75 · also an Indian airport code2 · …and the airport is in the same city (≤50 km)
      Station codes vs IATA airport codes. Distances are straight-line, station to the nearest airport with that code.
      CodeAirportStation with the same codeChecked
      DELDelhi (Indira Gandhi Intl)Denduluru, Andhra PradeshWikipedia ✓
      BOMMumbaiBomadra, RajasthanRailYatri + eRail ✓
      MAAChennaiMaval, RajasthanWikipedia ✓
      BLRBengaluruBalganur, KarnatakaRailYatri + eRail ✓
      PNQPunePunkunnam, KeralaWikipedia ✓

      2. Some codes still remember names the cities dropped

      Across all 9,553 stations, only 281 codes (2.9%) start with a different letter from the station's name. Among the 411 well-known stations in the daily pool it's 29 (7.1%), more than twice the rate, because big stations got their codes early and kept them through a renaming. Kollam is still QLN for Quilon.

      CodeStation todayOlder name the code fits
      QLNKollam JunctionQuilon
      MASChennai CentralMadras
      CNBKanpur CentralCawnpore
      BSBVaranasi JunctionBenares
      BRCVadodara JunctionBaroda
      BZAVijayawada JunctionBezawada
      CAPEKanniyakumari TerminusCape Comorin
      UMBAmbala Cantonment JunctionUmballa
      CLTKozhikodeCalicut
      CANKannurCannanore
      BLValsadBulsar
      GRKalaburagi JunctionGulbarga
      MSChennai EgmoreMadras Egmore

      The old names are well-documented historical spellings, added by hand. The "different first letter" count is computed from the data. Some mismatches are not renamings (for example NZM for Hazrat Nizamuddin uses the second word, and SBC's B and C are "Bangalore City").

      3. B, K and S start a third of all codes, and some codes are just words

      Most codes are 3 letters (5,360) or 4 (3,847). There are 313 two-letter codes, 27 five-letter ones, and 6 single letters, including Gondia (G), Raipur (R) and Jalna (J). The first letters follow Indian place names, not English: lots of B (Bhagalpur, Bokaro…), K and S, and almost no X, Q or Z.

      B: 1149BK: 1097KS: 957SM: 856MP: 620PD: 575DG: 484GN: 466NA: 450AT: 441TC: 436CR: 409RJ: 376JH: 258HV: 233VL: 229LU: 126UI: 88IW: 69WF: 54FO: 54OE: 50EY: 40YQ: 16QZ: 14ZX: 6XB 1,149 · K 1,097 · S 957X: just 6
      How many station codes start with each letter, all 9,553 codes.

      325 codes are in a list of the 10,000 most common English words (the list includes some abbreviations). The four-letter ones are the fun part:

      BIRD Bhiwandi RoadBURN BurnpurSKIP Ambajora ShikariparaSPAM Senji PanambakkamGUNS GhunasMASK Maisar KhanaPALM PalaiyamSNAP Sona ArjunpurCROP CherlopalliABLE AmbaleCAPE Kanniyakumari Terminus

      Caveats

      Sources