Rate is closer to a constant pattern , example: I'm walking at a rate of 2 miles an hour.
Ratio is related to the proportion of two or more objects, example: The ratio for a perfect tang juice is 1 packet of tang dust thingy for 1.5 liters of water.
Hope it helps :)