calc bill bg