Spherical law of cosines calculator
The Spherical law of cosines calculator computes spherical law of cosines from the relation cos c = cos a cos b + sin a sin b cos C. It takes 3 inputs (side a in deg, side b in deg, angle c in deg) and returns the side c in deg. Because this is a pure mathematical or physical formula rather than a jurisdiction-specific rule, the result never changes over time: the same inputs always produce the same answer, so you can rely on it whether you are checking homework, sizing a design, or sanity-checking another tool. Enter your values in the fields below and the result updates instantly; you can also share a permalink that pre-fills the exact calculation, which is useful for teaching, reports, or collaboration. For example, with side a = 0 deg, side b = 50 deg, angle c = 90 deg, the side c works out to 50 deg, and the worked example further down the page shows every step so you can follow the arithmetic and reproduce it by hand. The method is the standard form documented by NIST DLMF (trigonometric functions), and the figure above each result carries the date it was last verified. This tool is general information and is not a substitute for professional engineering, medical, financial, or scientific advice; always check critical results against the primary source and your own judgement.
With Side a = 0 deg, Side b = 50 deg, Angle C = 90 deg, the result is 50 deg.
Applies to: any numeric inputs. Method source: NIST DLMF (trigonometric functions), checked 2026-06-22.
The formula
cos c = cos a cos b + sin a sin b cos C
Worked example
With Side a = 0 deg, Side b = 50 deg, Angle C = 90 deg:
- cos c = cos a cos b + sin a sin b cos C
- Side c = 50 deg
This worked example is one of the automated golden-value tests this calculator must pass before it can publish.
What this assumes
- Inputs are real numbers in the units shown.
- The result is the exact value of cos c = cos a cos b + sin a sin b cos C; general information, not professional advice.
Frequently asked questions
What formula does this use?
cos c = cos a cos b + sin a sin b cos C, the standard form documented by NIST DLMF (trigonometric functions).
Does the result ever change over time?
No. This is a pure formula with no external rate, so the same inputs always give the same result.
Official sources and verification
- Method: NIST DLMF (trigonometric functions), checked 2026-06-22.
Reviewed by the CalculatorHub team, edited by James Graham, 2026-06-22. See our methodology. General information, not professional advice.