Do My Programming HomeworkDo My Programming Homework

Computer science vs computer engineering: the difference, from real degree plans

What the accreditor requires of each degree, the courses that differ at four universities that offer both, and the official pay and job figures.

DoMyProgrammingHomework.io engineering teamReviewed by Pollen Victory, founderPublished Dec 2, 2026 · 10 min read
Two checklists side by side: algorithms, programming languages and software design for computer science, and circuits, signals and digital design for computer engineering
The short answer
Computer science is mainly about software: programming, algorithms and the theory behind them. Computer engineering is about hardware and software together, and it adds electrical engineering: circuits, electronics, signals and digital design, with more physics and math. Purdue puts it in one sentence: “The focus of Computer Science is primarily on software, whereas Computer Engineering is a combination of software and hardware with additional instruction in fundamental Electrical Engineering topics.” The two degrees share programming, data structures and discrete math, and graduates of both work in software.

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 and computer engineering compared
Computer scienceComputer engineering
Main subjectSoftware, algorithms and theoryComputer systems: hardware and software together
Courses the other doesn’t requireProgramming languages, software design, more theoryCircuits, electronics, signals, digital design
Math the accreditor namesDiscrete math, probability and statisticsCalculus, probability and statistics, discrete math
ScienceA science course outside computingPhysics, including electricity and magnetism at the four universities we compared
Shared with the otherData structures, and usually discrete math and algorithmsThe same
Closest hardware job, median payNot the usual routeComputer hardware engineers: $161,740
Closest software job, median paySoftware developers: $135,980Open to both
Bachelor’s degrees, 2021–2240,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.

Required courses in one degree and not the other
UniversityComputer science onlyComputer engineering onlyBoth
IllinoisProgramming Languages & Compilers, Software Design Lab, Numerical Methods IIntroduction to Electronics, Analog Signal Processing, Digital Systems Laboratory, Intro Differential EquationsDiscrete Structures, Data Structures, Introduction to Algorithms & Models of Computation, two physics courses
Texas A&MProgramming Languages, Design and Analysis of Algorithms, Linear Algebra, Principles of Statistics IElectrical Circuit Theory, Signals and Systems, Electronics, Digital Integrated Circuit DesignProgram Design and Concepts, Data Structures and Algorithms, Discrete Structures for Computing
Penn StateSoftware Engineering Principles, Programming Language Concepts, Software Design MethodsCircuits and Devices, Electronic Circuit Design I, Signals and Systems, Introduction to Computer ArchitectureComputer Systems I and II, Discrete Mathematics for Computer Science, Data Structures and Algorithms, Digital Design
WashingtonSoftware Design and ImplementationIntro to Electrical Engineering or Intro to Signal Conditioning, Introduction to Digital Design, Design of Digital Circuits & Systems, Mechanics, ElectromagnetismFoundations 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

US Bureau of Labor Statistics figures, 2025, with projections to 2035
OccupationMedian payJobs in 2025Projected growthOpenings a year
Computer hardware engineers$161,74076,1009 percentAbout 4,100
Software developers, quality assurance analysts and testers$134,0401,905,40010 percentAbout 106,100
Electrical and electronics engineers$125,040297,9008 percentAbout 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.

Recent graduates, Federal Reserve Bank of New York (2024 data)
MajorUnemployedEarly-career wageMid-career wage
Computer science7.0%$87,000$120,000
Computer engineering7.8%$90,000$131,000
All majors4.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?

Four questions to ask yourself
  1. 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.
  2. How do you feel about physics?Computer engineering requires more of it, including electricity and magnetism, and circuits courses that build on it.
  3. Do you want room to choose?Washington describes its computer science degree as having “more flexibility in its upper-division requirements.”
  4. 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.

Free price checkSee what your assignment would costUpload the assignment. You see a price range in under a minute, with no email needed. Your fixed price never goes above the top of that range.
Check your course rules first
Rules on outside help differ between schools, courses and assignments. Read your syllabus and honor code before you use any help, ours included. Our academic integrity page says what we do and what we won’t.

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

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.

Stuck on your own assignment?

Upload the prompt and see a predicted budget in under a minute. A senior engineer confirms the final price.

Keep reading

Related guides