How the calculations run, why we picked the formulas we did, and how the AI explanations are produced. Updated November 8, 2026.
Most calculators on this site run in your browser. The calculator engine is a single JavaScript file (calculator-engine.js) that stays in your browser cache after the first page load, so results come back in milliseconds and the numbers you type are not sent anywhere.
A few calculators do not have a browser version yet. For those — and as a fallback when the browser version cannot handle an input — the values are sent to our server, calculated there and returned. They are stored only if you are signed in, as part of your calculation history.
The other exception is "AI Solve", which is a separate button. AI Solve does call our server, which then calls an upstream AI provider. We discuss that path further down.
For many geometry problems there are multiple correct formulas — but they differ in numerical behavior near edge cases. We pick the more stable variant even when it is longer. Three examples:
All calculations use IEEE 754 double-precision floating point (the standard JavaScript Number type, providing about 15-17 significant decimal digits). Where a result is sensitive to rounding — for example, the inverse trigonometric functions near ±1 — we clamp the input to the valid domain before evaluation. The helper gcAcos(x) evaluates Math.acos(Math.max(-1, Math.min(1, x))) so that a value of 1.0000000001 produced by accumulated floating-point error returns 0° rather than NaN.
Results are shown to up to 6 decimal places (4 for the few calculations done on our server), but the underlying calculation retains full double precision. We do not truncate intermediate values during the calculation chain.
The calculator engine carries an automated suite of textbook test cases (21 at the moment), run after changes to the engine. Sample entries include:
Each case has a tolerance (typically 0.001) that the implementation must meet. We also open every calculator page in a real browser, in several languages, enter a sample problem and check that a correct result appears.
The "AI Solve" button is a separate code path from the calculator. When you click it, the inputs you typed (or the photo you uploaded) are sent, along with a system prompt that asks for a textbook-style step-by-step explanation, to a large language model from one of the AI providers we use.
Providers currently in use: DeepSeek, OpenAI. If one is unavailable, the request automatically moves to the next one.
Which provider and model answer is set by us and may change as better models become available; this list always reflects the current setup.
On calculator pages, the numeric answer above the AI explanation is always the output of our calculator engine — it is not generated by the AI. The AI's job is to explain that number, not to recompute it. If the AI's text appears to reach a different number, trust the calculator. See our Editorial Policy for our corrections process.
Geometry Calculator covers two-dimensional and three-dimensional Euclidean geometry, plane analytic geometry, and standard trigonometry. We do not currently support:
Some advanced calculators on the site touch the boundary of these areas (for example, parametric curves on the coordinate plane). For production work, cross-check those results against a computer algebra system such as Mathematica or SymPy.