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 {{N_DAILY}} 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 {{N_ALL}} station codes

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

      {{COLL}} of the {{THREE}} three-letter station codes ({{COLL_PCT}}%) 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 {{COLL_IN}} 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 {{ELSE_IN}} send you somewhere else entirely.

      {{CHART2}}
      Station codes vs IATA airport codes. Distances are straight-line, station to the nearest airport with that code.
      {{AIRROWS}}
      CodeAirportStation with the same codeChecked

      2. Some codes still remember names the cities dropped

      Across all {{N_ALL}} stations, only {{MIS_ALL}} codes ({{MIS_ALL_PCT}}%) start with a different letter from the station's name. Among the {{N_POOL}} well-known stations in the daily pool it's {{MIS_POOL}} ({{MIS_POOL_PCT}}%), more than twice the rate, because big stations got their codes early and kept them through a renaming. Kollam is still QLN for Quilon.

      {{OLDROWS}}
      CodeStation todayOlder name the code fits

      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 ({{L3}}) or 4 ({{L4}}). There are {{L2}} two-letter codes, {{L5}} five-letter ones, and {{L1}} 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.

      {{CHART1}}
      How many station codes start with each letter, all {{N_ALL}} codes.

      {{WORDS_N}} 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:

      {{WORDCHIPS}}

      Caveats

      Sources