How to use it
- Enter the points, one pair per line.
- Add a title and axis labels.
- Turn the trend line on if you want it, then download.
How it works
Each axis is rounded outward to a step of 1, 2 or 5 times a power of ten. The best-fit line is y = a·x + b with a = Sxy / Sxx and b = mean y − a · mean x. R² = Sxy² / (Sxx · Syy).
Worked example
For (1,2), (2,4), (3,5), (4,4), (5,5): mean x = 3, mean y = 4, Sxy = 6, Sxx = 10, Syy = 6. The slope is 0.6, the intercept 2.2 and R² = 36 / 60 = 0.6.