Cybersecurity vs Computer Science: A Salary Comparison
In today's tech-driven world, both cybersecurity and computer science are high-demand, lucrative fields. But which one makes more? Let's delve into the salaries, job roles, and factors influencing earnings in these two domains.
Understanding the Job Roles
Before comparing salaries, let's understand the job roles in both fields.
- Computer Science: Computer scientists design and develop software, computer systems, and applications. They can work in various roles like software developers, database administrators, or computer and information research scientists.
- Cybersecurity: Cybersecurity professionals protect computer systems and networks from threats, damage, or unauthorized access. They can work as information security analysts, security software developers, or chief information security officers (CISOs).
Average Salaries: A Side-by-Side Comparison
Now, let's compare the average salaries for these roles in the United States, using data from the U.S. Bureau of Labor Statistics (BLS) and Glassdoor.

| Job Title | BLS Median Annual Salary (2020) | Glassdoor Average Base Salary (2021) |
|---|---|---|
| Software Developers, Quality Assurance Analysts, and Testers | $110,140 | $95,000 |
| Information Security Analysts | $103,590 | $100,000 |
| Database Administrators | $98,860 | $85,000 |
| Computer and Information Research Scientists | $126,830 | $110,000 |
| Chief Information Security Officers (CISOs) | N/A (varies greatly by company size) | $160,000 |
Factors Affecting Salary
Several factors can influence salaries in both fields, including:
- Location: Salaries can vary significantly based on the city and state. Tech hubs like San Francisco and New York typically pay higher salaries.
- Experience: As with most fields, salaries increase with experience and seniority.
- Industry: Some industries, like finance or healthcare, may pay higher salaries for cybersecurity roles due to the sensitive nature of their data.
- Certifications: Relevant certifications, like the CISSP for cybersecurity or the PMP for project management, can boost salaries.
Which Field Offers More Growth Potential?
Both fields offer excellent growth potential, but cybersecurity may have an edge due to the increasing threat landscape and the need for skilled professionals. According to the U.S. Bureau of Labor Statistics, employment of information security analysts is projected to grow 33% from 2020 to 2030, much faster than the average for all occupations.
Final Thoughts
While cybersecurity roles may pay slightly more on average, salaries in both fields can vary greatly depending on various factors. Ultimately, the choice between the two fields should depend on your interests, skills, and career goals. Both fields offer challenging, rewarding, and high-paying careers in the tech industry.
























