Thank you for your comment. I am a founder currently deciding how much equity to give to our beloved first engineer. Any tips are welcome!
Formula: (Fair total dollar compensation - agreed salary) / (dollars / share) * 4 yr vesting
A sliding scale for salary : equity is built in and you can compensate based on hire desirability or local market conditions by weighting dollars per share appropriately. This system is fair as long as both the employer and employee agree upon the share value (some information asymmetry there benefiting employers that decent companies will try to correct for).
Saying this as startup first engineer ;)