Do-It-Yourself Magnesium Supplements for the Reef Aquarium by Randy Holmes-Farley - Reefkeeping.com
3. Using both Epsom salts and MAG flake, dissolve 7¼ cups MAG flake and ¾ cup Epsom salts in one gallon of water, and use that to supplement magnesium in amounts determined using this linked online calculator, with the entry "Randy's Recipes 1 and 2 Versions A and B," and ignore for this purpose what those designations mean. This recipe is preferred, but its advantage over recipe #2 is minimal in most cases.
Note also that this recipe (#3) is different from that given in my DIY two-part recipe, because in that case more magnesium sulfate is necessary to offset the rise in chloride that is provided by both the calcium chloride and the magnesium chloride.