Skip to content
Major Payback

Computer Science vs Electrical Engineering

Trying to pick between Computer Science and Electrical Engineering? Here is how they compare on pay, jobs and student loans. Both use the same national data, so it's a fair look. Which one fits depends on your goals.

Side by side

Computer ScienceElectrical Engineering
First-job pay (ages 22 to 27)$87,000$82,000
Pay later on (ages 35 to 45)$120,000$123,000
Work in a job that needs their degree81%79%
Out of work7%3.2%
Have a grad degree32.7%47.7%
$30,000 in loans paid off in3.9 yrs4.2 yrs

NY Fed, updated Feb 4, 2026. Pay is before taxes, for grads with only a bachelor's degree. Payoff time assumes 10% of first-job pay goes to the loan at the 6.52% student loan rate.

How they differ

  • Computer Science grads start about $5,000 a year higher than Electrical Engineering grads ($87,000 vs $82,000).
  • By ages 35 to 45, Electrical Engineering grads make about $3,000 more ($123,000 vs $120,000). So the one that starts higher is not the one that ends higher.
  • About the same share of grads work in a job that needs their degree (81% and 79%).
  • More recent Computer Science grads are out of work (7% vs 3.2% for Electrical Engineering).
  • Electrical Engineering grads are more likely to have a grad degree (47.7% vs 32.7%). That can mean more years of school and more loans.
  • At 10% of first-job pay, $30,000 in loans takes about 3.9 years with Computer Science and about 4.2 years with Electrical Engineering.

These are typical numbers for the whole country. Your pay depends on your school, your job and where you live.

What each one studies

Tech

Computer Science

Coding, problem solving and how apps and software really work.

See all Computer Science numbers

Engineering

Electrical Engineering

Circuits and electricity, from phone chips to the power grid.

See all Electrical Engineering numbers

Top jobs for each

Computer Science

  • Software Developers

    Usually needs: Bachelor's degree

    $135,980

  • Computer Systems Analysts

    Usually needs: Bachelor's degree

    $105,850

  • Data Scientists

    Usually needs: Bachelor's degree

    $120,230

  • Network and Computer Systems Administrators

    Usually needs: Bachelor's degree

    $99,130

  • Software Quality Assurance Analysts and Testers

    Usually needs: Bachelor's degree

    $104,300

Electrical Engineering

  • Electrical Engineers

    Usually needs: Bachelor's degree

    $120,630

  • Electronics Engineers

    Usually needs: Bachelor's degree

    $130,220

  • Computer Hardware Engineers

    Usually needs: Bachelor's degree

    $161,740

  • Aerospace Engineers

    Usually needs: Bachelor's degree

    $134,960

Jobs with the most openings first, from the NCES list that matches majors to jobs. Pay is typical pay for everyone in the job, so new grads usually start lower. BLS wage data, May 2025. Schooling: BLS projections 2025 to 2035.

Questions people ask

Which pays more, Computer Science or Electrical Engineering?

Recent Computer Science grads typically make $87,000 a year at ages 22 to 27. Electrical Engineering grads make $82,000. At ages 35 to 45 it's about $120,000 for Computer Science and $123,000 for Electrical Engineering. It depends on the job you want. Pay also changes a lot by school and by job. Source: NY Fed, updated Feb 4, 2026.

Do more Computer Science or Electrical Engineering grads work in jobs that need their degree?

81% of recent Computer Science grads work in jobs that need a degree, and 79% of Electrical Engineering grads do. Unemployment is 7% for Computer Science and 3.2% for Electrical Engineering. Source: NY Fed, updated Feb 4, 2026.

How long does it take to pay off $30,000 in loans with Computer Science vs Electrical Engineering?

If 10% of typical first-job pay goes to the loan, about 3.9 years with Computer Science and about 4.2 years with Electrical Engineering. Pay at your school can be higher or lower. Check yours free at https://majorpayback.com/check.

Do more Computer Science or Electrical Engineering grads go on to grad school?

32.7% of Computer Science grads and 47.7% of Electrical Engineering grads go on to get a grad degree. More school can mean more years and more loans. Source: NY Fed, updated Feb 4, 2026.

See it for your school

The same major can pay very differently depending on the college. Check what grads from your schools made. Free.

The fine print: pay, jobs that need the degree, unemployment and grad degrees come from the Federal Reserve Bank of New York, The Labor Market for Recent College Graduates (NY Fed, updated Feb 4, 2026). Job pay: BLS wage data, May 2025. Job schooling: BLS projections 2025 to 2035. Classwork ratings and descriptions are our own words. These are estimates. Where the numbers come from.