Software engineering remains one of the best-paying professions in the world. This guide breaks down real 2025 compensation data by level, role, tech stack, location, and company type — plus a negotiation playbook.
At a glance
| Level | US median base | US total comp | Global median |
|---|---|---|---|
| Junior (0–2 yrs) | $85,000–$115,000 | $90,000–$130,000 | $30,000–$70,000 |
| Mid-level (2–5 yrs) | $115,000–$155,000 | $125,000–$180,000 | $50,000–$100,000 |
| Senior (5–10 yrs) | $155,000–$215,000 | $180,000–$300,000 | $70,000–$140,000 |
| Staff (8–15 yrs) | $200,000–$280,000 | $280,000–$500,000 | $90,000–$180,000 |
| Principal / Distinguished | $250,000–$350,000+ | $400,000–$800,000+ | $110,000–$250,000 |
Data sources: Levels.fyi, Glassdoor, LinkedIn Salary Insights, Stack Overflow Developer Survey 2024, Blind, and company public filings. Ranges reflect the 25th–75th percentile; outliers (FAANG top-of-band) are noted separately.
Salary by level (US)
Junior Software Engineer (0–2 years)
Entry-level engineers typically hold a CS degree or bootcamp certificate and need significant mentorship.
| Metric | Amount |
|---|---|
| Median base salary | $100,000 |
| 25th percentile | $85,000 |
| 75th percentile | $115,000 |
| FAANG median base | $140,000–$165,000 |
| Typical signing bonus | $10,000–$25,000 |
| RSU (4-yr cliff) | $20,000–$80,000/yr at FAANG |
What gets you into the top quartile:
- Internship at a name-brand company
- Strong LeetCode / algorithms skills
- Contribution to open-source projects
- Machine learning or systems programming background
Mid-level Software Engineer (2–5 years)
The most common career stage. Engineers own features end-to-end and require little mentorship.
| Metric | Amount |
|---|---|
| Median base salary | $135,000 |
| 25th percentile | $115,000 |
| 75th percentile | $155,000 |
| FAANG median base | $175,000–$210,000 |
| Total comp at FAANG | $220,000–$320,000 |
Senior Software Engineer (5–10 years)
The most sought-after level. Seniors lead projects, mentor juniors, and make architectural decisions. Most companies have a "career level" here — you can stay Senior indefinitely.
| Metric | Amount |
|---|---|
| Median base salary | $175,000 |
| 25th percentile | $155,000 |
| 75th percentile | $215,000 |
| FAANG median base | $210,000–$265,000 |
| Total comp at FAANG | $350,000–$550,000 |
| Total comp at top startup | $180,000–$300,000 |
Staff Software Engineer (8–15 years)
Staff engineers drive cross-team technical direction. This is the first "management-equivalent" individual contributor level.
| Metric | Amount |
|---|---|
| Median base salary | $230,000 |
| 25th percentile | $200,000 |
| 75th percentile | $280,000 |
| FAANG median total comp | $450,000–$650,000 |
| At tier-2 tech (Stripe, Airbnb, DoorDash) | $350,000–$500,000 |
Principal / Distinguished Engineer (12+ years)
Rare roles. These engineers set company-wide technical strategy and are industry thought leaders.
| Metric | Amount |
|---|---|
| Median base salary | $290,000 |
| FAANG total comp | $600,000–$1,200,000+ |
| Equity (4-yr grant) | $400,000–$2,000,000 |
Salary by role / specialization
| Role | US median base | Total comp (FAANG) | Demand |
|---|---|---|---|
| Frontend Engineer | $135,000 | $200,000–$400,000 | High |
| Backend Engineer | $145,000 | $220,000–$450,000 | Very High |
| Full-Stack Engineer | $140,000 | $210,000–$420,000 | Very High |
| iOS / Android Mobile | $145,000 | $220,000–$430,000 | High |
| DevOps / SRE | $155,000 | $240,000–$500,000 | Very High |
| Data Engineer | $155,000 | $240,000–$470,000 | Very High |
| Machine Learning Engineer | $175,000 | $300,000–$600,000 | Explosive |
| AI / LLM Engineer | $185,000 | $350,000–$700,000 | Explosive |
| Security Engineer | $160,000 | $260,000–$520,000 | High |
| Platform / Infrastructure | $165,000 | $270,000–$540,000 | High |
| Embedded / Systems | $145,000 | $220,000–$430,000 | Moderate |
| QA / Test Automation | $115,000 | $160,000–$280,000 | Moderate |
| Technical Lead (IC) | $175,000 | $280,000–$500,000 | High |
| Engineering Manager | $190,000 | $300,000–$600,000 | High |
Highest-paid specialty in 2025: ML/AI Engineering. The rise of LLM applications has pushed AI engineer salaries 20–35% above general software engineering.
Salary by tech stack / programming language
| Language / Stack | US median salary | Demand trend |
|---|---|---|
| Python (ML/AI focus) | $165,000 | ↑↑ Explosive |
| Rust | $165,000 | ↑↑ Strong |
| Go (Golang) | $160,000 | ↑ Strong |
| TypeScript / Node.js | $148,000 | ↑ Strong |
| Kotlin / Android | $150,000 | → Stable |
| Swift / iOS | $148,000 | → Stable |
| Java (Spring Boot) | $145,000 | → Stable |
| C++ (systems / games) | $155,000 | → Stable |
| C# (.NET) | $140,000 | → Stable |
| React / Next.js | $142,000 | ↑ Strong |
| Ruby on Rails | $135,000 | ↓ Declining |
| PHP (Laravel) | $120,000 | ↓ Declining |
| COBOL (banking) | $90,000–$140,000* | ↑ Niche demand |
| Solidity (Web3) | $120,000–$200,000 | ↓ Volatile |
*COBOL pays surprisingly well due to scarcity — most programmers don't want to touch it, but banks depend on it.
Salary by US city / metro area
| Location | Median SE salary | Cost of living index | Adjusted buying power |
|---|---|---|---|
| San Francisco, CA | $195,000 | 100 (baseline) | Medium |
| New York, NY | $185,000 | 95 | Medium |
| Seattle, WA | $180,000 | 80 | High |
| Austin, TX | $145,000 | 62 | High |
| Boston, MA | $155,000 | 80 | Medium-High |
| Denver, CO | $140,000 | 65 | High |
| Atlanta, GA | $130,000 | 58 | High |
| Chicago, IL | $140,000 | 65 | High |
| Los Angeles, CA | $165,000 | 88 | Medium |
| Miami, FL | $135,000 | 67 | Medium |
| Dallas, TX | $135,000 | 60 | High |
| Remote (US-based) | $145,000–$170,000 | Varies | Varies |
Best value city for engineers: Seattle and Austin — high salaries, no state income tax (WA/TX), and lower cost of living than SF.
Salary by global region
| Country / Region | Junior | Senior | Notes |
|---|---|---|---|
| 🇺🇸 United States | $85k–$115k | $155k–$215k | Highest absolute pay globally |
| 🇨🇦 Canada | $60k–$85k CAD | $100k–$150k CAD | ~25–35% lower than US |
| 🇬🇧 United Kingdom | £40k–£65k | £70k–£120k | London premium ~20% |
| 🇩🇪 Germany | €45k–€65k | €80k–€130k | Strong employer benefits |
| 🇳🇱 Netherlands | €48k–€70k | €80k–€130k | High taxes, good perks |
| 🇸🇪 Sweden | SEK 450k–550k | SEK 750k–1.1M | Excellent work-life balance |
| 🇨🇭 Switzerland | CHF 90k–120k | CHF 150k–220k | Highest in Europe (PPP) |
| 🇦🇺 Australia | AUD 75k–100k | AUD 130k–190k | Growing tech scene |
| 🇮🇳 India | ₹6–15 LPA | ₹25–70 LPA | 10× lower but growing |
| 🇧🇷 Brazil | BRL 60k–120k | BRL 150k–280k | Booming remote market |
| 🇵🇱 Poland | PLN 80k–130k | PLN 160k–260k | Popular nearshore hub |
| 🇷🇴 Romania | €20k–€35k | €40k–€80k | Fastest-growing EU market |
| 🇺🇦 Ukraine | $20k–$40k | $50k–$90k | Strong talent pool |
| 🌐 Remote (US employer) | $80k–$130k | $130k–$200k | "Geo-adjusted" varies |
Salary by company type
| Company type | TC range (Senior) | Pros | Cons |
|---|---|---|---|
| FAANG / Top tech (Google, Meta, Apple, Microsoft, Amazon) | $350k–$550k | Highest TC, best resume brand, scale problems | High bar, performance pressure, political |
| Tier-2 tech (Stripe, Airbnb, DoorDash, Snowflake, Figma) | $250k–$450k | Great TC, still prestigious, more ownership | Intense culture, less job security |
| High-growth startup (Series B–D) | $150k–$250k + equity | Equity upside, ownership, fast career growth | Equity may be worthless, burnout risk |
| Early-stage startup (Seed–Series A) | $100k–$160k + equity | Founding team exposure, massive equity potential | High risk, often no TC premium |
| Mid-size tech (500–5,000 employees) | $160k–$280k | Balance of TC and stability | Less prestige, equity often disappoints |
| Enterprise / Fortune 500 (non-tech) | $110k–$180k | Job security, benefits, work-life balance | Slower, legacy tech, lower TC |
| Government / Public sector | $80k–$140k | Job security, pension, work-life balance | Much lower TC, slow promotions |
| Consulting / Big 4 (Deloitte, Accenture) | $100k–$170k | Resume breadth, structured learning | High travel, lower TC, commodity work |
| Remote-first company | $130k–$250k | Location flexibility, global hiring | Time zone challenges, less networking |
Total compensation breakdown
Base salary is just one component. At senior levels, equity and bonuses dominate.
TOTAL COMP = Base Salary + Bonus + Equity (RSUs/Options)
Example: Google L5 (Senior SWE)
Base: $200,000
Bonus: $40,000 (20% target)
RSU/yr: $120,000 (4-yr grant: $480,000 vesting quarterly)
─────────────────────────────────
Total: $360,000/yr
Equity explained
| Type | Companies | Risk | Upside |
|---|---|---|---|
| RSUs (Restricted Stock Units) | Public companies (Google, Meta, Amazon) | Low — current market value | Limited to stock price growth |
| Stock Options (ISOs) | Pre-IPO startups | High — may expire worthless | Massive if company IPOs |
| NSOs (Non-Qualified Stock Options) | Startups, some public companies | Medium | Taxed at exercise |
| Phantom equity | Some startups | Medium | Cash-settled payout at liquidity |
Vesting schedules
Most equity grants use 4-year vesting with a 1-year cliff:
- Year 1: 25% vests at the 1-year anniversary
- Years 2–4: remaining 75% vests monthly or quarterly
Year 0 ─────────────────── Year 1 (cliff) ─── Year 2 ─── Year 3 ─── Year 4
$0 $0 $30,000 $7,500/qtr $7,500/qtr $7,500/qtr
(25% vests)
Salary progression over a career
| Year | Typical level | US total comp | Key milestone |
|---|---|---|---|
| 0 | Junior / IC1 | $90k–$130k | First job, lots of mentoring needed |
| 2 | Mid-level / IC2 | $130k–$180k | Owning features independently |
| 4–5 | Senior / IC3 | $180k–$300k | Leading technical work |
| 7–9 | Staff / IC4 | $300k–$500k | Cross-team impact |
| 10–12 | Senior Staff / IC5 | $450k–$700k | Org-level technical direction |
| 15+ | Principal / IC6 | $600k–$1M+ | Industry-level influence |
Career advice: The biggest salary jumps come from job-hopping at the right time. Staying at one company for 5+ years without promotion often leaves 20–40% on the table.
How to negotiate your salary
Negotiation framework
1. Never give a number first
Interviewer: "What are your salary expectations?"
You: "I'm flexible — what's the budgeted range for this role?"
2. Anchor high
Counter with 15–20% above target. You can always come down.
3. Negotiate total comp, not just base
"Can we explore the equity grant or signing bonus?"
4. Get competing offers
Best leverage: a real offer from a competitor.
Even a recruiter call can justify asking for "a bit of time."
5. Be collaborative, not adversarial
"I'm very excited about this role. Is there any flexibility
on the equity to get us to X total comp?"
What you can negotiate
| Component | Negotiable? | Tips |
|---|---|---|
| Base salary | Usually yes | Hardest to move at FAANG (band-based) |
| Signing bonus | Almost always | Easy win — ask for it |
| RSU / equity grant | Yes | Negotiate dollar value, not shares |
| Vesting schedule | Rarely | Worth trying for faster cliff |
| Start date | Yes | Extra weeks = extra negotiating time |
| Remote flexibility | Increasingly yes | "Work from anywhere" days |
| Title / level | Sometimes | Higher level = higher band forever |
Salary anchoring example
Offer received: $150,000 base + $50,000 RSU/yr + $20,000 signing
Counter: "I was targeting $165,000 base to reflect my background
in X and Y. Could we also look at the RSU to $70,000/yr
given the equity market? I'm ready to sign within 48 hours."
Typical result: $155,000–$162,000 base + $60,000–$70,000 RSU
Leveling systems by company
| Company | Junior | Mid | Senior | Staff | Sr. Staff | Principal |
|---|---|---|---|---|---|---|
| L3 | L4 | L5 | L6 | L7 | L8–L10 | |
| Meta | E3 | E4 | E5 | E6 | E7 | E8–E9 |
| Amazon | SDE I | SDE II | SDE III | Principal | Sr. Principal | Distinguished |
| Microsoft | 59–60 | 61–62 | 63–64 | 65–67 | 68–70 | Partner/Distinguished |
| Apple | ICT2 | ICT3 | ICT4 | ICT5 | ICT6 | ICT7 |
| Netflix | – | – | Senior (no levels) | – | – | – |
| Stripe | L1 | L2 | L3 | L4 | L5 | – |
Netflix anomaly: Netflix hires only Senior and above, with no rigid level system. Salaries are top-of-market cash-heavy (less equity).
Benefits & perks (total comp beyond TC)
| Benefit | Typical value/year |
|---|---|
| Health insurance (employer) | $10,000–$25,000 |
| 401k match (max) | $5,000–$15,000 |
| HSA contribution | $1,000–$3,000 |
| Free meals (on-site) | $5,000–$10,000 |
| Annual learning stipend | $1,000–$5,000 |
| Home office stipend | $500–$5,000 |
| Gym / wellness | $500–$2,000 |
| Stock discount (ESPP) | 1–5% of base |
| PTO monetized | $5,000–$20,000 |
Big Tech perks (Google, Meta) add $20,000–$50,000/yr in non-cash value.
Remote work impact on salary
Remote work has permanently changed salary dynamics:
| Scenario | Salary impact |
|---|---|
| US remote, SF-based company, live in Austin | Full SF salary (increasingly rare — companies geo-adjusting) |
| US remote, company geo-adjusts | 10–30% reduction from SF rate |
| US remote role, negotiated "location neutral" | Full rate + location freedom |
| International, US employer (contractor) | $80k–$200k depending on role |
| "Geo-arbitrage" (Senior in low-cost country, US employer) | $120k–$180k USD — huge local purchasing power |
Software engineer vs other tech roles
| Role | US median TC | Demand | Notes |
|---|---|---|---|
| Software Engineer | $200,000 | Very High | Broad market |
| ML / AI Engineer | $280,000 | Explosive | Hottest role 2024–2025 |
| Data Scientist | $165,000 | High | Saturating |
| Data Engineer | $195,000 | Very High | Infrastructure for DS |
| Product Manager | $175,000 | High | No coding required |
| Engineering Manager | $220,000 | High | People + tech |
| DevOps / SRE | $210,000 | Very High | Infra + coding |
| UX Designer | $130,000 | Moderate | Growing at AI companies |
| Technical Program Manager | $165,000 | High | Coordination at scale |
| Solutions Architect | $180,000 | High | Customer-facing technical |
| Security Engineer | $210,000 | High | Scarce supply |
| QA Engineer | $135,000 | Moderate | Automation commands premium |
Salary growth strategies
Short-term (0–2 years)
1. Get competing offers — single best lever for a raise
2. Target FAANG or well-funded startups over enterprise
3. Develop LeetCode skills — opens high-paying interview doors
4. Specialize early in a high-demand area (ML, distributed systems)
Medium-term (2–5 years)
1. Job-hop every 2–3 years (expect 20–40% bump per move)
2. Aim for promotion to Senior — the "career level" band is widest
3. Build a portfolio of impact metrics ("reduced latency by 40%")
4. Network within your company — referrals open doors faster
Long-term (5+ years)
1. Choose Staff-track (IC) or Management — both pay well
2. Build external visibility (blog, talks, open source)
3. Chase equity at pre-IPO startups (high risk/reward)
4. Consider founding a company — highest ceiling
Common salary mistakes
| Mistake | Impact | Fix |
|---|---|---|
| Accepting the first offer | Leave 10–20% on table | Always counter |
| Focusing only on base salary | Miss RSU/bonus upside | Negotiate total comp |
| Revealing current salary | Anchor negotiation low | Decline to share (illegal to ask in many US states) |
| Not researching market rates | Accept below-market | Use Levels.fyi, Glassdoor, Blind before interviews |
| Staying 5+ years without promotion | Significant pay lag | Promote or move |
| Ignoring equity dilution | Startup equity worth less | Ask about cap table, dilution, preference stacks |
| Skipping benefits in TC calculation | Undervalue total package | Add health, 401k, PTO to total |
| Not negotiating signing bonus | Easy $10k–$30k left behind | Always ask |
Frequently asked questions
How much does a software engineer make on average?
In the United States, the median software engineer salary is approximately $130,000–$150,000 in base salary (2025). Total compensation including equity and bonuses ranges from $150,000 to $250,000 at typical tech companies, and $300,000–$600,000+ at top-tier companies like Google, Meta, and Amazon.
Do you need a CS degree to earn a high software engineer salary?
No. Self-taught engineers and bootcamp graduates regularly reach $100,000–$200,000+ salaries. However, a CS degree from a strong university opens doors to FAANG-level interviews faster, and FAANG pays 2–3× market average. The degree matters less than demonstrated skills and interview performance.
What's the difference between a $100k and $500k software engineering job?
The biggest factors:
- Company — FAANG total comps are 2–4× market average
- Level — Senior vs. Principal is often a $200k–$300k gap
- Equity — RSUs can add $100k–$500k/yr at top companies
- Specialization — ML/AI engineers earn 20–35% more than generalists
- Location — SF/NYC roles pay 30–50% more than Midwest/Southeast
How long does it take to reach a $200k salary?
- Fast track (FAANG): 2–4 years (Junior at $140k, promote to L4/L5)
- Normal track (mid-size tech): 5–8 years (Senior level)
- Slower track (enterprise): 8–12 years
The fastest path: land a FAANG internship, convert to full-time, work toward Senior.
Is software engineering still a good career in the age of AI?
Yes — with a shift. AI is automating boilerplate code and junior-level tasks, but it's simultaneously:
- Creating massive demand for AI engineers and ML engineers
- Raising the floor for what engineers can build (10× productivity)
- Increasing demand for engineers who can work with AI tools
The risk is for engineers who don't adapt. Those who master AI-assisted development workflows and build AI-integrated products will see higher compensation, not lower.
How do I find out my market salary?
Use multiple sources and triangulate:
- Levels.fyi — best for FAANG and top-tech total compensation
- Glassdoor — broad market, somewhat reliable for base salary
- LinkedIn Salary Insights — good for your specific title and geography
- Blind — anonymous posts from employees, often candid
- CompStudy — late-stage startup compensation benchmarks
- Recruiter conversations — ask directly: "What's the salary range for this role?"