Category: FUNCTION | Updated: 2026-11-22

How to Use the VAR.P Function in Google Sheets | Recommended Function for Population Variance

Syntax

=VAR.P(value1, [value2, ...])
  • value1: The first value or range of the population.
  • value2, … (optional): Additional values or ranges to include in the population.

Example with a Table

Here is an example of calculating population variance from quiz scores (A2:A6) for all 5 students in a class (the entire population).

Cell A (Score) B (Metric) C (Formula) D (Result)
1 Score Metric Formula Result
2 70 Class Mean =AVERAGE(A2:A6) 80.0
3 80 Population Variance =VAR.P(A2:A6) 60.0
4 90
5 75
6 85

Common Errors and Notes

  • #DIV/0! Error: Occurs if the specified range contains no numeric values.
  • Text and booleans in the range: When specifying a cell range, text, TRUE/FALSE, and blank cells are ignored. To include text as 0 in the calculation, use the VARPA function.
  • Avoid using on sample data: Using VAR.P on sample data that is only a subset of the whole will produce a smaller variance than the true value; use VAR.S instead.

Frequently Asked Questions

Q. When does the VAR.P function return 0?

A. It returns 0 (zero spread) when all numbers in the range are identical, or when there is only one valid numeric data point.

Q. Should I use VAR.P or VARP?

A. They have the same functionality, but VAR.P is recommended because it clearly distinguishes itself from VAR.S (for samples).