If you are deciding between majoring in computer science or mechanical engineering, you might want to know more about what each major has to offer. This post will show you the key facts about each major and help you to decide which would be a better degree for you.

At a glance:

Mechanical engineeringComputer science
Payscale reported
average pay
$80,251$85,235
Job prospectsGoodVery good
Types of jobs
you can qualify for
Mechanical engineer
Manufacturing engineer
Design engineer
Project engineer
Aerospace engineer
Software Engineer
Software developer
Web developer
App developer
Data scientist
Data analyst
Difficulty of the
major
HardModerate/Hard
Key things to noteA hard major.

Lots of possible job paths.

Average predicted job growth.

Good reported job satisfaction.
A very employable
degree with just a
bachelor’s degree. A
master’s degree can
help in obtaining more
senior positions.

The jobs typically pay
very well, have reasonable
hours and high satisfaction.

A good major if you are
interested in remote work.

Can give you access to
data science and
machine learning roles
if you choose the right
classes.

High predicted job growth.
Source for mechanical engineering average pay and jobs
Source for computer science salary and jobs

There are a number of things to consider when choosing between the two degrees. Below, are details about each major, their differences and reasons to choose one or the other.

Details about a mechanical engineering degree

Below are some details about a degree in mechanical engineering.

Pay

According to Payscale, the average pay of a mechanical engineer is $80,251. This is higher than the average pay of most degrees including most engineering degrees including civil engineering. However, it is lower than the average reported pay for computer engineering ($87,000), electrical engineering ($92,000) and computer science($85,000).

Job prospects

The predicted growth rate for mechanical engineering jobs is 4%, in total, over the next decade and the number of mechanical engineering jobs is said to be 320,000 (source). This, by itself, would give the mechanical engineering major moderately good job prospects.

However, mechanical engineering can also qualify you for jobs in related fields including industrial engineering which has a 10% predicted growth rate. This means that mechanical engineering can have good job prospects, provided that you choose to take classes relevant to areas that are growing and which already have a large number of jobs, at least above 300,000.

Jobs you can qualify for with a bachelor’s degree in mechanical engineering can include:

  • Mechanical engineer
  • Manufacturing engineer
  • Design engineer
  • Project engineer
  • Aerospace engineer

Difficulty

Mechanical engineering is a difficult major. It will include a lot of math classes, a lot of physics classes and the mechanical engineering classes, themselves, can be difficult which also include a lot of physics and mathematics. Overall, you can expect mechanical engineering to be more difficult than a degree in computer science.

Classes

Below are some classes you can expect to take in mechanical engineering:

  • Calculus
  • Differential equations
  • Physics
  • Statics
  • Dynamics
  • Fluid dynamics
  • Thermodynamics
  • Vibrations
  • Design

Things to consider

Mechanical engineering is a major that will involve a lot of study time. If you are choosing the major purely for the job opportunities, there are better alternatives that do not require as much study time such as computer science.

However, mechanical engineering can be a pathway into very interesting careers that are very satisfying. Before choosing mechanical engineering as a major, it would help a lot to research the different jobs you could get and to see if they are things that you would truly enjoy doing.

Details about a computer science major

Below are some details about a major in computer science.

Current pay

According to Payscale, the average salary of a person with a bachelor’s degree in computer science is $85,235. This makes computer science one of the best paying degrees available right now. With that being said, some of these salaries may be slightly inflated since a lot of computer science jobs are in very high cost of living areas such as San Francisco.

Many of the alternative degrees to computer science, such as statistics or applied math, will also have high average salaries. However, not only is computer science one of the best-paying degrees, but it also puts you in a good position with just a bachelor’s degree. On the other hand, many of the alternatives require a master’s degree to be competitive when seeking a job.

Also, many people that get alternative degrees to CS actually end up finding themselves in CS type roles. For example, it is not uncommon for applied mathematics or statistics majors to find themselves working in programming roles after graduating. This is why computer science can also be a very good minor.

Types of jobs the degree will qualify you for

There are many different types of jobs that a computer science degree will open you up to. These can include:

  • Software engineer
  • Database administrator
  • Data scientist
  • Machine learning engineer
  • App developer
  • Web developer
  • Computer systems administrator

Most CS majors will end up taking jobs as a software engineer which is one of the highest-rated jobs available. When interviewing for these roles, you will be tested mainly on algorithms and data structures that you’ll learn about during your time in the major. Make sure to be very comfortable with algorithms and data structures when interviewing.

Data science is another career that is becoming popular among CS majors. If you want to get a job in data science, it would help to take classes in data analysis and machine learning, to learn Python programming, and to complete data science projects. A CS degree combined with classes relevant to data science should put you in a good position to get data science and software engineering jobs.

It would also help to try to get internships during the summer since that will also help you a lot in getting into big tech companies that have very high salaries.

How difficult it is as a major

Computer science can have some difficult classes. Most CS degrees will require you to take calculus 1,2, and 3; linear algebra; and discrete mathematics as well as a number of computer science classes that can be difficult.

Types of classes you will study

Some classes that you can expect to take include:

Programming
Data structures
Algorithms
Assembly language
Databases
Computer architecture
Computer networks

You can also expect to take some mathematics classes including:

Linear algebra
Discrete math
Calculus

If your university does not require that you take those math classes, I would strongly recommend that you take them as electives. This is because they are key classes for machine learning and, if you want to go to grad school, they will be important classes to have on your transcript.

Some classes that you might have the choice of taking could also include

Machine learning
Artificial intelligence
Computer graphics
Computer networks

Important things to be aware of when taking the degree

Before you start taking the degree, it would be very important to consider what you think you would like to do with the degree. By doing so you will be able to optimize your classes to be suited towards what you want to do after graduation.

If your goal is to get into data science or machine learning type roles, it would be important to make sure to take machine learning classes, to do machine learning projects, to take classes in data analysis and to take some statistics classes. It would also be important to make sure to take calculus and linear algebra as a freshman or sophomore if they are not required in your major.

Whereas, if your goal is to get a job as a software engineer, it would be more important to take classes that focus on algorithms and systems architecture type classes.

If you think that you want to go to grad school, it would be important to take up research opportunities and to take classes related to what you think you would like to research as a grad student. It would also be important to look at what classes graduate schools want to see when accepting CS master’s applicants.

More details about the computer science major

I have written more about the computer science major here and I have written more about how hard you can expect the major to be here.

Conclusion

Mechanical engineering is a degree that can give you a pathway towards well paid and fulfilling jobs that are also interesting.

With that being said, mechanical engineering does have average predicted job growth over the next decade and the pay is low compared with computer science on average. Computer science also has very high predicted job growth, there are many different types of jobs that you can qualify for and there are a lot of jobs available.

Overall, they are both degrees that come with good job prospects. When making your decision, it would help to consider what type of work you think you would enjoy the most. It would also be worthwhile to consider alternatives such as computer engineering.

Author

I created and currently manage College Corner. I received a Bachelor's degree in Mathematics from the University of Nevada Las Vegas. My goal is to help current students do better in college and to help future students plan for college. You can read more about me and my website here.