calqulio.
◎ English · Global

R squared percentage — R Squared from Sums of Squares Calculator

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

Enter your values

Formula symbol: sse. Enter a numeric value. Use a non-negative value.
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
R squared percentage
75 %

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 r squared percentage; enter the known quantities in Residual sum of squares, Total sum of squares.

Inputs and units
R squared percentage — R Squared from Sums of Squares Calculator · Inputs and units
InputExample valueWhat to enter
Residual sum of squares10Formula symbol: sse. Enter a numeric value. Use a non-negative value.
Total sum of squares40Formula symbol: sst. Enter a numeric value. Must be greater than zero.
r = (100 * (1 - (sse / sst)))

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.

Residual sum of squares
10
Total sum of squares
40

Complete example results

R squared percentage
75 %

Reading the result

The result solves for r squared percentage 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 r squared percentage 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 ↗