Yes, SOPs should be written in a formal tone. However, it is important to maintain a balance between professionalism and personal narrative. Your SOP must be engaging while reflecting your individuality and passion for computer science.