Math

Free Linear Regression Calculator

Best-fit line (y = mx + b) through paired data.

  • Free Forever
  • No Registration Required
  • Instant Results
  • Downloadable Reports
  • Mobile Friendly

Inputs

Result

Regression line

y = 1.700x + 1.500

Predicted y at x = 6.0011.700
Slope1.7000
Intercept1.5000

Your result is ready.

Download your free detailed report — inputs, result, formula and explanation included.

Estimates only. Verify with a professional for consequential decisions.

  • Always Free
  • No Hidden Costs
  • No Account Required
  • Unlimited Calculations
  • Instant Reports

Short answer

Best-fit line (y = mx + b) through paired data.

What is the Linear Regression Calculator?

Best-fit line (y = mx + b) through paired data.

How does the Linear Regression Calculator work?

Enter the inputs above and read the result.

Formula

m = (nΣxy − ΣxΣy) ÷ (nΣx² − (Σx)²); b = (Σy − mΣx) ÷ n

Variables

  • mSlope
  • bIntercept

Explanation

Least-squares regression finds the line minimizing the sum of squared vertical distances to the data points.

Examples

Applications

    Advantages

      Limitations

        Common mistakes

          Tips

            Related concepts

            The Linear Regression Calculator sits inside the Math Calculators hub, in the statistics & probability cluster. Describing data and quantifying uncertainty. Understanding the terms below makes the output easier to interpret and easier to compare against neighbouring measures.

            distributiondispersionsignificancesamplepopulationexpected value

            Practical use cases and industry applications

            Understanding Linear Regression

            Best-fit line (y = mx + b) through paired data. Within math calculators, linear regression belongs to the statistics & probability cluster, where it shares terminology and assumptions with closely related tools.

            Learning how linear regression is calculated

            Least-squares regression finds the line minimizing the sum of squared vertical distances to the data points. Working through the variables one at a time — m, b — makes the result reproducible by hand and easier to sanity-check.

            Using linear regression to make a decision

            Because outputs depend on the assumptions you enter, run more than one scenario before committing to a figure.

            How linear regression compares with related measures

            distribution, dispersion, significance, sample all describe adjacent aspects of statistics & probability. Comparing this calculator's output against those measures — using the related tools listed on this page — prevents a single metric from being read in isolation.

            Frequently asked questions

            Related calculators

            More statistics & probability tools

            We value your privacy

            We use cookies to run the site, remember your preferences, and — with your permission — show relevant ads and measure traffic. See our Cookie Policy.