Here's some more detail to some already good information. You can "brine" the resin bed at a rate of 15 lbs of salt per cubic foot of resin to maximize softening, or at 6 lbs of salt per cubic foot at minimum salt usage. The high-salt use will yield 30,000 grains of softening per cu. ft., the low-use will get 20,000. Unless the cost of your water is extremely high or you have difficulty getting rid of the waste, it's typical and more cost-effective to use the lower setting.
To make sure things are set properly you can either take the capacity in grains times .667 (Example: 210,000*.667=140,000ish) or the total cu. ft. times 20,000. Divide the softening capacity by the incoming hardness and you'll get the number of gallons it can effectively soften.
It's a little more involved in making sure you're not using too much salt. Most softeners refill the brine tank at a controlled rate and for a timed period. You will dissolve 3 lbs of salt per gallon of water, so the refill rate needs to be 2 gallons per cu.ft. or 30,000 grains of rated capacity.