VAR.P in Google Sheets: Population Variance and Squared Units
Use VAR.P in Google Sheets with three worked numeric examples, CSV practice data, interpretation checks, and software-specific documentation notes.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Availability and version history
- Introduced: Introduction version not established by the official history reviewed.
- Availability: Documented in the rolling Google Sheets service; examples use the web spreadsheet workflow.
- Name relationship: Google’s catalogue lists VAR.P as an alias/reference to VARP; the linked help may use that canonical name.
- Checked: October 14, 2026; official VAR.P reference. Documentation check, not a new native test; existing example-verification notes retain their scope.
Quick answer
Use VAR.P in Google Sheets to calculate the variance of a complete population, dividing the sum of squared deviations by n. The working example below describes support resolution times; its result is measured in squared minutes. The official reference supports the function’s identity and purpose.
This guide separates documentation review from application testing. The expected numbers are independently calculated, not screenshots or results captured from Google Sheets.
Syntax and arguments
VAR.P(value1, [value2, ...])
Numeric inputs: individual numbers or cell ranges holding the observations. One range can contain many observations; a header is not a measurement.
Additional inputs: optional extra numeric values or ranges. Omit the square brackets shown in the syntax notation when entering a formula. The primary numeric examples avoid relying on text or logical-value conversion; separately documented type boundaries are explained below.
When this calculation is useful
Use population variance to describe the spread of every observation in a specifically defined population. It gives equal weight to each included numeric observation. A row containing a subtotal is not interchangeable with a row containing an individual observation; mixing those two levels changes the question.
Variance is in squared units. It becomes one hundred times larger when every observation is multiplied by ten, even though the underlying pattern is unchanged. This makes it useful in calculations but easy to mislabel in a dashboard. Use a matching standard deviation measure when readers need a spread expressed in the original units.
Set up the practice data
A shared support log with one row per resolved ticket provides the scenario. Enter the following numeric observations into A2:A8, one per row, with a header in A1. Use a spare result cell outside the input range.
| Cell | Minutes |
|---|---|
| A2 | 8 |
| A3 | 12 |
| A4 | 10 |
| A5 | 9 |
| A6 | 12 |
| A7 | 15 |
| A8 | 7 |
Download the Google Sheets VAR.P practice data (CSV). Import it into a new, blank sheet starting at A1, with a comma as the file delimiter and the header row retained. The CSV contains input values only, not formulas or native test results. Blank spacer columns place the requested position in D2 and any additional test data in column F. Keep observations numeric rather than importing them as text.
Three worked examples
Example 1: Measure spread in the working register
=VAR.P(A2:A8)
Expected result: 6.530612 (displayed to six decimal places).
The numeric count is 7, the mean is 10.428571, and the sum of squared deviations is 45.714286. Divide by 7 (n); the result is a variance in squared measurement units.
Example 2: Check the denominator with three known numbers
=VAR.P(2,4,6)
Expected result: 2.666667 (displayed to six decimal places).
The mean is 4 and the squared deviations are 4, 0 and 4, for a total of 8. The population denominator is 3. Keep the fractional result during later calculations rather than rounding the input values.
Example 3: Check squared units when values are rescaled
For this check, use F2:F5 containing 0, 0, 80, 80, in that order. These values are included in the practice file.
=VAR.P(F2:F5)
Expected result: 1600.
These four observations have mean 40 and squared deviations totalling 6400. They are ten times the numbers 0, 0, 8, 8, so their variance is one hundred times as large. Both zeros still count as observations.
Advanced example: keep the squared-unit conversion explicit
For numeric measurements 2,4,6, population variance is 8/3. If those are minutes and you convert each value to seconds, the inputs become 120,240,360:
=VAR.P(120,240,360)
=SQRT(VAR.P(120,240,360))
Expected results are 9600 seconds squared and approximately 97.979590 seconds. The variance multiplier is 60 squared, or 3600; the standard-deviation multiplier is only 60.
Adding a fixed offset is different. =VAR.P(102,104,106) still gives 8/3, approximately 2.666667, because the deviations from the new mean are unchanged.
Advanced example: repeated records and population weights
=VAR.P(0,0,8,8)
=VAR.P(0,0,8,8,0,0,8,8)
=VAR.P(0,0,8,8,8)
Expected results are 16, 16 and 15.36. Duplicating the entire population doubles both the squared-deviation sum and the count, leaving variance unchanged. Adding just one more 8 changes the population weights: the new mean is 4.8 and the squared-deviation total is 76.8, divided by five.
This is why the count of distinct values is not the variance denominator. All three lists contain only two distinct values, but they have four, eight and five observations respectively.
Advanced example: recover a sample comparison on identical data
For the seven original observations in A2:A8:
=VAR.P(A2:A8)*COUNT(A2:A8)/(COUNT(A2:A8)-1)
Expected result: 160/21, approximately 7.619048, matching VAR.S on the same numeric log. The population variance is 320/49 and the multiplier is 7/6.
This identity requires the same included observations and at least two of them. It cannot repair an incorrect range, a unit mismatch or an unrepresentative sample.
Google-specific minimum and text notes
Google’s dedicated VARP page documents #DIV/0! when fewer than two values are supplied. Thus =VAR.P(5) has a documentation-based error expectation in this Sheets guide; the mathematical singleton population variance alone is not evidence of the application’s return value.
=VAR.P(5,5) instead has expected result 0. A complete constant population and an insufficient input are different reporting conditions.
The source says text-containing value arguments are ignored and points to VARPA when text should be treated as zero. It does not provide a complete placement/type matrix. This guide does not certify numeric-text conversion, logical values, formula-empty strings or error-containing references. Review pasted inputs rather than assuming the neighboring STDEVP page uses identical text wording.
The reference also says Sheets supports more than the nominal 30 arguments. That establishes the documented syntax scope, not a native stress-test result or an assurance that every large expression is practical.
Check the mathematics and interpretation
Subtract the mean from each observation and square each difference. Add the squared differences and divide by n. Do not take a square root when reporting variance; its units remain squared. This mathematical definition is used to check the numbers in the examples, independently of the spreadsheet software. Keep stored results at full available precision and round only the final presentation when a report requires it. The displayed expectations above are rounded where necessary; a different number of displayed decimal places is not by itself a calculation error.
Common mistakes and troubleshooting
The output is labelled with ordinary units. A variance of 16 from data in minutes is 16 minutes squared. Its square root, 4, is the population standard deviation in minutes.
The result changes after rescaling the data. That is expected: multiplying each input by a factor multiplies variance by the square of that factor. Merely changing display formatting, without changing stored values, is a different operation.
The range includes summary rows or missing-value replacements. A subtotal introduces an extra observation, and replacing an unknown value with zero invents a measurement. Define the inclusion rule and inspect the data before relying on the resulting variance.
Google Sheets notes and compatibility
Google lists VAR.P as an alias of VARP in its function catalogue; the dedicated help page uses the older name. The dotted spelling is used in the examples so the name matches the Excel comparison guide.
The support-log example uses ordinary worksheet cells, not a BigQuery data column. Some Google help pages also show Connected Sheets syntax; that is not the syntax being demonstrated here. A ticket’s duration is entered as a number of minutes, not as a time-of-day text label.
For a shared log, agree on whether reopened tickets form new observations and whether each row represents one ticket or one agent action. Keep that decision consistent before comparing reporting periods. When collaborators paste data, inspect a small sample of numeric cells and confirm the selected range still ends at the intended row.
The examples use English function names and commas. Adjust the argument separator to the file’s locale as needed, while keeping decimal values and cell references intact. No import/export or native Google Sheets execution was performed for this guide.
For the same statistical question in other programs, see VAR.P in Microsoft Excel, VAR.P in ONLYOFFICE, VAR.P in SoftMaker PlanMaker. These links identify corresponding measures, not a guarantee that names, mixed-data rules, error codes or file conversions are identical.
Related functions and evidence
MEDIAN, LARGE, SMALL, RANK.EQ, STDEV.S, STDEV.P, VAR.S. Browse the Google Sheets function library for the other published guides.
Editorial verification: Complete article and dedicated Google reference reviewed on October 14, 2026. All three original numeric examples, added arithmetic and rank models, original CSV inputs and related links were checked independently. Exact approved availability/history text is retained. Documentation-based errors are distinguished from observed results. No native Google Sheets execution, maximum-size benchmark or round-trip workbook certification was performed. Input types and errors not explicitly established by the cited function source remain held.