Magnetic deviation is the error induced in a
compass by
local magnetic fields, which must be allowed for, along with
magnetic declination, if accurate bearings are to be calculated. (More loosely, "magnetic deviation" is used by some to mean the same as "magnetic declination". This article is about the former meaning.)