
Most comparisons of these two majors are opinion. This one is built from three kinds of official source: what the accreditor requires of each degree, what the courses are at universities that offer both, and what the government reports about the jobs.
We are the engineering team at DoMyProgrammingHomework.io. Every quote below is from a page we read on December 1, 2026.
Side by side
| Computer science | Computer engineering | |
|---|---|---|
| Main subject | Software, algorithms and theory | Computer systems: hardware and software together |
| Courses the other doesn’t require | Programming languages, software design, more theory | Circuits, electronics, signals, digital design |
| Math the accreditor names | Discrete math, probability and statistics | Calculus, probability and statistics, discrete math |
| Science | A science course outside computing | Physics, including electricity and magnetism at the four universities we compared |
| Shared with the other | Data structures, and usually discrete math and algorithms | The same |
| Closest hardware job, median pay | Not the usual route | Computer hardware engineers: $161,740 |
| Closest software job, median pay | Software developers: $135,980 | Open to both |
| Bachelor’s degrees, 2021–22 | 40,073 counted as “Computer science” | 9,746 counted as “Computer engineering, general” |
The sections below give the source for each row.
What universities that offer both say
- Purdue: the sentence in the box above.
- University of Washington: “In general, the Computer Science major is more flexible and focuses on software systems and applications.” And: “Computer Engineering requires learning more about the underlying hardware, as well as lower-level systems, which interact more closely with that hardware.”
- Illinois: “In general, computer engineers build the physical infrastructure (hardware) of computing systems, while computer scientists develop the tools (software) that operate these systems.”
- Penn State tells applicants who might like each. Computer science: “You want to understand how to build and analyze complex software solutions”. Computer engineering: “You excel in math and physics and have an interest in designing and constructing computer hardware”.
- Duke stresses the overlap: “Both disciplines study the inner workings of computers and both study hardware, as well as software aspects of computer systems.”
Duke also explains where the split came from: “Many CompSci departments at American universities began as offshoots from mathematics departments.” And: “Computer engineering programs were largely developed in engineering departments strong in electrical engineering.” That history still shows in the courses.
What the accreditor requires
In the United States, ABET accredits both kinds of program, under two different sets of criteria. We read the 2025–2026 and 2026–2027 editions, and the lines below are in both.
Computer science programs must include “At least 40 semester credit hours (or equivalent)” of computer science, with “Substantial coverage of algorithms and complexity, computer science theory, concepts of programming languages, and software development.” The math requirement is “At least 15 semester credit hours (or equivalent) that must include discrete mathematics, probability, and statistics”.
Computer engineering programs fall under the engineering criteria. The curriculum must include “mathematics through differential and integral calculus” and the topics “necessary to analyze and design complex electrical and electronic devices, software, and systems containing hardware and software components.” One line is specific to this major: “The curriculum for programs containing the modifier “computer” in the title must include discrete mathematics.”
Every accredited engineering degree must also have “a minimum of 30 semester credit hours (or equivalent) of a combination of college-level mathematics and basic sciences” and “a minimum of 45 semester credit hours (or equivalent) of engineering topics”.
So the accreditor’s own split is this. Computer science is defined by algorithms, theory, programming languages and software. Computer engineering is defined as engineering: more math and science, and systems that contain hardware.
Not every program is accredited by ABET. Check your own.
The courses that differ
We compared the required courses at four universities that offer both degrees.
| University | Computer science only | Computer engineering only | Both |
|---|---|---|---|
| Illinois | Programming Languages & Compilers, Software Design Lab, Numerical Methods I | Introduction to Electronics, Analog Signal Processing, Digital Systems Laboratory, Intro Differential Equations | Discrete Structures, Data Structures, Introduction to Algorithms & Models of Computation, two physics courses |
| Texas A&M | Programming Languages, Design and Analysis of Algorithms, Linear Algebra, Principles of Statistics I | Electrical Circuit Theory, Signals and Systems, Electronics, Digital Integrated Circuit Design | Program Design and Concepts, Data Structures and Algorithms, Discrete Structures for Computing |
| Penn State | Software Engineering Principles, Programming Language Concepts, Software Design Methods | Circuits and Devices, Electronic Circuit Design I, Signals and Systems, Introduction to Computer Architecture | Computer Systems I and II, Discrete Mathematics for Computer Science, Data Structures and Algorithms, Digital Design |
| Washington | Software Design and Implementation | Intro to Electrical Engineering or Intro to Signal Conditioning, Introduction to Digital Design, Design of Digital Circuits & Systems, Mechanics, Electromagnetism | Foundations of Computing I and II, Data Structures and Parallelism, The Hardware/Software Interface |
The same pattern shows at all four.
- Computer engineering adds electrical engineering. An electronics or circuits course is on that side at all four. Signals courses are there at three, and digital design courses at three.
- Computer science adds software depth. A programming languages course is on that side at three of the four, and a software design course at three.
- The shared part is real. Data structures is required in both degrees at all four, and a course with discrete math in its title at three.
Purdue’s core lists tell the same story. The computer science core includes “Programming in C” and “Systems Programming”. The computer engineering core includes “Electrical Engineering Fundamentals I”, “Signals and Systems” and “Microprocessor Systems and Interfacing”.
Illinois sums up its own two degrees. Computer science gives “a broad and deep knowledge of the theory, design, and application of computer systems, with an emphasis on software systems.” The computer engineering core covers “circuits, systems, electromagnetics, computer systems, electronics for information processing and communication, and computer science.”
Jobs and pay
| Occupation | Median pay | Jobs in 2025 | Projected growth | Openings a year |
|---|---|---|---|---|
| Computer hardware engineers | $161,740 | 76,100 | 9 percent | About 4,100 |
| Software developers, quality assurance analysts and testers | $134,040 | 1,905,400 | 10 percent | About 106,100 |
| Electrical and electronics engineers | $125,040 | 297,900 | 8 percent | About 16,300 |
For software developers alone, the Bureau gives a median of $135,980.
Two things stand out. Hardware engineering pays more at the median. And it is a far smaller field: 76,100 jobs against 1.9 million. The Bureau says “Computer hardware engineers typically need a bachelor’s degree in computer engineering or a related field.”
A computer engineering degree does not limit you to hardware. The University of Washington says of its two majors: “Students in both majors can tailor their course of study to their interests, and either is appropriate for most employment opportunities.”
The Federal Reserve Bank of New York tracks recent graduates by major. In its 2024 data the two are close.
| Major | Unemployed | Early-career wage | Mid-career wage |
|---|---|---|---|
| Computer science | 7.0% | $87,000 | $120,000 |
| Computer engineering | 7.8% | $90,000 | $131,000 |
| All majors | 4.2% | $58,000 | $87,000 |
The wages are medians, and we rounded the rates to one decimal place. Both majors pay well above the average, and both had higher unemployment than the average among recent graduates. We looked at that in detail in is computer science still a good major?
How many students choose each
The National Center for Education Statistics counted bachelor’s degrees for 2021–22. It lists 40,073 under “Computer science” and a further 25,124 under “Computer and information sciences, general”. It lists 9,746 under “Computer engineering, general”.
The table does not say which row a given university’s degree is counted in, so treat these as rough sizes. Computer engineering is the smaller major by a wide margin.
Licensing
Computer engineering is an engineering degree, and engineering has a licence. The licensing body, NCEES, says its first exam “is designed for recent graduates and students who are close to finishing an undergraduate engineering degree from an EAC/ABET-accredited program.” There is a professional exam in this field too: “The PE Electrical and Computer: Computer Engineering exam is computer-based and administered one day per year.”
Texas A&M says its computer engineering program “prepares the student for licensing as a professional engineer as well.” Whether you would ever need a licence depends on the work. We found no official figure for how many computer engineers hold one, so we don’t give one.
Can you switch, or do both?
It depends on the university, so ask early.
- Washington: “we allow students to switch between our Allen School majors as long as it does not significantly delay their graduation!” But: “There are no double majors/double degrees between Computer Science and Computer Engineering”.
- Duke: “many of our Electrical & Computer Engineering majors take a second major in Computer Science.”
- Illinois: “CE majors are not eligible for the CS minor.”
Because the early courses overlap, a switch is easiest in the first year or two. That is our reading of the course lists above, not a rule.
Which one is for you?
- Do you want to build the machine or what runs on it?If chips, boards and devices interest you, that points to computer engineering. If software does, computer science.
- How do you feel about physics?Computer engineering requires more of it, including electricity and magnetism, and circuits courses that build on it.
- Do you want room to choose?Washington describes its computer science degree as having “more flexibility in its upper-division requirements.”
- Are you unsure?Look at the shared courses. Data structures counts toward both degrees at all four universities we compared.
A third option at some universities is covered in computer science vs software engineering. Neither is the easier degree. We know of no official measure that ranks them, and we don’t trust the sites that claim one. The hard courses are different: theory and algorithms on one side, circuits and signals on the other. For the computer science side, see is computer science hard? and is discrete math hard?
Where we can help
We work on the programming side of both degrees. Send us the assignment, and a senior engineer writes or fixes it, tests it and explains the code line by line. That covers C, C++, data structures, operating systems, computer networking and MATLAB. We don’t take circuit or electronics problem sets.
Questions students ask
What is the difference between computer science and computer engineering?
Computer science focuses on software, algorithms and theory. Computer engineering combines software with hardware and adds electrical engineering courses such as circuits, electronics, signals and digital design. Purdue describes computer engineering as a combination of software and hardware with additional instruction in fundamental electrical engineering topics.
Is computer engineering harder than computer science?
There is no official measure that ranks them. Computer engineering requires more physics and electrical engineering, including circuits and signals. Computer science requires more theory, programming languages and software design. Which is harder for you depends on which of those you find difficult.
Which pays more, computer science or computer engineering?
They are close. In the Federal Reserve Bank of New York’s 2024 data, the early-career median wage is 87,000 dollars for computer science and 90,000 dollars for computer engineering, and the mid-career medians are 120,000 and 131,000 dollars. The Bureau of Labor Statistics reports a 2025 median of 161,740 dollars for computer hardware engineers and 135,980 dollars for software developers.
Can a computer engineer work as a software developer?
Yes. The two degrees share programming, data structures and algorithms courses. The University of Washington says students in both of its majors can tailor their studies and that either is appropriate for most employment opportunities.
Do computer science majors take physics?
Often some, and less than computer engineers. At Illinois both majors take mechanics and electricity and magnetism, and computer engineering adds two more physics courses. The accreditor requires computer science programs to include science coursework in a non-computing area, without naming physics.
Which has more math, computer science or computer engineering?
Computer engineering usually requires more. Accredited engineering programs need at least 30 semester credit hours of mathematics and basic sciences, including calculus, and computer engineering lists often add differential equations. Accredited computer science programs need at least 15 semester credit hours of mathematics and statistics, including discrete mathematics.
Can you switch between computer science and computer engineering?
At some universities, yes. The University of Washington allows students to switch between its two majors as long as it does not significantly delay graduation. Rules differ, so ask your own department early, while the shared courses still count toward both.
Sources
- ABET: criteria for accrediting computing programs, 2025–2026 and criteria for accrediting engineering programs, 2025–2026
- University of Illinois catalog: computer science and computer engineering, and the Siebel School degree options FAQ
- Texas A&M catalog: computer science and computer engineering
- Penn State bulletin: computer science and computer engineering
- University of Washington, Allen School: undergraduate education, admissions and degree requirements
- Purdue: computer science degree requirements, computer engineering core and the electrical and computer engineering FAQ
- Duke: computer science and electrical and computer engineering compared
- US Bureau of Labor Statistics: computer hardware engineers, electrical and electronics engineers and software developers, quality assurance analysts and testers
- Federal Reserve Bank of New York: the labor market for recent college graduates
- National Center for Education Statistics, Digest table 318.30
- NCEES: the FE exam and the PE electrical and computer exam
The University of Michigan’s, Ohio State’s and Carnegie Mellon’s pages would not load, so they are not compared. The Bureau’s two engineering pages were read through a text reader, not as raw pages.
Upload the prompt and see a predicted budget in under a minute. A senior engineer confirms the final price.


