overal ratio calculation