ToolJovia
Math

Barycentric Coordinate Calculator

Find exact-grid triangle weights and classify supplied points as inside, on the boundary or outside.

✓ Browser-local processing

Loading tool…

How to use Barycentric Coordinate Calculator

Signed triangle-area ratios give three affine weights whose exact sum is1. BigInt grid determinants classify signs and boundaries before weights are converted to approximate decimals; exact fractions are included in the download.

  1. Enter json triangle vertices, json query points.
  2. Choose the stated convention and check the units and supported model.
  3. Calculate, inspect the result, then copy or download it.

Good to know

  • Exactly3noncollinear triangle vertices and1–1000queries. Planar coordinates are parsed to a fixed6-decimal grid, magnitude at most1million; exact BigInt orientation/classification on that declared grid. No arbitrary precision beyond it, map projection or GIS/navigation certification.
  • Runs locally. Text/JSON fields are capped at30,000 characters; stricter page-specific and numeric-string limits also apply. Numeric inputs are bounded to magnitude1e15 and nonzero magnitude at least1e-100 unless an exact-string mode states otherwise. Approximate summaries use12 significant digits; CSV numeric cells retain the complete stored value and potentially formula-like string cells gain a protective apostrophe; unsupported, non-finite or detected underflow states return an error.

Common questions

Can negative weights be meaningful?

Yes. They indicate that the point lies outside the triangle’s closed convex region. A zero weight can indicate an edge or vertex.

Is the input uploaded or saved?

No. The tool calculates inside this browser tab and provides a local download; it does not persist your input.

Keep going with related tools

All math →