Ratio Calculator
Simplify ratios and convert them into decimals and percentages.
Enter your values and click Calculate
How It Works
The calculator finds the Greatest Common Divisor (GCD) of A and B using the Euclidean algorithm — repeatedly replacing the larger number with the remainder of dividing the two until the remainder reaches zero. The GCD is the largest number that divides evenly into both A and B without leaving a remainder. Both A and B are then divided by the GCD to produce the simplified ratio in its lowest terms, meaning no further reduction is possible. For example, 10 and 25 share a GCD of 5, so the ratio simplifies from 10:25 to 2:5. The decimal representation is A ÷ B, and the percentage is that decimal multiplied by 100. When A equals B the result is always 1:1 and 100%. When A exceeds B the percentage is above 100%, which is valid and common in financial or growth-rate contexts. All three outputs are calculated simultaneously.