Skip to content
ToolUlkaa Tool
All tools

Statistics

Statistics CalculatorRandom Number GeneratorStandard Deviation CalculatorZ-Score CalculatorProbability CalculatorPermutation and Combination CalculatorP-Value CalculatorT-Test CalculatorConfidence Interval CalculatorSample Size CalculatorChi-Square CalculatorCorrelation Coefficient CalculatorLinear Regression CalculatorANOVA CalculatorProbability Distribution Calculator

Categories

AcademicTextMathematicsStatisticsMachine LearningAIData ScienceFile
All tools
Statistics

Correlation Calculator

Pearson r and R squared for two paired lists.

Input type
6 value(s) read.
Variance and SD divide by
Quartile and percentile method

Inclusive: position (n − 1)p + 1, like Excel QUARTILE.INC, R type 7 and NumPy.

Descriptive statistics

Count (n)
6
Sum
108
Mean
18
Median
15.5
Mode
none
Min
4
Max
42
Range
38
Sample variance (s²)
182
Sample SD (s)
13.4907
Std. error of mean
5.5076
Q1
9.75
Q3
21.25
IQR
11.5
Skewness
1.2426
Excess kurtosis
1.7997

Outliers (1.5 × IQR rule)

Fences: -7.5 to 38.5. Outliers: 42.

Box plot

Box plot of your dataData: minimum 4, Q1 9.75, median 15.5, Q3 21.25, maximum 42, 1 outlier510152025303540Data

Five-number summary: min 4, Q1 9.75, median 15.5, Q3 21.25, max 42.

Histogram

Frequency table of the values
ValueFrequencyRelativeCumulativeCumulative %
410.1667116.67%
810.1667233.33%
1510.1667350%
1610.1667466.67%
2310.1667583.33%
4210.16676100%

z = (x − mean) / SD = (23 − 18) / 13.4907 = 0.3706

The 90th percentile is 32.5 (inclusive method, the same as the quartiles).

Confidence interval for the mean

mean ± t × s/√n = 18 ± 2.5706 × 5.5076 → 3.8423 to 32.1577 (t distribution, df = 5; uses the sample SD).

Pearson r = 0.9846, R² = 0.9695, line: y = 0.4769x − 0.0846 (n = 6 pairs).

Steps and formulas

  1. Mean: x̄ = (4 + 8 + 15 + 16 + 23 + 42) / 6 = 108 / 6 = 18
  2. Sum of squares: Σ(xᵢ − x̄)² = 910
  3. Sample variance: s² = Σ(xᵢ − x̄)² / (n − 1) = 910 / 5 = 182
  4. Sample standard deviation: s = √182 = 13.4907
  5. Range: max − min = 42 − 4 = 38
  6. IQR and outliers: Q3 − Q1 = 21.25 − 9.75 = 11.5; fences -7.5 and 38.5
  1. Tools
  2. Statistics
  3. Statistics Calculator
  4. Correlation Calculator

About Correlation Calculator

This correlation calculator measures the strength and direction of the straight-line relationship between two lists of numbers using the Pearson correlation coefficient. It is free, needs no sign-up and runs in your browser, so nothing you enter is uploaded.

Put your X values in the main data box and the matching Y values in the second box, in the same order. The pair at position 1 is the first X with the first Y, and so on. If the lists have different lengths, only the first n pairs, where n is the shorter length, are used. You need at least two pairs and neither list can be constant.

The result reads r = 0.7746, R² = 0.6. The value r runs from -1 (a perfect downhill line) through 0 (no straight-line relationship) to +1 (a perfect uphill line). R squared is r multiplied by itself and says what share of the variation in Y is accounted for by a straight line on X. The page reports r only, with no p-value or significance test, and correlation does not show that one variable causes the other.

How to use Correlation Calculator

  1. 1Paste or type your numbers in the data box. Commas, semicolons, spaces and line breaks all work as separators, and the line under the box tells you how many values were read.
  2. 2Choose Sample (n - 1) if your numbers are a sample of a larger group, or Population (n) if they are every value you care about.
  3. 3Pick the quartile method if you need to match a textbook, Excel or R. The quartiles, the IQR, the fences, the box plot and the percentile box all follow the same choice.
  4. 4For grouped data, switch Input type to Grouped data and enter one class per line, such as 10-20 5, meaning the class 10 to 20 with a frequency of 5.
  5. 5Read the result cards. The card for the page you opened is outlined, for example the standard deviation on the standard deviation page.
  6. 6For a z-score or percentile, type a value or a percentage in the matching box and read the line below it.
  7. 7For a confidence interval, pick 90%, 95% or 99%. For correlation and regression, paste a second list of the same length in the Y box.
  8. 8Open Steps and formulas at the bottom to see the calculation written out with your numbers.

Features

  • Count, sum, mean, median, mode (all tied values), minimum, maximum and range.
  • Sample or population variance and standard deviation with one switch, plus the standard error of the mean.
  • Quartiles by a method you choose (inclusive, exclusive or linear), the same method for the percentile box, the interquartile range, outlier fences and a list of flagged outliers.
  • Grouped data: class intervals with frequencies give the mean, variance, SD and the median by interpolation inside the median class.
  • A box plot with whiskers and outlier dots, and a frequency table with relative and cumulative columns.
  • A warning that lists every item that was left out because it is not a number.
  • Skewness and excess kurtosis, using the adjusted forms for a sample and the plain moment forms for a population.
  • z-score of any value against your data and any percentile by linear interpolation.
  • Confidence interval for the mean at 90%, 95% or 99%, using the t distribution with n - 1 degrees of freedom.
  • Pearson r, R squared, slope and intercept for paired X and Y lists.
  • A histogram with axis titles and a values table for screen readers, and a written-out working for the mean, variance, standard deviation, range and IQR.
  • Fifteen focused pages (standard deviation, variance, quartiles, five-number summary, grouped data, z-score and more) that open the same tool with the matching result outlined.

Pearson correlation formula

Covariance of X and Y divided by the product of their standard deviations, written out with sums of products:

r = Σ(x − x̄)(y − ȳ) / √( Σ(x − x̄)² × Σ(y − ȳ)² )

Worked examples

  • X 1, 2, 3, 4, 5; Y 2, 4, 5, 4, 5 → gives r 0.7746, R² 0.6 (n = 5 pairs)

    Here the sums are Σ(x − x̄)(y − ȳ) = 6, Σ(x − x̄)² = 10 and Σ(y − ȳ)² = 6, so r = 6 / √60.

  • X 4, 8, 15, 16, 23, 42; Y 2, 4, 5, 9, 11, 20 → gives r 0.9846, R² 0.9695 (n = 6 pairs)

Good to know

Entering your data

Separate values with commas, semicolons, spaces or line breaks and use a dot as the decimal mark. Text that is not a number is skipped, so check the "values parsed" count under the box matches what you pasted.

Privacy: how it works

  • Everything is calculated by JavaScript running in your own browser tab. Your numbers are not sent to Ulkaa or to any other server, and the page makes no network requests while you type.
  • There is no account and nothing is stored. Closing or reloading the tab clears what you entered.

Tips

  • If two sources give different standard deviations for the same data, check whether one divides by n and the other by n - 1 before assuming a mistake.
  • Compare the mean with the median. A mean far above the median usually means a few large values are pulling it up, and the outlier fences will often show them.
  • The confidence interval gets narrower with more data and wider with a higher confidence level. Try 90%, 95% and 99% on the same list to see how much.
  • Correlation only measures a straight-line relationship. Two lists can have an r near 0 and still be tightly related by a curve, so look at the histogram and your data before you rely on r.
  • Pair the X and Y lists by position. If they differ in length, only the first n pairs, where n is the shorter list, are used.

Frequently asked questions

Is it really free?

Yes. There is no price, no trial and no credit card. Ulkaa Tool does the work with your own device, so there is no server bill to pass on to you.

Do I need an account?

No. There is no sign-up and no login. Open the page and use it. An Ulkaa account is not needed for anything on this tool.

Does it run in my browser?

Yes. Your numbers are processed by code running in your browser tab, on your own device.

Is my data uploaded?

No. Your numbers are never sent to Ulkaa or to anyone else. You can check this yourself by watching the Network tab in your browser developer tools while you use the tool.

What is a good correlation coefficient?

It depends on the field. Roughly, values beyond 0.7 in size are strong, around 0.3 to 0.7 moderate and below 0.3 weak, but a physics experiment and a survey of people hold very different standards.

Does a correlation of 0 mean the variables are unrelated?

No. It means there is no straight-line relationship. A curve, such as a U shape, can give r near 0 even when the variables are tightly linked.

Does it calculate Spearman or Kendall correlation?

No. Only the Pearson coefficient is calculated.

More Statistics Calculator pages

  • Statistics CalculatorPaste a list of numbers and get the mean, median, mode, spread, quartiles, a z-score, a confidence interval and a regression line.
  • Standard Deviation CalculatorPaste your numbers and get the sample and population standard deviation with every step.
  • Mean, Median and Mode CalculatorMean, median, mode and range of any list, in one view.
  • Mean CalculatorThe average of a list of numbers, with the sum and count.
  • Median CalculatorThe middle value of a list, with the quartiles alongside.
  • Mode CalculatorThe most frequent value in a list, with ties handled.
  • Variance CalculatorSample or population variance, with the sum of squares.
  • Range CalculatorMinimum, maximum and range of a list of numbers.
  • Z-Score CalculatorHow many standard deviations a value is from the mean of your data.
  • Confidence Interval CalculatorA t-based confidence interval for the mean of your data.
  • Linear Regression CalculatorThe least-squares line y = mx + b for paired data.
  • Quartile and IQR CalculatorQ1, median, Q3, IQR and outlier fences for a list of numbers.
  • Interquartile Range (IQR) CalculatorThe IQR of your data, with Q1, Q3 and the outlier fences.

Ulkaa Apps

  • Ulkaa
  • Calendar
  • Task
  • Note
  • Disk
  • Call
  • Contact
  • Mail
  • Finance
  • Health
  • Office
  • Work
  • Workspace
  • Halum
  • Jaal
  • Islam
  • Game
  • Weather
  • Campus
  • News
  • Developer
  • Help
  • Account
About·Privacy·Terms·© 2026 Ulkaa

What is Ulkaa Tool?

Ulkaa Tool is a free collection of fast, privacy-friendly online tools from Ulkaa Network. Calculate your GPA and CGPA, edit rich text, count words and characters, replace text and more — all in your browser.

Every tool runs entirely in your browser — no sign-up, and your data never leaves your device.

Academic

  • GPA Calculator
  • CGPA Calculator
  • Citation Generator
  • Quiz Maker

Text

  • Rich Text Editor
  • Word Counter
  • Character Counter
  • Text Replacement

Ulkaa

  • Ulkaa
  • Ulkaa News
  • Ulkaa Campus
  • Ulkaa Tool
  • Ulkaa Game
  • Ulkaa Weather
  • Ulkaa Islam

Company

  • About Ulkaa
  • Careers
  • Support
  • Help
  • Privacy Policy
  • Terms of Service
  • Disclaimer
  • Sitemap

© 2015-26, Ulkaa. All rights reserved.
Facebook PageLinkedIn CompanyX (Twitter) ProfileInstagram ProfileGitHub Account
Table of values
Histogram of 6 values in 4 equal-width bins
LabelCount
4 to 13.52
13.5 to 232
23 to 32.51
32.5 to 421