The downing of Malaysia Airlines Flight 17 in Ukraine on Thursday, following the disappearance of its Flight 370 in March, is the second mysterious incident involving the airline this year. The incidents don’t appear to be related, but that isn’t preventing people from insisting that they’ll never fly Malaysia Airlines again. Some of them will follow through — academic studies have found that high-profile crashes can shift passenger demand away from the airlines involved in the disasters.

Is this behavior rational? Should we really be less inclined to fly airlines that have had fatal crashes in the past — even when the crashes don’t appear to be their fault? Or are crashes essentially random events that occur at about the same rate on all airlines over the long run? (The two fatal accidents involving Malaysia Airlines this year were the first for the carrier since 1995.)

We can study this by looking at safety records for major commercial airlines over the past 30 years, as based on the Aviation Safety Network’s database. The method is relatively simple. I’ll break the 30-year period down into two halves: first from 1985 to 1999, and then from 2000 to 2014. Then I’ll look to see whether there was a correlation in crash rates from one half of the data set to the other. If we identify a correlation, that will imply that crash risk is persistent — predictable to some extent based on the airline.

I’ll be making a couple of simplifying assumptions:

Incidents, Fatal Accidents And Fatalities
Per trillion available seat kilometers
*Includes regional subsidiaries
1985-1999 2000-2014
Incidents Fatal
Incidents
Fatalities Incidents Fatal
Incidents
Fatalities
Kenya Airways 10 0 0 10 10 1,348
China Airlines 20 10 878 4 2 369
Avianca 17 10 1,077 0 0 0
Pakistan International 31 12 900 39 8 177
Air India* 4 2 499 7 2 240
Malaysia Airlines 4 2 44 4 3 689
Egyptair 20 8 672 10 3 34
Ethiopian Airlines 68 14 452 14 6 249
Gulf Air 5 0 0 14 5 622
Garuda Indonesia 22 7 566 9 5 48
Saudi Arabian 11 4 482 17 0 0
Japan Airlines 3 1 437 0 0 0
SWISS* 4 2 382 5 0 0
Vietnam Airlines 15 7 364 3 0 0
Korean Air 10 4 325 1 0 0
South African 5 3 325 3 0 0
Xiamen Airlines 29 4 257 7 0 0
TAM 8 3 86 7 2 165
Philippine Airlines 23 13 239 7 4 4
Thai Airways 7 4 241 2 1 1
Aeroflot* 85 16 143 7 2 98
Royal Air Maroc 23 14 232 14 0 0
SAS* 10 0 0 12 2 216
Air France 7 2 35 3 1 150
Iberia 5 2 169 6 0 0
Aeromexico* 7 3 143 12 0 0
US Airways / America West* 9 4 122 6 2 13
American* 6 2 26 5 1 106
Alaska Airlines* 7 0 0 7 2 121
COPA 8 3 112 0 0 0
Turkish Airlines 6 3 44 6 2 58
Alitalia 14 4 95 8 0 0
Delta / Northwest* 5 3 83 5 1 11
United / Continental* 4 2 60 3 1 21
Sri Lankan / AirLanka 8 4 56 16 0 0
Condor 7 4 50 0 0 0
Singapore Airlines 2 2 4 2 1 47
TACA 15 5 15 5 5 15
LAN Airlines 4 3 28 0 0 0
El Al 4 4 16 4 0 0
Air New Zealand* 6 0 0 10 2 13
KLM* 5 1 3 1 0 0
Lufthansa* 3 1 1 2 0 0
All Nippon Airways 3 1 1 6 0 0
Aer Lingus 9 0 0 0 0 0
Aerolineas Argentinas 21 0 0 4 0 0
Air Canada 2 0 0 2 0 0
Austrian Airlines 4 0 0 4 0 0
British Airways* 2 0 0 3 0 0
Cathay Pacific* 0 0 0 2 0 0
Finnair 3 0 0 0 0 0
Hawaiian Airlines 0 0 0 3 0 0
Qantas* 1 0 0 4 0 0
Southwest Airlines 1 0 0 4 0 0
TAP - Air Portugal 0 0 0 0 0 0
Virgin Atlantic 2 0 0 0 0 0
Source: Flight Safety Foundation

As you should see, the number of fatalities is not very consistent from the first half of the data set to the next. Avianca, the national airline of Colombia, had a series of major crashes from 1983 through 1990. But it has had almost no problems since then — no fatal accidents since 1990, and no incidents of any kind since 1999. By contrast, Kenya Airways was fatality-free until 2000 but has had two major accidents since then and ranks as the worst airline since 2000 based on the number of fatalities per ASK.

One or two other carriers, such as Taiwan’s China Airlines (not be confused with Beijing’s Air China4), have had problems in both halves of the data set. But these cases are more the exception than the rule. Overall, there is no correlation in the rate of fatalities from one period to the next.

Accidents that produce a massive number of fatalities are rare compared to fatal accidents of any kind, however. And fatal accidents represent only about one-quarter of all incidents listed in the database. So it may be better to compare airlines on the basis of their number of incidents, whether or not they resulted in a fatality, which has the effect of increasing the sample size. These near-misses can still produce non-fatal injuries. They may also provide useful evidence about the overall hazard associated with flying a given airline, in the same way that the number of smaller earthquakes in a region over a period of time can be used to predict the likelihood of a catastrophic one.

Viewed this way, there is a modest correlation from one period to the next. There are also a few major outliers in the chart: two are Pakistan International Airlines and Ethiopian Airlines, which have had a persistently high rate of incidents. A third outlier, Russia’s Aeroflot, had an extraordinarily high number of reported incidents in the 1990s — many of them attempted hijackings around the time of the breakup of the Soviet Union — but only an average number in recent years. There is still a positive correlation even if those three airlines are excluded, however, which rates as modestly statistically significant — some airlines are slightly safer to fly than others.

Our preliminary answer, then, is that an airline’s track record tells you something about its probability of future crashes — although not a lot, and only if looked at in the right way. In particular, you should look toward an airline’s rate of dangerous incidents of any kind rather than its number of fatalities or fatal accidents. These near-misses are more consistent from period to period — and could result in a deadly crash the next time around.

But there’s a better rule to follow. If you’re insistent on minimizing your crash risk, you should avoid airlines from developing countries.

Let’s combine our three measures of crash rates — incidents, fatal accidents and fatalities — into a single measure which I’ll call the airline’s safety score. I calculate it as follows:

Positive scores indicate a safe track record — Australia’s Qantas, for instance, which is famous for avoiding crashes — has a safety score of +0.71. By contrast, Pakistan International Airlines has a score of -1.49.

First World Airlines Have Fewer Crashes
Safety scores for 1985-1999 and 2000-2014 are based on incidents,
fatal accidents and fatalities per available seat kilometers flown
*Includes regional subsidiaries
Per capita gdp
of airline´s
home country
SAFETY SCORE
1985-99 2000-14 Combined
Southwest Airlines $34,620 0.99 0.82 0.91
Cathay Pacific* $24,970 0.91 0.86 0.89
British Airways* $25,876 0.90 0.85 0.88
Lufthansa* $25,595 0.80 0.96 0.88
Air Canada $22,205 0.73 0.73 0.73
Qantas* $21,779 0.77 0.65 0.71
United / Continental* $34,620 0.37 0.98 0.68
KLM* $26,056 0.46 0.76 0.61
Virgin Atlantic $25,876 0.57 0.62 0.60
Singapore Airlines $21,441 0.60 0.58 0.59
All Nippon Airways $35,014 0.57 0.57 0.57
TAP - Air Portugal $12,445 0.51 0.51 0.51
Finnair $25,234 0.42 0.47 0.45
Hawaiian Airlines $34,620 0.47 0.41 0.44
LAN Airlines $4,952 0.12 0.62 0.37
Austrian Airlines $26,598 0.35 0.35 0.35
Aer Lingus $25,848 0.26 0.40 0.33
American* $34,620 0.40 0.26 0.33
Delta / Northwest* $34,620 -0.16 0.79 0.32
Iberia $31,447 0.03 0.46 0.25
Air New Zealand* $15,176 0.39 0.06 0.23
Condor $25,595 0.00 0.44 0.22
COPA $4,074 -0.05 0.49 0.22
Aerolineas Argentinas $7,970 0.03 0.36 0.20
Alaska Airlines* $34,620 0.39 0.00 0.20
El Al $19,577 0.04 0.34 0.19
Air France $24,930 0.15 0.16 0.16
Japan Airlines $35,014 -0.45 0.74 0.15
Turkish Airlines $3,942 0.11 0.17 0.14
South African $3,029 -0.24 0.47 0.12
Aeromexico* $6,073 -0.06 0.22 0.08
SWISS* $38,339 -0.31 0.42 0.06
Thai Airways $1,989 -0.54 0.57 0.02
Sri Lankan / AirLanka $889 -0.08 0.10 0.01
Alitalia $21,258 -0.34 0.33 -0.01
SAS* $29,207 0.28 -0.31 -0.02
Korean Air $9,906 -0.98 0.74 -0.12
TACA $2,102 -0.20 -0.05 -0.13
US Airways / America West* $34,620 -0.59 0.34 -0.13
TAM $3,414 -0.13 -0.16 -0.15
Xiamen Airlines $861 -0.66 0.32 -0.17
Gulf Air $10,026 0.32 -0.77 -0.23
Vietnam Airlines $375 -0.98 0.46 -0.26
Air India* $460 -0.50 -0.19 -0.35
Saudi Arabian $8,360 -0.87 0.07 -0.40
Malaysia Airlines $3,455 0.26 -1.10 -0.42
Royal Air Maroc $1,407 -1.11 0.15 -0.48
Philippine Airlines $1,081 -1.29 0.04 -0.63
Avianca $2,429 -1.86 0.43 -0.72
Kenya Airways $442 0.23 -1.71 -0.74
Egyptair $1,451 -1.49 -0.01 -0.75
Garuda Indonesia $687 -1.42 -0.21 -0.82
China Airlines $13,535 -2.45 -0.32 -1.39
Pakistan International $579 -1.90 -1.07 -1.49
Ethiopian Airlines $122 -2.74 -0.64 -1.69
Aeroflot* $1,334 -4.59 0.08 -2.26
Source: Flight Safety Foundation

The chart also lists the per-capita gross domestic product for the airline’s home country as of 1999 (the middle of the 30-year period). The correlation between a country’s wealth and the crash rates of its airlines is quite strong.8 Over the past 30 years, the top 10 safety scores belong to two airlines from the United States (Southwest Airlines and United Airlines), two from the United Kingdom, and one each from Canada, Australia, Hong Kong, Singapore, Germany and the Netherlands. By contrast, the 10 worst scores are for airlines from Colombia, Egypt, Ethiopia, Indonesia, Kenya, Morocco, Pakistan, the Philippines, Russia and Taiwan. In fact, if you want to predict an airline’s future rate of crashes, you’re best off looking at its home country’s GDP and largely ignoring its track record.9

Perhaps this shouldn’t be surprising. Commercial airlines are subject to extremely stringent safety standards, and the same standards are applied to all airlines from the same country or region. Richer countries, in air travel and many other aspects of public planning, can afford to buy more safety in the form of higher prices and more expensive regulations.

So should you never fly an airline from a developing country again? No, that would be silly — commercial airline travel is an extraordinarily safe means of transit overall. What you should do is avoid airlines on blacklists, such as that periodically put out by the European Union. (None of the airlines on the list of 56 above is currently on the EU’s blacklist, although one, Pakistan International Airlines, has been in the recent past.) Otherwise — even on Malaysia Airlines — the risk of being involved in a crash is very low, and that risk doesn’t increase much after a recent disaster.

CORRECTION (July 23, 9:54 a.m.): The tables in a previous version of this post used an incorrect denominator in calculating incidents, fatal accidents and fatalities. They had been assuming 80 percent rather than 100 percent of seats were filled by passengers, in accordance with standard industry load factors. However, the definition of an available seat kilometer (ASK), the statistic used elsewhere in the article, is based on the number of seats available and not how many of them were filled. The numbers in the tables have been changed to reflect the proper definition of an ASK.

In addition, we double-checked the numbers for all 56 airlines and found a small number of accidents that had previously been missed, as well as a couple of typos. These have been corrected. These changes do not significantly affect the relative ordering of the airlines or the overall conclusion of the article.

UPDATE (July 23, 9:54 a.m.): A number of readers were confused about the numbers described in the tables. They list the number of incidents, fatal accidents and fatalities per one trillion available seat kilometers (ASKs) flown, and not the raw numbers. This is an important distinction: For instance, United Airlines flies about 24 times more miles than Royal Air Maroc. United has had more accidents overall, but it has had considerably fewer per ASK. However, we’ve inserted the following table for people who would prefer to see the unadjusted numbers. We’ve also posted the data used in this article on GitHub.

Airline1 Avaliable
seat km
per week
1985-1999 2000-2014
Incidents Fatal
Incidents
Fatalities Incidents Fatal
Incidents
Fatalities
Aer Lingus 321 2 0 0 0 0 0
Aeroflot* 1,198 76 14 128 6 1 88
Aerolineas Argentinas 386 6 0 0 1 0 0
Aeromexico* 597 3 1 64 5 0 0
Air Canada 1,865 2 0 0 2 0 0
Air France 3,004 14 4 79 6 2 337
Air India* 869 2 1 329 4 1 158
Air New Zealand* 710 3 0 0 5 1 7
Alaska Airlines* 965 5 0 0 5 1 88
Alitalia 698 7 2 50 4 0 0
All Nippon Airways 1,841 3 1 1 7 0 0
American* 5,228 21 5 101 17 3 416
Austrian Airlines 358 1 0 0 1 0 0
Avianca 397 5 3 323 0 0 0
British Airways* 3,180 4 0 0 6 0 0
Cathay Pacific* 2,582 0 0 0 2 0 0
China Airlines 813 12 6 535 2 1 225
Condor 418 2 1 16 0 0 0
COPA 550 3 1 47 0 0 0
Delta / Northwest* 6,526 24 12 407 24 2 51
Egyptair 558 8 3 282 4 1 14
El Al 335 1 1 4 1 0 0
Ethiopian Airlines 489 25 5 167 5 2 92
Finnair 506 1 0 0 0 0 0
Garuda Indonesia 613 10 3 260 4 2 22
Gulf Air 301 1 0 0 3 1 143
Hawaiian Airlines 494 0 0 0 1 0 0
Iberia 1,173 4 1 148 5 0 0
Japan Airlines 1,574 3 1 520 0 0 0
Kenya Airways 277 2 0 0 2 2 283
KLM* 1,875 7 1 3 1 0 0
Korean Air 1,735 12 5 425 1 0 0
LAN Airlines 1,002 3 2 21 0 0 0
Lufthansa* 3,427 6 1 2 3 0 0
Malaysia Airlines 1,039 3 1 34 3 2 537
Pakistan International 349 8 3 234 10 2 46
Philippine Airlines 413 7 4 74 2 1 1
Qantas* 1,917 1 0 0 5 0 0
Royal Air Maroc 296 5 3 51 3 0 0
SAS* 683 5 0 0 6 1 110
Saudi Arabian 860 7 2 313 11 0 0
Singapore Airlines 2,377 2 2 6 2 1 83
South African 652 2 1 159 1 0 0
Southwest Airlines 3,277 1 0 0 8 0 0
Sri Lankan / AirLanka 326 2 1 14 4 0 0
SWISS* 793 2 1 229 3 0 0
TACA 259 3 1 3 1 1 3
TAM 1,509 8 3 98 7 2 188
TAP - Air Portugal 619 0 0 0 0 0 0
Thai Airways 1,703 8 4 308 2 1 1
Turkish Airlines 1,946 8 3 64 8 2 84
United / Continental* 7,139 19 8 319 14 2 109
US Airways / America West* 2,456 16 7 224 11 2 23
Vietnam Airlines 625 7 3 171 1 0 0
Virgin Atlantic 1,005 1 0 0 0 0 0
Xiamen Airlines 430 9 1 82 2 0 0
1 *Includes regional subsidiaries