Is there an easy way to do a proportion

The way I do it is fractions

If A is to B as C is to D, then

A/B = C/D

thanks i figured it oout though but thanks for the help