calqulio.
◎ English · Global

Residual sum of squares — R Squared from Sums of Squares Calculator

R Squared from Sums of Squares: Calculate residual sum of squares from R squared percentage, Total sum of squares. Check the formula, input units and worked result on this page.

Enter your values

%
Formula symbol: r. Enter the percentage as a number: for 15%, enter 15. Allowed range: -1,000,000–100.
Formula symbol: sst. Enter a numeric value. Must be greater than zero.

Use a decimal point, without thousands separators.

SSE and SST need the same data and evaluation basis. Negative R squared is possible; it is shown as a percentage and is not always squared correlation.
Example result
Residual sum of squares
10

The initial result uses the example values. Enter your own values and calculate again.

Edit inputs

How it works

Residual sum of squares is compared with total sum of squares around the mean. This form solves for residual sum of squares; enter the known quantities in R squared percentage, Total sum of squares.

Inputs and units
Residual sum of squares — R Squared from Sums of Squares Calculator · Inputs and units
InputExample valueWhat to enter
R squared percentage75 %Formula symbol: r. Enter the percentage as a number: for 15%, enter 15. Allowed range: -1,000,000–100.
Total sum of squares40Formula symbol: sst. Enter a numeric value. Must be greater than zero.
sse = (sst * (1 - (r / 100)))

Worked example

Show example inputs and results

This example is generated by the same calculation engine using the starting values in the form. Your own inputs produce your own result.

R squared percentage
75 %
Total sum of squares
40

Complete example results

Residual sum of squares
10

Reading the result

The result solves for residual sum of squares from the entered quantities. Check the result unit and the formula conditions before using it.

Questions and answers

Can I use the example values for my own calculation?

The example values illustrate the calculation. Replace every input with your own information, especially dates, rates and the selected operation.

When can I use the residual sum of squares result?

SSE and SST need the same data and evaluation basis. Negative R squared is possible; it is shown as a percentage and is not always squared correlation.

Why are some results rounded?

Results display up to 8 decimal places. Calculations use the unrounded values; very small values use scientific notation. JavaScript floating-point arithmetic can introduce tiny rounding differences.

Are my inputs sent to a server?

The calculator processes inputs in your browser. Its code does not send your values to a server.

Method sources: itl.nist.gov

Methods & accuracy

What would you like to calculate?

Browse all calculators

Graphing calculator ↗