Quick Answer

Computer science is the highest-paying common undergraduate degree. Software developers earn a median of $130,160, and the top 10% earn well above that. Starting salaries for CS graduates typically range from $70,000 to $110,000 depending on company, location, and role. The degree consistently produces higher first-year earnings than any other non-engineering bachelor's degree.

The salary numbers for computer science look almost too good to be true. And that creates its own form of anxiety — not "will I make money?" but "will I be the one CS grad who doesn't land a high-paying job?"

Here is the honest picture: computer science salaries are genuinely strong, but the distribution is wider than the headlines suggest. A software developer at a Big Tech company in San Francisco and a junior developer at a small agency in a mid-size city both have CS degrees. One earns $180,000+ in total compensation. The other earns $65,000. Both outcomes are real.

This guide breaks down where CS salaries actually land, what drives the differences, and how to maximize your earning potential whether you end up at Google or a growing company nobody has heard of yet.

$130,160
Median annual salary for software developers in the United States, 2023

Entry-Level Salary: What to Expect Year One

First-year salaries for CS graduates have the widest range of almost any major, running from $55,000 to $140,000+ depending on employer and location.

Big Tech (Google, Meta, Apple, Amazon, Microsoft) starting salaries for new-grad software engineers are $110,000 to $130,000 in base salary, but total compensation including signing bonuses, stock grants, and annual bonuses pushes year-one earnings to $150,000 to $200,000 in some cases. These are real numbers, but they represent a small fraction of all CS graduates — these companies are famously selective.

Mid-size tech companies and well-funded startups offer base salaries of $85,000 to $115,000 with equity packages that vary enormously in actual value. The equity can be worth a lot or nothing depending on the company's trajectory.

Non-tech companies hiring developers (banks, healthcare systems, retailers, manufacturers) start CS graduates at $65,000 to $90,000. These roles may not carry the prestige of a tech company, but the work-life balance is often better and the jobs are more geographically distributed.

Government and defense positions for CS graduates start at $55,000 to $80,000 on the General Schedule, with security clearance holders earning 10-15% premiums. The benefits package and job security partly offset the lower base pay.

IT roles (as opposed to software development) start at $55,000 to $75,000. Systems administrator, network engineer, and IT analyst positions use CS knowledge but pay less than development roles.

Expert Tip

Do not fixate on Big Tech starting salaries as the benchmark for your degree's value. Only about 10-15% of CS graduates land at FAANG-tier companies. If you are comparing yourself to those outliers, you will feel underpaid at $80,000 — a salary that puts you in the top tier of all bachelor's degree holders.

Mid-Career Salary: Where the Money Actually Goes

CS salary growth in the first decade is among the strongest of any profession, especially for developers who stay technical.

Years 2-4: Mid-level software developers earn $90,000 to $140,000. At top tech companies, a promotion to "senior" level within 2-3 years can push total compensation to $180,000 to $250,000. Outside Big Tech, mid-level developers earn $80,000 to $120,000.

Years 5-8: Senior developers and tech leads earn $120,000 to $200,000 at most companies, and $200,000 to $350,000+ at top tech firms. This is also when the management vs. individual contributor fork appears — you either move toward engineering management or deepen as a senior/staff engineer.

Years 8-15: Staff engineers and engineering managers earn $150,000 to $300,000 at mid-to-large companies. Principal engineers and directors of engineering at top firms earn $300,000 to $500,000+ in total compensation. These are not typical outcomes, but they are not rare either — the top quartile of experienced CS professionals earns exceptionally well.

The BLS data shows the broader picture: software quality assurance analysts and testers earn a median of $101,8001, while information security analysts earn a median of $120,3602. Even the less glamorous CS career paths pay well above the national median for all workers.

Important

The tech industry goes through hiring cycles. During downturns, entry-level hiring slows dramatically while experienced developers remain in demand. Do not assume the hiring environment you graduate into will match what you saw two years earlier. Build a strong portfolio and maintain multiple job prospects.

Salary by Industry

Computer science is one of the few degrees where you can work in virtually any industry, and every industry needs your skills.

Technology companies pay the highest total compensation for CS graduates at every level. Base salaries are competitive, but stock grants and bonuses at public tech companies are what create the outsized compensation packages you see reported online.

Financial services and fintech are the second-highest-paying sector for CS talent. Banks, hedge funds, and trading firms hire software developers and pay base salaries of $100,000 to $150,000 at mid-level, with bonuses that can match or exceed base pay. Quant developers at trading firms earn among the highest compensation in the entire profession.

Healthcare technology is growing rapidly and pays well. Health tech companies and hospital systems need developers for electronic health records, telemedicine, and clinical data systems. Salaries are 10-20% below pure tech companies but come with the stability of the healthcare market.

Defense and government contractors offer base salaries below the tech sector but add security clearance premiums and strong benefits. A cleared software developer with 5 years of experience earns $100,000 to $140,000 at major defense contractors, plus retirement benefits.

Consulting firms hire CS graduates for technology consulting roles starting at $75,000 to $100,000 at mid-tier firms. Large consulting firms (Accenture, Deloitte, McKinsey's tech practice) pay $90,000 to $130,000 for new-grad technology consultants.

Did You Know

Software developers working in financial services and fintech often earn as much as or more than those at pure tech companies when total compensation (base + bonus) is calculated, though the culture and work-life balance differ significantly.

Salary by Location

Geographic salary variation for CS professionals is the most extreme of any degree, with differences of 50-80% between the highest and lowest-paying markets.

San Francisco / Bay Area is the global epicenter for tech compensation. Software developers in this market earn 40-60% above the national median. Total compensation at major companies regularly exceeds $200,000 for mid-career developers. The catch: housing costs consume a significant portion of that premium.

Seattle offers compensation close to the Bay Area — driven by Amazon, Microsoft, and a growing tech ecosystem — with somewhat lower living costs.

New York City tech salaries have risen substantially and now compete with the Bay Area for many roles, especially in fintech and media technology.

Austin, Denver, and Raleigh-Durham are the fastest-growing tech salary markets. Companies establishing offices in these cities offer salaries 10-20% below Bay Area rates, but the cost-of-living savings make the purchasing power comparable or better.

Remote work has reshuffled the geographic salary landscape. Some companies pay location-adjusted salaries, while others offer flat national or even global rates. CS professionals with in-demand skills (machine learning, cloud architecture, security) have the strongest negotiating position for location-agnostic compensation.

The lowest-paying markets for CS graduates are small cities without significant tech employers. Even in these markets, CS salaries are well above the local median for all occupations, but they may feel disappointing compared to tech hub numbers.

25%
Projected job growth for software developers through 2032, much faster than the average for all occupations

Highest-Paying Career Paths With This Degree

Machine Learning Engineer roles are among the highest-compensated in all of tech. Senior ML engineers at major companies earn $200,000 to $400,000+ in total compensation. The field requires deep knowledge of algorithms, statistics, and software engineering.

Cloud Architect / Platform Engineer roles pay $150,000 to $250,000 at mid-to-senior levels. Companies investing in cloud infrastructure pay premiums for engineers who can design and manage scalable systems.

Security Engineer positions reflect the growing urgency of cybersecurity. Information security analysts earn a median of $120,3602, and senior security engineers at tech companies earn $160,000 to $250,000. Demand is growing faster than supply.

Engineering Manager and Director roles combine technical depth with people management. Engineering managers at mid-size companies earn $160,000 to $220,000, while directors and VPs of engineering at large companies earn $250,000 to $500,000+.

Quantitative Developer roles at trading firms and hedge funds are the compensation outliers of the CS world. Total compensation for experienced quant developers can reach $300,000 to $700,000+ at top firms, though the competition is intense and the work is demanding.

What Actually Moves the Needle on Your Salary

What matters most:

System design and architecture skills. The difference between a developer who writes features and one who designs systems is $50,000+ in mid-career compensation. Invest time in understanding distributed systems, databases, and infrastructure.

Company selection. The gap between median tech company compensation and top-tier company compensation is wider in CS than in any other field. Landing at a high-paying company has more salary impact than almost any other factor.

Staying current with in-demand technologies. CS is unusual in that specific technical skills can add $20,000 to $40,000 in market value. Machine learning, cloud infrastructure, and security are currently the highest-premium skill areas.

What matters less than you think:

Your university's ranking, beyond getting past initial resume screens. Three years of professional experience and a strong GitHub portfolio matter more than your alma mater. A developer from a state school who ships quality code will out-earn a developer from a top-10 school who coasts on the brand.

Algorithm puzzle performance, beyond passing interviews. Leetcode-style interview prep matters for getting hired, but your on-the-job impact determines your career trajectory.

A master's degree, for most software development roles. A master's adds $5,000 to $15,000 in starting salary but costs two years of foregone earnings. The ROI is better for research-focused roles (ML, AI) and worse for standard development.

Expert Tip

The highest long-term ROI career move for most CS graduates is optimizing for learning velocity in your first job rather than starting salary. A developer who spends three years at a company with strong engineering culture and mentorship will out-earn one who chased the highest starting offer at a company with poor engineering practices — usually within five years.

CS graduates should compare their options against engineering and finance paths, the two other undergraduate degrees that compete at the top of the salary distribution.

FAQ

What is the starting salary for a computer science degree?

Most CS graduates start between $70,000 and $110,000. Big Tech companies offer $110,000 to $130,000+ in base salary with additional stock and bonuses. Mid-size companies and non-tech employers offer $65,000 to $95,000. Government and defense positions start at $55,000 to $80,000.

Is computer science the highest-paying degree?

Among common undergraduate degrees, CS consistently produces the highest average starting salaries. Only specialized engineering disciplines (petroleum, computer engineering) reliably match or exceed CS starting pay. At the mid-career level, CS compensation at top companies is among the highest of any profession.

Do you need a CS degree to be a software developer?

No, but it helps. Self-taught developers and bootcamp graduates can and do get hired, especially at smaller companies. However, CS degree holders have advantages in algorithmic knowledge, system design, and getting past resume screens at larger companies. The salary gap between degreed and non-degreed developers is largest at Big Tech companies and smallest at startups.

How much do software developers make after 5 years?

Five-year developers typically earn $100,000 to $160,000 at most companies. At top tech companies, total compensation at this stage can reach $200,000 to $300,000. The range is wide because company, location, and specialization all play major roles.

Will AI reduce computer science salaries?

AI is changing which CS skills are most valuable, not reducing demand for CS professionals overall. The BLS projects 25% growth for software developers through 2032. Developers who build, maintain, and improve AI systems are among the most sought-after professionals. Routine coding tasks may be partially automated, but system design, architecture, and problem-solving remain human skills.

Is a CS master's degree worth it for salary?

For most software development roles, a master's adds $5,000 to $15,000 in starting salary while costing two years of earnings ($140,000+ in opportunity cost). It makes financial sense for research-focused roles in AI/ML, where a master's or PhD is often required for entry. For standard development careers, work experience provides better salary returns than additional education.


More on this degree:

Footnotes

  1. U.S. Bureau of Labor Statistics. (2025). Occupational Outlook Handbook: Computer and Information Technology Occupations. BLS. https://www.bls.gov/ooh/computer-and-information-technology/

  2. U.S. Bureau of Labor Statistics. (2025). Occupational Outlook Handbook: Information Security Analysts. BLS. https://www.bls.gov/ooh/computer-and-information-technology/information-security-analysts.htm 2

  3. U.S. Bureau of Labor Statistics. (2025). Occupational Outlook Handbook: Software Developers, Quality Assurance Analysts, and Testers. BLS. https://www.bls.gov/ooh/computer-and-information-technology/software-developers.htm