Technically for a formal letter, it's to be typed and double spaced or 1.5 spaced, with at the bottom saying Sincerely or whatever closing you'd like a comma, then two extra spaces, and your name typed below those spaces, you sign between sincerely and your typed name in pen, not pencil.