What is a spherical triangle sector?
A spherical triangle sector is the piece of a solid ball of radius r cut out by three planes through the centre: it is bounded by an isosceles spherical triangle on the surface (two legs of length b and a base of length a, all arcs of great circles) and by three flat circular sectors joining the edges of that triangle to the centre.
This calculator finds the volume, the area of the spherical triangle, the total surface, the surface-to-volume ratio, the apex and base angles and the spherical excess.
How to use it
Choose what you know in What do you know?: the ball radius r with the base a and the leg b (arc lengths), or r with the leg b and the apex angle α between the two legs. The base and apex angle together are not offered, because they do not fix the leg: two different triangles can share them. The values you enter are shown back unchanged and every other measure is solved from them. The length unit is a label only: lengths are shown in that unit, areas in its square and volumes in its cube. The page shows results rounded to at most 6 decimal places and writes very large and very small values out in full.
Derivation of the formulas
Put the apex of the triangle at the north pole. The legs end at the two points at angle \(\hat b = b/r\) from the pole, \(\alpha\) apart in longitude. The perpendicular from the apex halves the triangle into two right triangles, and Napier's rule gives
$$\sin\frac{\hat a}{2} = \sin\hat b\,\sin\frac{\alpha}{2}$$so the base follows from the leg and the apex angle, or the apex angle from the base and the leg. The spherical excess \(E = \alpha + 2\beta - \pi\), with \(\beta\) a base angle, can be written without subtracting nearly equal numbers:
$$\tan\frac{E}{2} = \frac{\sin\alpha\,\sin^2(\hat b/2)}{1 - 2\sin^2(\alpha/2)\sin^2(\hat b/2)}$$The triangle has area \(r^2 E\) (Girard). The sector is the cone of all points between the centre and that triangle, so its volume is the solid angle E times \(r^3/3\):
$$V = \frac{r^3 E}{3}$$Its three flat faces are circular sectors of radius r with arcs a, b and b, so the total surface is
$$S = r^2 E + \frac{r(a + 2b)}{2}$$Worked example
The default is a ball of radius r = 10 with a triangle of base a = 6 and legs b = 8. The apex angle is about 48.65572°, the excess about 13.68863°, the volume about 79.637224 cubic units and the total surface about 133.891167 square units.
FAQ
What is the spherical excess here?
It is the amount by which the three angles of the spherical triangle exceed 180°. In radians it is also the solid angle of the sector seen from the centre.
Why must the base be shorter than twice the leg?
Otherwise the two legs cannot meet at an apex: a base equal to twice the leg gives a flat, empty triangle.
Does the unit change the numbers?
No. Geometry does not depend on the unit, so the unit only labels the results.
How accurate are the results?
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.
Accuracy and input range
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.
Enter each length from 0.000001 to 1,000,000,000 and each angle from 0.000001 to 179.999999 degrees. Anything outside is refused with a message naming the range.
References
I. Todhunter, Spherical Trigonometry, 5th ed., Macmillan, 1886
D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulae, 33rd ed., 2018