News · New this week

IRCTC waitlist prediction: how a WL 23 chance is estimated

The waitlist number alone doesn't tell you much. Days left before travel change the odds, and a simple model built on past tickets shows why.

If an interviewer asks how IRCTC knows your WL 23 ticket will confirm, the first thing to say is that the WL number is not the whole answer. The chance changes as the travel date gets closer.

The real formula isn't public. What follows is a toy model, a simple estimate that shows the shape of the idea.

The waitlist is a queue

A waitlist is a line. Every cancellation moves everyone one step forward, so WL 23 becomes WL 22, then WL 1, then CNF. To get from WL 23 to confirmed, you need 23 cancellations.

That alone sounds like a fixed difficulty. It isn't, because the number of cancellations you can expect depends on how much time is left.

What the app looks up

Say your screen shows WL 23 with 3 days left. The app can go through past tickets, each with a train, a date, a waitlist number and a result. It filters for the same train, with WL 23, three days before travel.

Then it counts. In the toy model, suppose you find 100 such tickets and 40 of them got confirmed. That gives 40 of 100, so 40%.

It's just confirmed divided by total. It's an estimate built from history, not a formula for what will happen to your ticket.

Why days left matter

Now take the same WL 23 on the same train, but one day before travel. The past tickets that match are different ones, and they tell a different story.

Take an example set of numbers. Seven days before travel gives 70%, three days before gives 40%, and one day before gives 10%.

The WL number didn't change. The time left did. Fewer days means less time for people to cancel, so the chance drops. That's why the lookup has to include how many days remain, and not only the waitlist position.

So the screen shows WL 23 with a 40% chance, because that's what the matching past tickets say for three days out.

What to take from it

Treat the percentage as a read on history. It's an estimate from earlier tickets, and it makes no promise about yours. Next time you see a waitlist chance, check how many days are left before you trust it. And if you're stuck on WL 23 with the date closing in, ask yourself whether you'd rather wait or book a new ticket.

  • #irctc
  • #waitlist
  • #trainticket
  • #systemdesign

More reels

All news →