Formula for TDC & lift?

Timing a camshaft.

http://www.iskycams.com/degreeing.php

It's exhaustive reading but it will teach you how to do it right.