FormulaCraft

VAR

VAR calculates the sample variance (n-1 denominator) of a range, ignoring text and logical values. Variance quantifies the average squared deviation from the mean and is the foundation of many statistical tests. It equals STDEV squared.

Excel
=VAR(B2:B5)
Google Sheets
=VAR(B2:B5)

Verified example

Computed by a real spreadsheet engine on the sample data below.

MonthExpense
Jan3100
Feb4200
Mar2800
Apr3900

=VAR(B2:B5)433333.333333333

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

How it works

  1. 1Reference your sample range: =VAR(B2:B5).
  2. 2VAR uses n-1 (Bessel's correction) for an unbiased sample estimate.
  3. 3The result is in squared units; take SQRT() to get standard deviation, or use STDEV directly.

Need a version for your data?

Try: “Calculate the variance of monthly expenses to understand spending volatility

Related

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: