calc bandwidth