The correct formula that is possible to memorize is for the upper half plane in $\mathbb C.$ The unit speed geodesics there are of just two kinds, parametrized by a letter $t,$ with real constant $B > 0$ and any $A,$ vertical
$$ A + i e^t,$$ semicircular
$$ A + B \tanh t + i B \; \mbox{sech} \; t.$$
The latter may seem unfamiliar, note
$$ \cosh^2 t - \sinh^2 t = 1, $$
$$ \cosh^2 t = \sinh^2 t + 1, $$ divide through by $\cosh^2 t$ to get
$$ 1 = \tanh^2 t + \mbox{sech}^2 t. $$
Two points in the upper half plane are either in a vertical line or not. In the latter case, it is necessary to draw the perpendicular bisector of the ordinary segment between them and find out where that hits the real axis to find $A,$ then $B$ next.
Meanwhile, an isometry taking the unit disk to the upper half plane is the Moebius transformation
$$ f(z) = \frac{z + i}{i z + 1} .$$ The points you gave were along the imaginary axis, and for real $v$
$$ f(iv) = i \; \left( \frac{1+v}{1-v} \right). $$ Your three specific points gave
$$ f(0) = i, \; f(i/2) = 3 i, \; f(3i/4) = 7i. $$
These are all along the vertical geodesic $i e^t,$ so their pairwise distances are just the absolute values of the differences in the necessary values of $t,$ those being $0, \; \log 3, \; \log 7. $
So your $$ d(A,B) = \log 3 \approx 1.0986, $$
$$ d(B,C) = \log 7 - \log 3 \approx 0.8473, $$
$$ d(A,C) = \log 7 \approx 1.9459. $$
Furthermore, rotation of the unit disk is an isometry there, so as long as you have points along a radius of the disk, the distances to the origin (and to each other by subtraction) are quite specific: if a point in the unit disk is at "ordinary" distance $v$ from the origin, with the required $0 \leq v < 1,$ then the ``hyperbolic'' distance from the origin is
$$ \log \left( \frac{1+v}{1-v} \right). $$ However, if your two points of interest are not along a radius, you must either find a Moebius transformation of the disk to itself that takes them to a common radius (there are such) or map directly to $\mathbb C$ with my $f(z)$ and work with $\tanh t.$ This latter method is probably less work, and less likely to produce errors, than the former method.