Checking spread after adding a fixed offset to every value
Adding one constant to every value in a list changes where the list sits and nothing about how spread out it is. This worksheet checks that with two short lists a hundred apart.
Location and spread are separate properties
The mean, median and other location summaries tell you where a list sits on the number line. Variance, standard deviation and range tell you how far its values lie from each other. Adding a fixed amount to every value slides the whole list along the line without changing any gap between neighbors. Location summaries move by exactly that amount. Spread summaries stay put. The mean of 1, 2, 3 is 2 and the mean of 101, 102, 103 is 102, which is the same shift of 100, while the distances between neighbors remain 1. This is the reason a thermometer reading converted from Celsius to kelvin keeps the same variability, and why a test-score curve that adds 5 points to everyone leaves the standard deviation untouched.
Variance of 1, 2, 3 and 101, 102, 103
The first list has a mean of 2 and deviations of -1, 0 and 1. The sum of squared deviations is 2, and sample variance divides by n - 1 = 2, giving 1. The second list, 101, 102, 103, has a mean of 102 and deviations of -1, 0 and 1 again. The squared deviations sum to 2 and the sample variance is 1 again. The means differ by 100, but every deviation is measured from its own list's mean, so the offset cancels at the first subtraction. The calculator's sample mode returns 1 for both.
Range checks the extremes
Range is the maximum minus the minimum. For 1, 2, 3 it is 3 - 1 = 2. For 101, 102, 103 it is 103 - 101 = 2. The maximum and minimum both rose by 100, and the subtraction removes that common amount. Range uses only two values from the list, so it can agree with variance in this example while behaving very differently on other data. A single extreme point changes range completely, while variance spreads its effect through the squared deviations. Checking both on a shifted list confirms that the entire list moved together. The Range Calculator takes the list as written, with no sorting needed from you.
A shift in only one row is a different operation
The unchanged spread depends on every value moving by the same amount. If you add 100 to the last value only, turning 1, 2, 3 into 1, 2, 103, the range jumps to 102 and the sample variance becomes about 3,434, far from 1. That makes the property a useful audit. After a spreadsheet operation that was meant to add a constant to a whole column, the variance and range before and after should match. A mismatch points to a formula that was filled into only part of the column, or to a stray value that was typed over. With 1, 2, 103 the sample variance is about 3,434, so even one row off by 100 is easy to spot.
Scaling behaves differently from shifting
Multiplying every value by a constant does change spread. Take 10, 20, 30, which is 1, 2, 3 multiplied by 10. The range becomes 20, ten times larger, and the sample variance becomes 100, a hundred times larger, because deviations are squared. Standard deviation scales by 10. Unit conversions that mix both operations show both effects: Celsius to Fahrenheit multiplies by 9/5 and adds 32, so the shift leaves spread alone while the factor multiplies standard deviation by 1.8 and variance by 3.24. Recognizing which part is shifting and which is scaling tells you what to expect. A list of Celsius values with sample variance 4 has Fahrenheit variance 4 × 3.24 = 12.96, and adding the 32 changes nothing further. Meters converted to centimeters scale variance by 10,000.
Why large offsets still matter for software
In exact arithmetic the offset has no effect on variance. In floating-point arithmetic, a naive formula that computes the mean of the squares minus the square of the mean can lose digits when the offset is huge compared with the spread, because it subtracts two nearly equal large numbers. The stable approaches, a two-pass calculation that subtracts the mean first or Welford's running update, avoid that. The variance calculator on this site uses a stable method, so a list like 1,000,001, 1,000,002, 1,000,003 should still return 1 in sample mode. The worksheet lists use small offsets, so rounding is not a concern here, but the same property is why a stable algorithm matters for timestamps, large IDs or financial totals stored with many leading digits.
Using the property as a spreadsheet control
To verify that a column of dates, readings or prices was shifted by a constant, calculate the variance and range of the original and of the shifted column. Equal values support the claim that nothing but a uniform offset was applied. The check cannot prove the offset itself was correct, since adding the wrong constant to every row also preserves spread. Compare the means or the first value to confirm the size of the shift. Used together, these two comparisons confirm both the amount and the uniformity of the change.
What the example does not justify
Equal variance after an offset is a statement about arithmetic, and it says nothing about whether adding the constant was appropriate for the data. Shifting measurements to correct a known instrument bias can be reasonable, but shifting source records to make a series look comparable can hide real differences. Keep the original values and document the constant that was added. A column name such as reading_adjusted, with the offset written in a notes cell, lets a later reader undo the change. The worksheet also uses tiny lists chosen for hand verification, so it does not show how spread behaves in noisy real data sets.
Offsets in everyday units
Many ordinary conversions are offsets. Converting Celsius readings to kelvin adds 273.15, so the variance of a series of temperatures is the same in both scales, and a range of 18 to 24 degrees Celsius spans 6 degrees in either. Clock times expressed as minutes after midnight and then re-expressed as minutes after 9:00 differ by a constant offset, so the spread of arrival times is identical. A fixed handling fee added to every invoice shifts the average invoice but leaves the variation between invoices alone. These are illustrations of the same arithmetic property rather than extra worked results from the calculators. The reverse case also appears in practice: subtracting a baseline reading from every measurement, as in a before-and-after weight change from a starting weight, moves the mean to a change from baseline and keeps the standard deviation of the series untouched.
Reproduce the checks
Original sample variance
Open the Variance Calculator and enter:
- Numbers
1,2,3- Calculation mode
sample
Expected output:
Variance
1The deviation pattern is centered on two.
Shifted sample variance
Open the Variance Calculator and enter:
- Numbers
101,102,103- Calculation mode
sample
Expected output:
Variance
1The same deviation pattern is centered on one hundred two.
Shifted range
Open the Range Calculator and enter:
- Numbers
101,102,103
Expected output:
Range
2The distance between extrema is unchanged.
References and implementation scope
The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.
Sources
- Primary definition and convention reference ↗ · 2026-10-08