Calculate bits per character