A ratio is a quotient or proportion of two numbers, magnitudes or algebraic expressions. It is often used as a measure of the relative size of two objects. For example the ratio of the length of a side of a square to the length of a diagonal is that is, .