The Magnetic Content Formula