To calculate variance, subtract the planned value from the actual value. The formula is:
Variance = Actual Value - Planned Value
If the result is positive, it indicates a favorable variance, meaning performance was better than expected. A negative result indicates an unfavorable variance, meaning performance was worse than expected.