Fiber is a carbohydrate that has 4 calories per gram, but fiber passes through your GI without being digested therefor the calories are not usable for energy.
Sugar alcohol only has about 2 usable calories per gram compared to sugar and complex carbs that have 4 calories per gram.