A softener must hold every grain of hardness your household produces between regenerations - which means the size is set by usage times hardness times interval, plus a safety reserve.
Water Softener Sizing Calculator turns household water use, hardness and iron into a grain capacity and a matching standard softener size.