A ratio is a mathematical expression that compares two quantities, showing how many times one value contains or is contained within the other. It is a fundamental concept in mathematics used to express relationships between numbers, often represented as fractions, decimals, or percentages.