Computer Science Majors Lead Degree Returns

If you are choosing a major, the ranking shows how debt and early-career earnings vary widely from field to field.

Updated on Nov. 11, 2026 in Financial Aid

Computer Science Majors Lead Degree Returns

Live Poll

Do you think a bachelor's degree is worth its cost today?

Investopedia has published a ranking of bachelor's degree majors by return on investment (ROI), weighing student debt against early-career salaries and outcomes. Every major it calculated showed a positive ROI, and the median graduate in every field earned more early in their career than the median worker without a bachelor's degree or higher.

Why it matters

For families weighing how much to borrow for college, the ranking shows that a major's earnings potential can differ sharply, which affects how long loan repayment is likely to take. The findings arrive as recent graduates face higher unemployment, a trend experts link to AI absorbing entry-level work and employers hesitating to hire new graduates for remote roles.

The median theology and religion graduate borrowed about $34,800 and earned about $41,600 annually, while computer science majors borrowed nearly $1,600 less than the median graduate and earned about $35,000 more annually early in their careers. Recent-graduate unemployment was 4.4% in January 2024 and 5.6% in March 2026.

The players

Investopedia

A widely read personal-finance and investing publication that produced the major-by-major ROI ranking.

New York Federal Reserve

The regional Federal Reserve bank whose data on graduate earnings and outcomes was used in the ROI calculations.

Education Data Initiative

A research group that compiles student debt and education statistics, whose figures underpin the ranking.

The details

Investopedia calculated each major's ROI by measuring the net gain from a degree against what it cost, using debt and earnings data from the Education Data Initiative and the New York Federal Reserve. Because ROI compares net gain to cost, a major with lower borrowing and higher starting pay can post a much larger ratio even when the absolute earnings gap looks modest. The 2024 unemployment figures show computer science at about 7% and theology and religion at 3.1%, illustrating how job-market conditions can vary by field.

Timeline

  1. January 2024: Median unemployment for recent college graduates was 4.4%.

  2. 2024: Unemployment rates for computer science and theology graduates were measured.

  3. March 2026: Median unemployment for recent college graduates rose to 5.6%.

Education Landscape

The ranking lands amid rising student debt and a graduate job market that has softened since 2024, as recent-graduate unemployment climbed from 4.4% to 5.6%. Its comparison of majors reflects a longer debate over whether a bachelor's degree pays off and how that payoff varies by field.

If you are choosing a major, compare projected debt and early-career earnings for the fields you are considering rather than relying on tuition alone. Ask your school's financial-aid office how much you could borrow and what repayment would look like at the earnings levels for your intended field.

The takeaway

The biggest insight is that a degree's financial value depends heavily on the field, not just on the degree itself. Before committing to a major, review its typical debt and starting salary with your school's financial-aid office.

Further reading

For background on how borrowing for college is structured, explore our Financial Aid coverage.

Source note: This article includes information reported by Investopedia.

Live Poll

Do you think a bachelor's degree is worth its cost today?