How to Understand Compensation Packages at Tech Companies: Base Salary, Equity, and Bonuses Explained
Tech company compensation packages consist of four core components—base salary, semi-annual performance bonuses, equity or stock grants, and sign-on bonuses—which together form your total rewards package.
Understanding how to evaluate tech compensation requires looking beyond the base salary number. According to the Tech Interview Handbook (yangshun/tech-interview-handbook), the comprehensive guide located at apps/website/contents/understanding-compensation.md breaks down exactly how these variables interact to determine your true earning potential.
Base Salary: The Fixed Foundation
Base salary is the fixed, non-variable amount you receive for performing your job duties, regardless of individual or company performance. This figure varies significantly by region, seniority level, and company size.
In high-cost markets like the San Francisco Bay Area, fresh graduate engineers often start above USD 100,000, while the same role in other regions might start significantly lower. Some companies, notably Netflix, offer a unique trade-off where employees can convert equity compensation into cash for a higher base salary.
Performance Bonuses: Variable Cash Rewards
Unlike base salary, performance bonuses are variable cash payments typically distributed semi-annually. These bonuses are calculated as a percentage of your base salary using three distinct multipliers.
How Bonus Multipliers Work
The final bonus amount depends on three factors multiplied together:
- Seniority multiplier – Higher job levels receive larger percentage targets. A junior engineer might have a 10 % target, while a senior staff engineer could have 20 % or higher.
- Individual performance multiplier – Based on your performance review rating. Exceeding expectations can push this multiplier above 100 %, with some companies like Facebook allowing multipliers up to 300 % for exceptional performance.
- Company performance multiplier – A uniform factor applied to all employees based on overall company financial results.
The handbook provides concrete calculations showing how these three multipliers combine for different scenarios, such as a fresh-grad engineer versus an engineering manager.
Equity and Stock Compensation: The Long-Term Component
Equity compensation is what distinguishes tech roles from many other industries. This component represents ownership in the company and typically constitutes the largest portion of total compensation for senior employees.
Stock Options vs. Restricted Stock Units (RSUs)
Tech companies offer equity through two primary vehicles:
- Stock options – The right to purchase company shares at a predetermined strike price. You profit only if the share price exceeds the strike price.
- Restricted Stock Units (RSUs) – Direct grants of shares that you own immediately upon vesting, with value equal to the current stock price.
Vesting Schedules and Cliffs
Standard equity packages follow a 4-year vesting schedule with a 1-year cliff. This means:
- No equity vests during your first year of employment.
- After the 1-year cliff, 25 % of your grant vests immediately.
- The remaining 75 % vests monthly or quarterly over the subsequent three years.
Until a company undergoes an IPO or acquisition, equity in private companies holds uncertain market value, though it can become the most significant portion of total compensation for early employees or senior staff.
Sign-On Bonuses and Additional Perks
Sign-on bonuses are one-time cash payments upon joining a company, typically ranging from USD 10,000–20,000. At competitive employers, these can escalate significantly—Google has offered up to USD 50,000, while Facebook has provided USD 100,000 for highly sought-after candidates.
Perks and miscellaneous benefits—including free meals, relocation assistance, comprehensive health plans, and shuttle services—can effectively increase your net compensation by saving thousands of dollars annually in personal expenses.
Calculating Total Compensation (TC)
To compare offers accurately, calculate your Total Compensation (TC) using the formula:
TC = Base Salary + (Semi-Annual Bonus × 2) + Annual Equity Vesting + Sign-On Bonus (Year 1 only)
The handbook references real-world salary tables from Google and Facebook (Levels L3 and L4) to illustrate how these components combine at different seniority levels.
Python Implementation
def calculate_bonus(base, seniority_mul, perf_mul, company_mul, half_year=True):
"""Return the bonus amount for a half-year or full-year period."""
period = 0.5 if half_year else 1.0
return base * period * seniority_mul * perf_mul * company_mul
def total_compensation(base, bonus, equity_annual, signing_bonus=0):
"""Aggregate yearly compensation."""
return base + bonus + equity_annual + signing_bonus
# Example 1 – Fresh-grad engineer (Bob)
base = 100_000
seniority = 0.10 # 10%
perf = 2.00 # 200%
company = 1.20 # 120%
bonus_half = calculate_bonus(base, seniority, perf, company) # $12,000
equity_annual = 39_000 # from Google L3 table
signing = 15_000
total_yearly = total_compensation(base, bonus_half * 2, equity_annual, signing)
print(f"Yearly comp for Bob: ${total_yearly:,.0f}")
JavaScript Implementation
// Same calculation in JavaScript (Node.js)
function calcBonus(base, seniority, perf, company, halfYear = true) {
const period = halfYear ? 0.5 : 1;
return base * period * seniority * perf * company;
}
function totalComp(base, bonus, equity, signing = 0) {
return base + bonus + equity + signing;
}
// Example 2 – Engineering Manager (Alice)
const base = 220_000;
const seniority = 0.20;
const perf = 1.50;
const company = 1.30;
const bonusHalf = calcBonus(base, seniority, perf, company);
const equityAnnual = 81_000; // Google L4 table
const signing = 20_000;
const yearly = totalComp(base, bonusHalf * 2, equityAnnual, signing);
console.log(`Yearly comp for Alice: $${yearly.toLocaleString()}`);
These implementations allow you to model any offer by substituting values from your specific situation.
Summary
- Base salary provides predictable, fixed income that varies by region and seniority, with Bay Area fresh graduates often starting above USD 100,000.
- Performance bonuses are calculated semi-annually using multipliers for seniority, individual performance (up to 300 % at companies like Facebook), and company performance.
- Equity compensation includes stock options or RSUs with standard 4-year vesting schedules and 1-year cliffs, often representing the largest portion of senior-level compensation.
- Sign-on bonuses range from USD 10,000–20,000 standard, but can reach USD 50,000–100,000 at competitive employers like Google and Facebook.
- Calculate Total Compensation (TC) by summing base salary, annualized bonuses, yearly equity vesting, and first-year sign-on bonuses to compare offers accurately.
Frequently Asked Questions
What is the typical breakdown between base salary and equity at tech companies?
For junior engineers (Level 3), base salary typically constitutes 50–60 % of total compensation, with equity representing 30–40 %. At senior levels (Level 6 and above), equity frequently exceeds base salary, sometimes comprising 50–60 % of total compensation or more. The exact ratio depends on company stage—startups offer more equity with higher risk, while public companies provide liquid RSUs with predictable value.
How do I compare offers from public companies versus pre-IPO startups?
Public company offers are straightforward: multiply the stock price by the number of RSUs granted to determine annual value. For pre-IPO startups, calculate the paper value (shares × current 409A valuation), then apply a risk discount—typically 50–90 % depending on funding stage and exit timeline. Consider liquidity preferences and dilution risks. Model three scenarios: pessimistic (company fails), realistic (modest exit), and optimistic (unicorn IPO) to understand the equity range.
When do sign-on bonuses get paid out?
Sign-on bonuses typically pay out in your first paycheck or within the first 30 days of employment. However, they usually come with clawback provisions requiring repayment if you leave within 12–24 months. At some companies like Amazon, sign-on bonuses are structured as "Year 1" and "Year 2" payments to offset the back-loaded equity vesting schedule (5/15/40/40), ensuring consistent total compensation across your first two years.
Can I negotiate for more equity instead of base salary?
Yes, many companies allow compensation mix flexibility, though policies vary. Netflix famously lets employees choose their ratio—trading equity for cash or vice versa. At Google and Facebook, recruiters often have limited bands for each component but can shift weight between base and equity within the same total compensation target. Startups are generally more flexible with equity increases than base salary, as equity conserves cash. When negotiating, request the specific mix that aligns with your risk tolerance and cash flow needs.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →