// article
Your major sets the odds, not the salary
Pick a college major and you have changed your expected paycheck. Pick petroleum engineering and the median recent graduate earns $110,000; pick counseling psychology and the median is $23,400. That gap is real and it is large. What the median hides is that within almost every major, two graduates with the same diploma can earn double or half what the headline number says, and once you account for that, the tidy ranking everyone argues about starts to dissolve.

Each bar above is one major category, drawn from its typical 25th percentile to its typical 75th. Engineering sits at the top, the way every “what should I study” thread on the internet promises. Look at where the other bars end, though. All 16 categories stretch past Engineering’s own bottom quartile. The ranking is real at the median and the overlap is real everywhere else, and the overlap is the part nobody puts on a poster.
The data is FiveThirtyEight’s recent-grads table, built from the Census Bureau’s American Community Survey: 173 majors, 16 categories, each with a median and a 25th and 75th percentile of earnings. No cleaning saga. The percentiles come pre-computed, which is the whole reason this dataset is worth loading. Most salary charts only ever show you the median, and the median is the one number that hides the thing I wanted to look at.
Here is the number that reframes the whole debate. The typical major has $20,000 between its 25th and 75th percentile earners. The gap between the lowest-paid category median and the highest is $27,000. Those are nearly the same size.

Think of it as two rulers laid end to end. One measures how far apart majors are from each other. The other measures how far apart graduates are inside a single major. They are roughly the same length. Engineering, the category that wins the ranking, has $27,000 between its own typical quartiles, which is exactly the distance from the bottom category to the top. The variation that lives inside the winning major is as wide as the entire contest between categories.
This is why the “STEM pays” story is half true and half sleight of hand. It is true on average. It is a coin flip in the overlap. When the within-group spread is as wide as the between-group gap, knowing someone’s major tells you which distribution they drew from, not which number they landed on.
The spread is not evenly distributed. Some majors are tight clusters and some are lottery tickets.

Astronomy and astrophysics is the widest in the set. Its 25th percentile graduate earns $31,500 and its 75th percentile graduate earns $109,000, a span of $77,500 inside one major. The median sits at $62,000, a number that describes almost nobody at the tails. Nuclear engineering, pharmacy, and food science follow the same pattern: a median that looks like a destiny and a spread that says otherwise.
A wide spread is not automatically good or bad. It means the major is a gateway to very different careers, and the choice of which career happens after graduation, not at registration. The narrow majors are the honest ones. They tell you what you are going to earn. The wide ones tell you what you might.
I checked the two angles people usually reach for. One is noise. One is not.
Unemployment barely moves with pay. The correlation between a major’s unemployment rate and its median earnings is -0.11, which is close enough to zero that I am setting it aside. Low-paid majors are not meaningfully harder to get hired into; they just pay less once you are in.
The share of women in a major is a different story.

The correlation is -0.62, and it is the strongest relationship in the dataset. Majors that are under 25% women carry a median of $50,000. Majors that are over 75% women carry a median of $32,400. That is a $17,600 gap that runs straight along the gender composition of the field, before any individual has negotiated a single salary. This dataset cannot tell you the cause. It can tell you the pattern is steep, consistent, and far stronger than the unemployment angle everyone worries about instead.
These are recent graduates only, so the figures capture the starting line, not the career. Majors that pay flat early and climb late, or the reverse, will look different a decade on, and this table cannot see that. The percentiles are also national, which washes out the cost-of-living differences between where a petroleum engineer and a social worker actually take their first jobs. A few majors carry thin samples, which is why I held the named examples to fields with at least ten survey respondents.
None of that touches the main finding. The median is a single point standing in for a distribution, and for college majors that distribution is wide enough that the point lies by omission. The ranking everyone fights about is real. The spread it papers over is just as large, and it is the part that decides which side of the median you end up on.