First we define an angle between boundary points with respect to a point p in X. For any two boundary points
in ∂X, take the two geodesic rays c1, c2 issuing from p corresponding to the two boundary points respectively. One can define an angle of the two rays at p called the Alexandrov angle. Intuitively, take the triangle with vertices p, c1(t), c2(t) for a small t, and construct a triangle in the flat plane with the same side lengths as this triangle (see comparison triangle). Consider the angle at the vertex of the flat triangle corresponding to p. The limit of this angle when t goes to zero is defined as the Alexandrov angle of the two rays at p. (By definition of a CAT(0) space, the angle monotonically decreases as t decreases, so the limit exists.) Now define
to be this angle.
To define the angular metric on the boundary ∂X that does not depend on the choice of p, take the supremum over all points in X
[2]
The Tits metric dT is the length metric associated to the angular metric, that is for any two boundary points, the Tits distance between them is the infimum of lengths of all the curves on the boundary that connect them measured in the angular metric. If there is no such curve with finite length, the Tits distance between the two points is infinite.[3]
The ideal boundary of X equipped with the Tits metric is called the Tits boundary, denoted as ∂TX.
For a complete CAT(0) space, it can be shown that its ideal boundary with the angular metric is a complete CAT(1) space,[4] and its Tits boundary is also a complete CAT(1) space. Thus for any two boundary points
such that
, we have

and the points can be joined by a unique geodesic segment on the boundary. If the space is proper, then any two boundary points at finite Tits distance apart can be joined by a geodesic segment on the boundary.[5]