Variance is something different (the mean squared deviation).
You would divide by the actual number (assuming you want to ascertain how accurate the estimate of the actual number by the expected number was). And the absolute value would have to be taken
after subtracting the fraction from 1, not before.
expected 30, actual 90 is a 66.6% deviation from the actual number. abs(30/90-1)=two thirds
expected 100, actual 20 is a 400% deviation from the actual number. abs(100/20-1)=4
abs(expected/actual -1) = abs((expected-actual)/actual)
Check this out:
https://en.wikipedia.org/wiki/Mean_absolute_percentage_error