Skip to the content.

How to Negotiate a Software Engineer Salary: The Complete Offer Negotiation Guide (2027)

How to negotiate a software engineer salary and job offer, step by step: what to say to recruiters, word-for-word email and phone scripts, how levels and total compensation work, how to value RSUs and startup stock options, how to use competing offers, and the mistakes that cost engineers money. It’s written for software engineers, ML engineers, data scientists and other tech roles, from new grads to staff level, and includes a small tested offer comparison tool.

Last reviewed: December 2026. This is general education, not legal, tax or financial advice. Tax figures refer to US federal rules for tax year 2026; laws differ by country and state, so check with a qualified professional for your situation.

git clone https://github.com/Ralpberry-Labs/salary-negotiation-guide
cd salary-negotiation-guide
python3 tools/offer_compare.py examples/offers.json   # compare offers year by year
python3 -m unittest discover -s tests                 # 7 tests, standard library only

Table of Contents


The Short Version

  1. Don’t name a number first if you can avoid it. Ask for their range; in many places it’s posted by law.
  2. Get to the right level before arguing about money. Level sets the band.
  3. Research total compensation for that level and location on Levels.fyi and in public postings.
  4. Never accept on the call. Thank them, ask for the offer in writing, ask for time.
  5. Run other processes in parallel. A real competing offer is the strongest leverage there is.
  6. Ask, with a specific number and a reason, politely, usually once or twice. Negotiate the whole package: base, equity, sign-on, level, start date.
  7. Stay enthusiastic. You’re negotiating with your future colleagues.
  8. Get the final terms in writing before you resign anywhere.

Why Negotiating Works

A rule of thumb from experienced negotiators: ask for what you can justify with data, phrase it as solving a problem together, and make it easy for the recruiter to take your case to the approver.


How Tech Compensation Is Built

Component What it is Negotiable? Notes
Base salary Fixed annual pay Yes, within the level’s band Bands are often narrower than equity ranges
Annual bonus Target % of base, paid on company/individual performance Target % rarely; sometimes guaranteed for year 1 Check how often it actually pays out at target
Equity: RSUs (public companies) Shares granted over a vesting schedule Often the most flexible part Value = shares x share price; price moves
Equity: options (startups) Right to buy shares at a fixed strike price Number of options, sometimes exercise window Worth something only if the company’s value grows and you can sell
Sign-on bonus One-time cash, often paid in year 1 (sometimes 2) Yes, very flexible Often has a clawback if you leave within 12 months
Refreshers New equity grants given yearly Rarely in the offer Ask what typical refreshers look like
Relocation Lump sum or managed move Yes Ask if you’re moving
Level / title Determines the band and future growth Yes, with evidence The biggest long-term lever
Benefits 401(k) match, health, ESPP, leave Rarely ESPPs at public companies can add real value
Start date, remote status, team Logistics Yes Often easy wins

Total compensation (TC) usually means base + target bonus + yearly equity value (initial grant divided across its vesting years). Compare offers on TC per year, because vesting schedules and sign-on bonuses make year 1 look different from year 3.

Vesting schedules you’ll see

Schedule Pattern What to watch
4 years, 1-year cliff 25% after year 1, then monthly or quarterly Leave before 12 months and you get nothing
Even 4-year, no cliff Equal amounts each quarter or month Smoother
Back-loaded e.g. 5% / 15% / 40% / 40% (a pattern widely reported at Amazon) Usually paired with sign-on cash in years 1-2 to smooth TC
Front-loaded Larger early percentages Year 1 TC looks great; check year 3-4 without refreshers
3-year Shorter schedule Higher yearly value for the same grant

Levels: The Biggest Lever

At larger companies every role maps to a level (for example L3/L4/L5, E3/E4/E5, SDE I/II), and each level has a compensation band. Moving up one level can be worth far more than any negotiation within a band.

How to approach leveling:

Ask the recruiter:

“Could you share which level this offer is at, and the general range for base and equity at that level? I want to make sure the offer reflects the scope we discussed.”


Research: Know Your Number

Source What it gives you Cost
Levels.fyi Self-reported offers with base, stock, bonus by company, level and location; level mapping across companies; an annual report Free (paid negotiation coaching available)
Job postings in pay-transparency states/countries Official salary ranges for the exact role Free
Blind Anonymous discussion of offers by verified employees Free; noisy
Glassdoor and similar sites Self-reported salaries Free; less detailed for tech equity
US BLS: Software Developers Government wage statistics (base pay only) Free; useful for non-tech employers
Friends and former colleagues The most accurate recent data Free; ask specifically

Build a target in three numbers:

Remember that self-reported data skews toward large companies and big cities, and the market changes. Use recent data points (last 6-12 months), same level, same location tier.


The Negotiation Timeline

Stage What to do What to avoid
Before applying Research ranges, line up multiple processes Applying to one company at a time
Recruiter screen Ask for the range; deflect your own number Sharing your current salary (illegal to ask in many places)
Interviews Interview well; ask about level and scope Discussing money with interviewers
Verbal offer Thank, express excitement, ask for details in writing, ask for time Accepting on the spot
Offer in hand Compare, research, plan your ask Waiting so long the offer expires
Counter One clear ask with reasons, by phone or email Ultimatums, bluffs, lies
Final offer Get every term in writing; ask final questions Resigning before signing
After signing Stop negotiating; be gracious Shopping the signed offer around

Timing tips


Scripts

Adapt these to your voice. The structure matters more than exact words: gratitude, enthusiasm, a specific ask, a reason, and an open door.

1. “What are your salary expectations?” (early in the process)

“I’m focused on finding the right role first, and I’m sure we can find a number that works if it’s a fit. Could you share the range budgeted for this position?”

If they insist:

“Based on my research for this level and location, I’m seeing total compensation in the range of [X to Y]. But I’d want to understand the full package, including equity and level, before settling on anything.”

Give a range whose bottom you’d be happy with, and talk in total compensation.

2. “What’s your current salary?”

“I’d rather not share that; I’d like the offer to be based on this role’s scope and market value. What range do you have budgeted?”

In many US states and cities, and under the EU pay transparency rules, employers can’t ask or can’t rely on salary history. You can say so politely if needed.

3. Receiving the verbal offer

“Thank you, I’m really excited about this team and the work. Could you send the details in writing, including the level, base, bonus, equity with the vesting schedule, and any sign-on? I’d like a few days to review everything, and I’ll get back to you by [specific day].”

4. The counter (no competing offer)

“Thanks again for the offer; I’m excited about joining. Based on my research for [level] roles in [location], and the scope we discussed around [specific responsibility], I was expecting total compensation closer to [number]. If we could get the equity to [amount] and add a [amount] sign-on, I’d be ready to sign this week. Is that something you can take to the team?”

Why it works: enthusiasm, a specific number, a reason, and a commitment that makes it easy for the recruiter to get approval.

5. The counter with a competing offer

“I want to be transparent: I’ve received another offer at [company] with total compensation of about [number] per year, [details: base/equity/sign-on]. [Your company] is my first choice because of [specific reason]. If you can get closer to that, especially on equity, I’d be happy to commit.”

Only describe offers you actually have, and be ready to share the written offer if asked.

6. When they say “this is our best offer”

“I appreciate you checking. Is there any flexibility on the sign-on bonus or the equity instead of base? Or on the level, given [evidence]? Even a one-time adjustment would make this an easy yes.”

If nothing moves, decide on the offer as it stands. You can also ask for non-cash items: start date, extra time off before starting, relocation, a compensation review after 6 months (get it in writing).

7. Email version of a counter

Subject: [Your name] - offer follow-up

Hi [Recruiter],

Thank you again for the offer for the [title] role. I really enjoyed meeting the team, and I’m excited about [specific project].

After reviewing the package and comparing it with market data for [level] in [location] and another offer I’ve received, I’d like to ask whether you could bring total compensation closer to [number]. Specifically, an increase in the equity grant to [amount] and a sign-on bonus of [amount] would let me accept right away.

I’m happy to talk by phone. Thank you for advocating for me.

Best, [Name]

8. Accepting

“Thank you for working with me on this. I’m happy to accept. Could you send the updated offer letter for signature?”

9. Declining gracefully

“Thank you for the time you and the team invested. After a lot of thought I’ve decided to accept another offer. I was really impressed by [specific], and I hope our paths cross again.”

People move between companies; a gracious decline keeps doors open.


Competing Offers and Leverage


Equity: RSUs, Options and Startup Stock

RSUs (restricted stock units)

Common at public companies. When RSUs vest, you receive shares and the value is taxed as ordinary income (in the US, employers often withhold at the 22% federal supplemental rate up to $1 million of supplemental wages, which may be less than what you’ll owe if you’re in a higher bracket, so plan for a possible tax bill). Selling right at vest is economically similar to receiving a cash bonus; holding is an investment decision.

At late-stage private companies, RSUs are often double-trigger: they vest on time and a liquidity event (IPO or acquisition), so you aren’t taxed on shares you can’t sell.

Stock options (ISOs and NSOs)

The right to buy shares at a fixed strike price. Value per option = (share value - strike price) if positive.

  ISO (incentive stock option) NSO (non-qualified stock option)
Who gets them Employees only (US) Employees, contractors, advisors
Tax at exercise No regular income tax, but the spread counts for AMT Spread taxed as ordinary income
Tax at sale Long-term capital gains if holding rules are met (2 years from grant, 1 year from exercise) Capital gains on growth after exercise
Watch out for AMT bills on illiquid stock Tax bill on exercise even without a sale

For 2026, the IRS lists an AMT exemption of $90,100 (single) and $140,200 (married filing jointly), phasing out above $500,000 and $1,000,000 respectively, with a faster phase-out than in prior years under 2025 legislation (IRS 2026 inflation adjustments). If you plan a large ISO exercise, model it with a tax professional. General IRS background: Topic 427, Stock options and Publication 525.

Questions to ask a startup about equity

  1. How many options, and what’s the total number of fully diluted shares outstanding? (You need this to know your percentage.)
  2. What is the strike price and the latest 409A valuation?
  3. What was the price per share in the last preferred round, and how much was raised?
  4. What’s the liquidation preference stack? (Investors may get their money back first, which matters in a modest acquisition.)
  5. What’s the vesting schedule and cliff? Any acceleration on acquisition?
  6. What’s the post-termination exercise window? 90 days is the traditional default; some companies extend it to years. A short window may force you to pay to exercise (and possibly owe tax) when you leave, or lose the options.
  7. Is early exercise allowed? If so, filing an 83(b) election with the IRS within 30 days of the grant or early exercise can start your capital gains clock and avoid tax on future appreciation at vest (risky if the company fails; get advice). The IRS now provides Form 15620 for this election, or you can send a written statement.
  8. Have there been tender offers or secondary sales, letting employees sell before an IPO?

How to value startup equity

Treat it as a lottery ticket with real odds of being worth zero. Practical approaches:

US tax note: shares that qualify as Qualified Small Business Stock (QSBS) can exclude a large amount of gain from federal tax. 2025 legislation raised the per-company cap to $15 million and added partial exclusions after 3 and 4 years for stock issued after July 2025. Whether your shares qualify depends on many conditions; ask the company and a tax advisor.

Good free primers: Holloway Guide to Equity Compensation (large parts readable free online), Index Ventures’ OptionPlan (how European and US startups grant options), and Carta’s equity education pages.

Negotiating equity specifically


Comparing Offers With the Tool

tools/offer_compare.py turns offers into a year-by-year TC table so front-loaded, back-loaded and startup offers can be compared fairly. Edit examples/offers.json:

{
  "public_even": {"base": 180000, "bonus_pct": 0.10, "equity_value": 240000,
                  "vest": [0.25, 0.25, 0.25, 0.25], "sign_on": {"1": 20000},
                  "refresh_per_year": 40000, "raise_pct": 0.03},
  "startup": {"base": 165000, "equity_value": 400000, "equity_haircut": 0.7}
}

Output with the example file:

offer                 year 1      year 2      year 3      year 4        total
public_even          278,000     273,940     290,058     306,360    1,148,358
public_backload      250,000     270,250     305,658     311,227    1,137,135
startup              195,000     195,000     195,000     195,000      780,000

Fields: base, bonus_pct (target, as a fraction), sign_on (year to amount), equity_value (grant value today), vest (fractions per year, must sum to 1), refresh_per_year (assumed refresher value, vesting over 4 years from year 2), raise_pct, and equity_haircut (0 for liquid public stock; 0.5-0.9 to discount private equity). The numbers are illustrations, not market data. Taxes, stock price changes and bonus payout rates aren’t modeled.


Special Situations

New grads and interns

Room is smaller (offers are often standardized), but sign-on bonuses, relocation, start date and sometimes equity can move. Competing offers matter most. Never risk an offer with aggressive tactics; one polite ask is normal.

Internal promotions and raises

Bring evidence: scope you already operate at, impact with numbers, market data, and (carefully) an outside offer only if you would actually take it. Ask your manager what the promotion criteria and timeline are, and get specific next steps in writing.

Counteroffers from your current employer

A counteroffer can fix pay, but not usually the reasons you looked elsewhere. Some people stay happily; others find relationships change. Decide based on the role, not just the number.

Remote roles and location-based pay

Many companies pay by location tiers. Ask which tier applies, whether moving changes your pay, and how it’s handled if you relocate later.

Contract and freelance roles

Convert to an annual equivalent including benefits, taxes, unpaid time off and gaps between contracts. Day rates usually need to be well above the salaried equivalent to come out even.

Layoffs and severance

Severance can sometimes be negotiated, especially for senior employees or when legal claims or equity cliffs are involved. Read the release agreement carefully and consider an employment lawyer before signing.

Outside the US

Equity is less common at smaller companies in many countries, notice periods are longer, and benefits are often statutory. Use local data sources and local job postings; in the EU, the pay transparency directive (below) is changing what employers must share.


Common Mistakes

  1. Accepting on the call. Always ask for time and the offer in writing.
  2. Naming a number too early and anchoring low.
  3. Negotiating only base when equity, sign-on and level have more room.
  4. Ignoring the level. A higher level beats a bigger number at the wrong level.
  5. Comparing year-1 numbers only. Back-loaded vesting and one-time sign-ons distort year 1.
  6. Treating startup equity as cash. Discount it and ask the right questions.
  7. Bluffing about other offers.
  8. Being adversarial. Recruiters are often your advocate with the approver.
  9. Negotiating forever. Two rounds is usually enough.
  10. Resigning before the final offer is signed, and before a background check clears if that’s a condition.
  11. Forgetting clawbacks. Sign-on and relocation may need repayment if you leave within a year.
  12. Not reading the offer letter: non-competes, IP assignment, arbitration clauses, and exercise windows matter.

Pay Transparency and Salary History Laws


Best Resources

Free

Resource Why it’s useful
Salary Negotiation: Make More Money, Be More Valued by Patrick McKenzie The classic long essay on why and how engineers should negotiate
Ten Rules for Negotiating a Job Offer and part 2 by Haseeb Qureshi Practical rules from a well-documented tech negotiation
Levels.fyi and its negotiation guide Compensation data and process tips
Holloway Guide to Equity Compensation Thorough equity and tax explanations
Index Ventures OptionPlan How startups grant options, with country comparisons
Pragmatic Engineer: software engineering salaries in Europe The “trimodal” model of tech pay (local companies, tech-first companies, big tech)
IRS Topic 427: Stock options Official US tax basics
Resource Notes
Fearless Salary Negotiation by Josh Doody (site) Step-by-step process and scripts
Never Split the Difference by Chris Voss Negotiation psychology (tactical empathy, calibrated questions)
Getting to Yes by Roger Fisher, William Ury and Bruce Patton Interest-based negotiation and BATNA
Negotiation coaching services (several exist, including from Levels.fyi) Usually charge a flat fee or a share of the increase; useful for complex or senior offers

Best pick: read the McKenzie essay and the two Qureshi posts (an hour total), look up your level on Levels.fyi, then use the scripts above.


FAQ

How do I negotiate a software engineer salary? Research the band for your level and location, avoid naming a number first, get the offer in writing, then make one clear, polite counter with a specific number and a reason, ideally backed by a competing offer. Negotiate equity, sign-on and level, not only base.

How much should I ask for in a counteroffer? Ask for a specific number at the upper middle of the band you can justify with data or a competing offer. Requests in the range of 5-15% of total compensation are common; with a strong competing offer, more is realistic.

Can an offer be rescinded for negotiating? It’s rare when you’re polite and professional. Most risk comes from ultimatums, bluffing or long delays.

Should I negotiate a new grad offer? Yes, politely. Base may be fixed, but sign-on, relocation and start date often move, especially with competing offers.

Is it better to negotiate by email or phone? Either works. Email gives you time and a clear record; phone builds rapport. Many people state the ask by phone and confirm by email.

What is total compensation (TC)? Base salary + target bonus + yearly value of equity. Compare offers per year, not by headline grant size.

How do RSUs differ from stock options? RSUs are shares you receive at vesting (worth the share price). Options give the right to buy shares at a strike price, worth something only if the share value exceeds it, and you may have to pay to exercise.

What is a 1-year cliff? No equity vests until your first anniversary, then a chunk (often 25%) vests at once.

Should I tell a recruiter my current salary? You don’t have to, and in many places they can’t ask. Redirect to the role’s range.

How do I negotiate a raise at my current job? Show the scope you already operate at, your impact with numbers and market data, and ask what it would take, with a timeline. See Special Situations.


Where to Go Next


Contributing

License

MIT. Copyright (c) 2026 Ralpberry Labs.

If this helped you, a star helps others find it.

More free resources

Part of the Ralpberry Labs open-source collection. See also Top 100 Open Source.