GI & GL calculator