Walter Rudin, *Principles of mathematical analysis* is one of the classic textbooks of mathematics. He presents the theory of calculus in perfect, crystalline clarity. Not a quick and easy read, more for deep brain rectification. Chapter 2 on metric spaces alone will change your whole view of mathematics.