← All text tools

Linear regression calculator

Best-fit line, slope, intercept and R² from your data points, with a chart.

  • Free
  • No sign-up
  • Works on any device

About Linear regression calculator

Paste your x and y data points to get the least-squares line y = mx + b, with slope, intercept and R squared, plus a chart. R squared shows how much of the variation in y the line explains. Good for trends in sales, lab measurements or a quick forecast.

How to use Linear regression calculator

  1. Enter your numbers above.
  2. The result updates instantly as you type.
  3. Change any value to compare different cases.

Why use this tool?

Also known as

Frequently asked questions

What does R squared tell me?

It is the share of variation in y explained by the line, from 0 to 1. A value of 0.9 means the line explains about 90 percent. It does not prove cause.

Is Linear regression calculator free?

Yes. Linear regression calculator on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Related tools