$1 \textrm{mile} = 1.609344 \textrm{km}$
I know that using $1000000$ miles I can move the decimal point and get a full number of $1609344 $km.
But how can I find the smallest amount of full miles that is equal to full kilometers and do the same for other conversions?
$$1.609344=\frac{25146}{15625}$$
So $15625$ miles is exactly $25146$ kilometers, and these are the smallest natural numbers because the above fraction is reduced.