Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=VAR.S(A2:B2)Computed by a real spreadsheet engine on the sample data below.
| Number1 | Number2 |
| 5 | 10 |
| 15 | 20 |
| 25 | 30 |
=VAR.S(A2:B2)→12.5
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
VAR.S calculates sample variance, assuming your data represents a sample of a larger population. VAR.P calculates population variance, assuming your data represents the entire population.
Yes, you can include more numbers in the range, e.g., A2:A10, to calculate the variance for a larger dataset.
Text and error values will cause the formula to return an error. Ensure your range contains only numerical data.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: