Start with a square. This has all angles equal to π2 and all sides equal (let's say with length l). If you the square in half along one of the diagonals you will get two rectangle triangles with the catets equal to l and both acute angles equal to π4. The tan(π4) will be the opposite catet divided by the adjacent catet which is: