The app calculates the snack serving for the desired amount of carbohydrates based on the products barcode.