Step 1 · Future EPS
Pick a source or type your own. Being conservative is the point.
Step 2 · Future P/E (your choice)
Historical P/E = closing price at fiscal year end divided by that year's diluted EPS.
Step 3 · Discount rate
The return you want from this stock. Higher means a stricter valuation.
Step 4 · Margin of safety
Typically 20–50%.