Computer Science vs Engineering: Which Degree Pays More?

Both are top STEM degrees with strong earning potential. But the salary gap between CS and traditional engineering has been widening. Here's what the BLS data shows.

Computer Science

$126,300
average median across top CS roles

Engineering

$121,748
average median across top engineering roles

Key Differences

Salary Ceiling

CS has a higher ceiling. Software developers at top companies regularly earn $200K-400K+ with stock compensation. Engineering salaries max out lower unless you move into management — with the exception of petroleum engineering.

Job Availability

CS jobs are more abundant and less geographically constrained. Software development has 1,687,890 jobs nationwide with strong remote work options. Most engineering roles require on-site presence near manufacturing or project sites.

Career Flexibility

A CS degree opens doors to nearly every industry — finance, healthcare, entertainment, government. Engineering degrees are more specialized; switching from civil to software is harder than the reverse.

The Verdict

For maximum earning potential:Computer Science wins, especially for the top ~25% of earners. The tech industry's compensation packages are unmatched.

For stability and tangible work: Engineering offers more predictable careers with clear professional paths (PE license, project management). Less volatility than tech layoffs.

Explore detailed salary data: Computer Science careers | Engineering careers

Data Source: U.S. Bureau of Labor Statistics, OEWS.