Calculator
Choose a view, enter counters or points, then calculate. Fractions like 7/4 are supported.
Visualization
This drawing uses your min, max, and step.
Example Data Table
| Example | Input | What you can compute |
|---|---|---|
| Number line counters | -4, -1.5, 0, 2, 3.25 | Min, max, range, mean, median, pair distance |
| Grid points | (-2,3); (4,-1); (1,5) | Distance, midpoint, slope, area and perimeter |
| Translation | (dx,dy) = (2,-1), apply to all | New point locations after shifting |
Tip: Keep point order consistent if you want polygon area and perimeter.
Formulas Used
- Number line distance: d = |a − b|
- Range: range = max(x) − min(x)
- Mean: x̄ = (Σxᵢ) / n
- Median: middle value after sorting (or average of two middles)
- Grid distance: d = √((x₂−x₁)² + (y₂−y₁)²)
- Midpoint: M = ((x₁+x₂)/2, (y₁+y₂)/2)
- Slope: m = (y₂−y₁)/(x₂−x₁) (undefined if x₂=x₁)
- Translation: (x′,y′) = (x+dx, y+dy)
- Shoelace area: A = ½ |Σ(xᵢyᵢ₊₁ − xᵢ₊₁yᵢ)|
How to Use This Calculator
- Select Number Line or Coordinate Grid.
- Set minimum, maximum, and step for a readable scale.
- Enter counter positions or points using the shown format.
- Pick two indices to compute distance, midpoint, and slope.
- Add (dx,dy) to translate selected points on the grid.
- Turn on reflections if you need mirrored coordinates.
- Press Calculate to show results above the form.
- Use Download CSV or Download PDF.