The consumption estimates that exist are all based on incorporation into calcium carbonate skeleton. If you're interested in seeing the math,
Jim Welsh does a good job explaining it here. To summarize in one sentence, the more calcification you have, the more consumption of Mg you will have. If you have almost no calcium and alkalinity consumption, you will have almost no magnesium consumption, and vice versa.
The consumption rate in a tank is about 1.2 ppm magnesium for every 2.8 dKh of alkalinity and 18 ppm calcium consumed. Or, in other words, about 0.43 ppm magnesium for every 1 dKh of alkalinity consumed daily. This assumes average rates of incorporation into a calcium carbonate skeleton. Organisms that use more magnesium, like coralline algae, will consume more, while abiotic precipitation might consume less.