Rate conversion formula