fixed ratio calculation