Confidence intervals for a sample (Pearson) coefficient value

n (sample size):
The oserved correlation:
Confidence interval you want (usually 95%):
Decimal places you want for the answers:
This program runs within R ( R is a brilliant open source (i.e. free) statistics package derived from S and related to the equally excellent but not cheap commercial product S+ (

Brilliant though R is, it's a huge package and to run this, my webserver software has to launch R and both run on some fairly old hardware on the end of an ADSL link so it will take a minute or two come back to you with the answer.

Please also note that I accept no responsibility for this script's results. I have enormous faith in R and programming this was trivial but if anything major depends on this, then you need to pay for good statistical support locally.

If you do find an error or problems here tell me!
All access is logged for IP address, time/date and parameters entered so I can track any abuse of the server.

Licensing and copying
You can download script that runs this

You will need to understand a bit about R and have David Firth's CGIwithR package to make the script or a derivative of it work on your own server.

Like almost everything on this website this work is licensed under a Creative Commons License.

Creative Commons License