Employee Stock Purchase Plan (ESPP) From an Engineer's Perspective
What is an ESPP?
The Employee Stock Purchase Plan (ESPP) is a plan offered to many employees of publicly traded companies to set aside a percentage of their post-tax salary to purchase company shares at a discount, generally twice per year.
TL;DR: should you participate?
In my opinion, all employees should opt into this plan if offered.
If you take away nothing else from this article, at least understand this:
Assuming you sell immediately, the absolute floor on your ESPP investment is an
18%pre-tax, semi-annual return.
If the stock goes down, and you sell immediately, you still make money. If it goes up, you’re locking in a much larger return if you sell immediately.
The only reason not to participate in the ESPP is if you can’t (or don’t want to) live on the smaller paycheck until you sell.
The price you will pay for the stock will be the lower of the following two:
- The end of day trading price on the first day of the period
- The end of day trading price on the last day of the period
On top of this price, you will get the stock at a discount up to
15%, depending on the employer.
ESPP Return Formula
Suppose we’re operating under a six-month period and
15% discount. Let’s calculate the financial implications of the ESPP.
These are the parameters we’ll be working with:
p- half of your annual base pay (since we’ll operate over a six-month window)
f- the percentage of your base pay you’ve elected to contribute (e.g.
h- the price of your company’s shares at the start of the window
d- the percentage change in your company’s share price over the window (e.g.
The amount of money we make over a six-month window can be generalized by this formula.
We start by figuring out how much money we have available to purchase, which is just the percentage we’ve elected to contribute multiplied by the six-month salary,
Then, we need the price we’re paying for the stock, which is
85% of the lesser of the start and end of the window trading prices, which explains the
- If the stock appreciates over the window (
d > 1), then we’ll pay
85%of the starting value (
- If the stock depreciates (
d < 1), then we’ll pay
85%of the ending value (under a
20%price drop, we’d pay
To calculate the actual value of those shares at the time of our purchase, we just multiply by the ending window value,
Let’s walk through an example. Suppose our base salary is
$50k per year, and we’ve elected to contribute
10% to the plan. Let’s say our company share price is
$10 at the start of the window and ends at
Our parameters would be initialized as follows:
Now, how much money did we make over this six-month window?
This comes out to
$4411.76. We invested
$25,000*0.1 = $2,500 and gained
$1911.76. Not bad at all.
ESPP Minimum ROI
We can simplify the formula into the following:
You might notice that the quantity on the left (
d/(0.85*min(d,1))) is the amount our contribution (
f*p) will grow. This is what the plot of that function looks like.
This plot is a function of
d, the percentage change in our company’s share price over the window. When
d < 1, we still have a multiplier of
~1.18 on our contributions, which is a guaranteed
~18% return on investment.
d > 1 and our stock has done well, then we celebrate. For instance, if the stock appreciates by
30% over the six-month window, we’re looking at a return on investment of
However, the trading window for employees may fall weeks after the ESPP offering period. This means that the stock has time to fall more than
18%, in which case we’d lose money. This is where risk tolerance and confidence comes into play.
It may be advantageous to simply leave our ESPP shares alone if we believe that our company has a bright future. This also allows us to pay long term capital gains rates.
More Career Articles
- What Fields Can I Go Into as a Software Engineer?
- 5 Tips to Land the Software Engineer Interview
- How to Talk During the Coding Interview: A Step-by-Step Guide
- How to Start Your Developer Blog: A Step-by-Step Guide
- How to Answer "What Are Your Salary Expectations?" in 3 Steps
- How To Get a Software Engineering Job: A Step-by-Step Guide
- What's in a Software Engineer's Compensation Package?