Extracted method to calculate basic amount for given unit.