Contact

VARP Function in Apple Numbers: Population Variance and Standard Deviation

Statistical Intermediate Apple Numbers

Calculate true population variance in Apple Numbers with source-checked class data and clear sample-vs-population guidance.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: =VARP(B2:B5) returns approximately 5 for the complete numeric fixture below. It calculates population variance. Variance uses squared measurement units; the related standard deviation restores the original unit.

Availability and version history

  • Introduced: Original release and introduction date are not established by the checked references.
  • Availability: Currently documented in Apple’s Functions Help 15.4 documentation edition; no final supported-version endpoint is established.
  • Scope: Shared iWork reference. Function-specific historical availability across Mac, iPad, iPhone and iCloud is unverified.
  • Checked: October 14, 2026, against the official VARP reference. Independent exact/high-precision statistical calculations; no native Numbers test.

Syntax, types and denominator

=VARP(value, value…)

Supply a first value or collection, with optional additional compatible values or collections. The ellipsis describes repetition; do not type it into a formula. Apple requires at least two included values, even for its population functions, and says all values must have the same type. The documented types here are numbers or date/time values.

The companion standard-deviation entry explicitly includes durations; this variance entry does not. Treat that omission as an evidence limit, rather than proof of a native rejection or support by analogy. All worked inputs below are ordinary numbers.

For those numbers, population variance divides the sum of squared deviations from their mean by n. That variance is the result returned by VARP. VAR uses the other denominator. Choose according to whether the observations constitute the whole population of interest or a sample from it, not according to which answer looks preferable.

Preserve the original numeric worksheet

Create a Numbers table named ShiftSummary, with ten columns A:J and twelve rows, including one header row. Put Trial in A1 and Measurement in B1. Enter:

Row A: Trial B: Measurement
2 1 2
3 2 4
4 3 6
5 4 8

In D2 enter =VARP(B2:B5); expect approximately 5. Put =AVERAGE(B2:B5) in D3 for 5, and =COUNT(B2:B5) in D4 for 4. Keep measurement units in a heading or label rather than appending text to the numeric values.

In C2 enter =(B2-$D$3)^2 and fill through C5. The squared deviations are 9, 1, 1, 9, totaling 20. Enter =SUM(C2:C5) in D5 for that total.

Cell Formula Expected result
D6 =D5/(D4) 5
D7 =SQRT(D6) 2.23606797749979

This exposes the mean, count, deviations and denominator separately. The helper count is appropriate for this fully numeric fixture; do not assume it resolves the inclusion policy of every mixed-type dataset. Calculations should keep their unrounded results even when the display shows fewer decimal places.

Original numeric controls

Use F2:F8 in ShiftSummary:

Cell Formula Expected result
F2 =VARP(2,4,6,8) 5
F3 =VARP(B2:B5) 5
F4 =VAR(B2:B5) 6.666666666666667
F5 =STDEVP(B2:B5) 2.23606797749979
F6 =VARP(5,5,5,5) 0
F7 =VARP(4,8,12,16) 20
F8 =VARP(102,104,106,108) 5

Doubling all observations multiplies variance by four. Adding one hundred to every observation leaves deviations from their new mean unchanged. A zero variance means these included values are identical; it does not prove that a dataset is complete or representative.

Advanced: include the separation between groups

Create PopulationGroups, with six columns and seven rows. Enter 2,4,6,8 in A2:A5. Treat 2,4 as the first complete group and 6,8 as the second.

Cell Formula Expected result
C2 =AVERAGE(A2:A3) 3
C3 =AVERAGE(A4:A5) 7
C4 =AVERAGE(A2:A5) 5
D2 =VARP(A2:A3) 1
D3 =VARP(A4:A5) 1
D4 =VARP(A2:A5) 5
F2 =(D2+D3)/2 1
F3 =(2*D2+2*D3+2*(C2-C4)^2+2*(C3-C4)^2)/4 5

F2 averages within-group variances and misses the separation of the group means. F3 includes both contributions: 4 units of within-group squared deviations and 16 from the two means’ separation, giving 20/4 = 5 overall.

The group sizes of two are valid for these explicitly populated numeric ranges. If real group sizes differ, use their actual included counts rather than keeping equal weights by habit.

Reproduce Apple’s complete five-test grid

Create ClassScores, with ten columns A:J and nine rows, including a header row. Put Test A through Test E in A1:E1. Enter only these numbers in A2:E6; row numbers below are worksheet labels, not another data column.

Row A B C D E
2 75 82 90 78 84
3 100 90 95 88 90
4 40 80 78 90 85
5 80 35 95 98 92
6 90 98 75 97 88

Apple’s original numeric grid starts at row 1. This table shifts it down one row to retain headings, and every formula below uses the shifted range.

Result cell Formula Expected result Square-root standard deviation
G2 =VARP(A2:A6) 416 20.39607805437114
G3 =VARP(B2:B6) 481.6 21.94538675895232
G4 =VARP(C2:C6) 72.24 8.499411744350311
G5 =VARP(D2:D6) 52.16 7.222188034107115
G6 =VARP(E2:E6) 8.96 2.993325909419153

To reproduce the final column in cells H2:H6, enter =STDEVP(A2:A6) in H2, then the corresponding B2:B6, C2:C6, D2:D6 and E2:E6 formulas in H3:H6. Keep these as five explicit column selections rather than filling a relative range vertically.

Test B has the greatest dispersion and Test E the least. Apple frames this as a complete five-student class. The results do not establish teaching quality, fairness or whether the observations represent a wider population.

One eligible value is outside Apple’s documented minimum. The page does not give an exact displayed error token for that case. Do not assume a population function accepts one observation because another spreadsheet product does.

Numeric-looking text, errors and mixed-type ranges need their own checks. This guide does not extend the clean numeric fixtures to every coercion case. A visible number format alone is not proof that an imported cell holds a number. Selecting a header, a subtotal or the result itself also changes the dataset or can create a circular reference.

These formulas operate within the named table. For another table, use the formula editor to construct a qualified reference such as ShiftSummary::B2:B5, following Apple’s reference guide. Formula arguments use English commas here; Apple’s function overview specifies semicolons when decimal-comma settings apply. The colon in a range stays a colon.

AVERAGE calculates the mean, COUNT checks a numeric fixture’s count and SQRT connects variance with standard deviation. STDEVP supplies the companion statistic. Identical mathematical purposes across products do not establish matching type, error, locale or export behavior.